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.
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 at 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 at gmail.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.
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 at 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.
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 at 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 at 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 at 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.
That somewhat worked David. I did it according to your instructions and now there is a /etc/samba dir with smb.conf. But /etc/init.d/samba still does not exist. /etc/init.d/smbd does how ever and when i try to start it it tells me that i should start with "start smbd" or "service start smbd" and when i do that it says: "start: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory". Any more ideas? And thanks for the help! 2010/6/4 Miha Krajnc <miha.krajnc.mb at 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.
Hmm, i installed dbus, and i could than start /stop smbd but still i couldnt conenct to it. THan i remembered i had a simmilar problem once, and i resolved it by installing the "samba4" package. I tried the same thing now, and i can connect to the server. But starting samba4 gives out these errors: * Starting Samba 4 daemon samba Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "passdb backend" Ignoring unknown parameter "passdb backend" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" [ OK ] Anyone know what this means? 2010/6/4 Miha Krajnc <miha.krajnc.mb at 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.
On 5 June 2010 18:30, Miha Krajnc <miha.krajnc.mb at gmail.com> wrote:> Hmm, i installed dbus, and i could than start /stop smbd but still i couldnt > conenct to it. THan i remembered i had a simmilar problem once, and i > resolved it by installing the "samba4" package. I tried the same thing now, > and i can connect to the server. But starting samba4 gives out these errors: > > ?* Starting Samba 4 daemon sambaThe Ubuntu samba4 package is still experimental. You should not install it unless you know what you are doing. The description for the Ubuntu samba4 package on 10.04 contains this paragraph: These packages contain snapshot versions of Samba 4, the next-generation version of Samba. These should be considered _experimental_, and should not be used in production. In particular, no guarantees are made with regard to upgrades between versions. -- Michael Wood <esiotrot at gmail.com>