[Samba] nmbd-daemon fails on startup without error

Stefan esslsn at studi.informatik.uni-stuttgart.de
Thu Mar 5 08:49:41 GMT 2009


Hi guys,

I got a weird problem over here and couldn't find any solution in several days
searching.
If I switch my server on (Debian 5.0), the machine boots successfully, samba
logs tell me

  [2009/03/05 09:13:30,  0] smbd/server.c:main(1213)
  smbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008

and

  [2009/03/05 09:13:30,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008

So far ok. But no clients can connect to any share. Next step was to check the
deamons:

  ps aux | grep smbd
  root      2946  0.0  0.0  12536  2632 ?  Ss   09:13   0:00 /usr/sbin/smbd -D
  root      3020  0.0  0.0  12536  1016 ?  S    09:13   0:00 /usr/sbin/smbd -D

Everything ok over here.

  ps aux | grep nmbd
  root      3104  0.0  0.0   3140   768 pts/0    S<+  09:41   0:00 grep nmbd

Nothing ok over here. Also if I restart Samba manually, I get the following:

  /etc/init.d/samba restart
  Stopping Samba daemons: nmbdstart-stop-daemon: warning: failed to kill 2934:
  No such process
  smbd.
  Starting Samba daemons: nmbd smbd.

After that, things are no problem anymore. Services work as they should and all
clients can access the shares as they should.

I already tried pushing Samba further back in the sequence of things started
while booting, but no difference...

I don't know where to continue anymore, since the logfiles show no errors at all
I could start off with. So I'm pretty much hoping for your help with this
issue...



More information about the samba mailing list