View previous topic :: View next topic |
Author |
Message |
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Fri Sep 05, 2003 5:54 am Post subject: Samba doesn't start |
|
|
so, I run /etc/init.d/samba start, and it says gives me the ok.
However, a parsing of ps shows that only nmbd, not smbd, is running - and /etc/init.d/samba stop (predictably) complains that it can't find the processes to shut them down.
Log files show this:
(start):
Code: |
Sep 4 22:51:58 [smbd] [2003/09/04 22:51:58, 0] param/loadparm.c:service_ok(2225)
Sep 4 22:51:58 [smbd] WARNING: [printers] service MUST be printable!
Sep 4 22:51:58 [smbd] [2003/09/04 22:51:58, 0] smbd/server.c:main(835)
Sep 4 22:51:58 [smbd] standard input is not a socket, assuming -D option
Sep 4 22:51:58 [smbd] [2003/09/04 22:51:58, 0] lib/util_sock.c:open_socket_in(804)
Sep 4 22:51:58 [smbd] bind failed on port 139 socket_addr = 0.0.0.0.
Sep 4 22:51:58 [smbd] Error = Address already in use
Sep 4 22:51:58 [nmbd] [2003/09/04 22:51:58, 0] nmbd/nmbd.c:main(827)
Sep 4 22:51:58 [nmbd] standard input is not a socket, assuming -D option
orthanc root #
|
And stop:
Code: |
orthanc root # /etc/init.d/samba stop
* Stopping samba...
start-stop-daemon: warning: failed to kill 31358: No such process [ !! |
Any ideas? It looks like that "bind failed" is at fault, but I have no idea how to go about troubleshooting this - I've already re-emerged samba, and I didn't make any config file changes (to samba, anyway) when this started.
Thanks!
~Mac~ |
|
Back to top |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Fri Sep 05, 2003 7:44 am Post subject: |
|
|
u can edit the script in /etc/init.d and comment out the '&> /dev/null' and '--quiet' parts - this will make the output of the script verbose and u can see whats happening... _________________ To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. |
|
Back to top |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Fri Sep 05, 2003 5:25 pm Post subject: |
|
|
That didn't help much - it told me that /var/run/samba/smbd.pid is getting set, but that samba then dies immediately.
I'm still hooked on this, from /var/log/everything/current:
Sep 5 10:24:30 [smbd] bind failed on port 139 socket_addr = 0.0.0.0.
Sep 5 10:24:30 [smbd] Error = Address already in use |
|
Back to top |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Fri Sep 05, 2003 5:41 pm Post subject: |
|
|
Fixed!
This error actually meant exactly what it said - vmware's internal samba server had bound itself to the wrong address - I turned it off, and everything is peachy.
~Mac~ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|