Prev: [Samba] Installation problem
Next: [Samba] Specific GID
From: Stephan Stachurski on 4 Jun 2010 16:10 I'm not an expert in samba, I just joined the mailing list, but if I recall about ubuntu correctly, the package manage will report some errors if files fail to install correctly, for example /etc/samba/smb.conf. You might have better luck asking asking on ubuntu forums, since it sounds like a failure of aptitude, which is basically unrelated to samba. On Fri, Jun 4, 2010 at 3:44 PM, Miha Krajnc <miha.krajnc.mb(a)gmail.com>wrote: > Hey guys, > i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba) > and it didnt create any config files. There is no /etc/samba or > /usr/local/samba. I dont realy know what to do.... The samba server fails > to > start and i cant connect to the machine over my network. Anyone know what i > should do? I tried purging / reinstalling (apt-get and aptitude), with no > success. > > -- > Lep pozdrav, Miha Krajnc. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- Stephan E Stachurski ses1984(a)gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gary Dale on 4 Jun 2010 17:50 On 04/06/10 03:44 PM, Miha Krajnc wrote: > Hey guys, > i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba) > and it didnt create any config files. There is no /etc/samba or > /usr/local/samba. I dont realy know what to do.... The samba server fails to > start and i cant connect to the machine over my network. Anyone know what i > should do? I tried purging / reinstalling (apt-get and aptitude), with no > success. > > Are you using Ubuntu server or desktop? What messages do you get when you do "aptitude install samba" (after purging it, of course)? What happens if you do "/etc/init.d/samba start"? Also, have you tried installing SWAT? I find it very useful for configuring servers. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Alex Perez on 5 Jun 2010 02:10 You can check wahat files are included in the deb package with sudo dpkg -l samba maybe the config is in /etc/smb.conf or so. 2010/6/4 Gary Dale <garydale(a)rogers.com> > On 04/06/10 03:44 PM, Miha Krajnc wrote: > >> Hey guys, >> i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba) >> and it didnt create any config files. There is no /etc/samba or >> /usr/local/samba. I dont realy know what to do.... The samba server fails >> to >> start and i cant connect to the machine over my network. Anyone know what >> i >> should do? I tried purging / reinstalling (apt-get and aptitude), with no >> success. >> >> >> > Are you using Ubuntu server or desktop? > > What messages do you get when you do "aptitude install samba" (after > purging it, of course)? > > What happens if you do "/etc/init.d/samba start"? > > Also, have you tried installing SWAT? I find it very useful for configuring > servers. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- 3rd Law of Computing: Anything that can go wrSegmentation fault -- core dumped. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Miha Krajnc on 5 Jun 2010 05:30 I am using Ubuntu server. Here is what i get when installing samba with sudo aptitude install samba: LINK <http://stef.si/samba.txt> Also, if i do /etc/init.d/samba start, it puts out "sudo: /etc/init.d/samba: command not found". No i have not installed swat yet, i first want to get just the samba part working. And dpkg -l samba puts this out: --------------------- sudo dpkg -l samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================== ii samba 2:3.4.7~dfsg-1ubunt SMB/CIFS file, print, and login server for Unix -------------------- Any other ideas? I tried everything i know and i dont know what to do anymore... 2010/6/5 Alex Perez <quimicefa(a)gmail.com> > You can check wahat files are included in the deb package with > > sudo dpkg -l samba > > maybe the config is in /etc/smb.conf or so. > > 2010/6/4 Gary Dale <garydale(a)rogers.com> > > > On 04/06/10 03:44 PM, Miha Krajnc wrote: > > > >> Hey guys, > >> i installed samba on my Ubuntu 10.04 machine (sudo apt-get install > samba) > >> and it didnt create any config files. There is no /etc/samba or > >> /usr/local/samba. I dont realy know what to do.... The samba server > fails > >> to > >> start and i cant connect to the machine over my network. Anyone know > what > >> i > >> should do? I tried purging / reinstalling (apt-get and aptitude), with > no > >> success. > >> > >> > >> > > Are you using Ubuntu server or desktop? > > > > What messages do you get when you do "aptitude install samba" (after > > purging it, of course)? > > > > What happens if you do "/etc/init.d/samba start"? > > > > Also, have you tried installing SWAT? I find it very useful for > configuring > > servers. > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > > > -- > 3rd Law of Computing: > Anything that can go wrSegmentation fault -- core dumped. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- Lep pozdrav, Miha Krajnc. 2010/6/4 Miha Krajnc <miha.krajnc.mb(a)gmail.com> > Hey guys, > i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba) > and it didnt create any config files. There is no /etc/samba or > /usr/local/samba. I dont realy know what to do.... The samba server fails to > start and i cant connect to the machine over my network. Anyone know what i > should do? I tried purging / reinstalling (apt-get and aptitude), with no > success. > > -- > Lep pozdrav, Miha Krajnc. > -- Lep pozdrav, Miha Krajnc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: David Harrison on 5 Jun 2010 07:50
On Sat, Jun 5, 2010 at 9:21 PM, Miha Krajnc <miha.krajnc.mb(a)gmail.com>wrote: > I am using Ubuntu server. Here is what i get when installing samba with > sudo > aptitude install samba: LINK <http://stef.si/samba.txt> Also, if i do > /etc/init.d/samba start, it puts out "sudo: /etc/init.d/samba: command not > found". No i have not installed swat yet, i first want to get just the > samba > part working. And dpkg -l samba puts this out... > > Any other ideas? I tried everything i know and i dont know what to do > anymore... > > The command you want is dpkg -L samba You may have stumbled on this bug/feature: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/312449 I would run the following commands to clear everything out and start again: sudo apt-get --purge remove samba-common sudo apt-get install samba Once complete go to the /etc/samba and check the relevant config file exists. I've just tested all of this now and it works, so it shouldn't be an Ubuntu 10.04 packaging problem. David -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |