Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba doesn't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Fri Sep 05, 2003 5:54 am    Post subject: Samba doesn't start Reply with quote

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
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Fri Sep 05, 2003 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Fri Sep 05, 2003 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Fri Sep 05, 2003 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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