[Samba] smbd doesn't start anymore

Marc Muehlfeld mmuehlfeld at samba.org
Tue Sep 23 11:04:57 MDT 2014

Am 23.09.2014 um 16:42 schrieb Bruno MACADRÉ:
> Thanks for your answer Rowland but when I read again smb.conf man
> (https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SOCKETOPTIONS)
> I don't see any line mentionning that socket options mustn't be used.....

Don't rely on a website showing a manpage, where you don't know for
which Samba version it was written. I'm not sure, for which version this
one is, but it's not for 4.1.11. :-)

Better use
  $ man smb.conf

This is the content of 4.1.11:

socket options (G)

   Modern server operating systems are tuned for high network
   performance in the majority of situations; when you set socket
   options you are overriding those settings. Linux in particular has
   an auto-tuning mechanism for buffer sizes that will be disabled if
   you specify a socket buffer size. This can potentially cripple your
   TCP/IP stack.

   Getting the socket options correct can make a big difference to your
   performance, but getting them wrong can degrade it by just as much.
   As with any other low level setting, if you must make changes to it,
   make small changes and test the effect before making any large

I skipped the rest of the parameter description. :-)

> check lock order 1 for /srv/progs/samba4/var/lock
> /smbXsrv_version_global.tdb
> release lock order 1 for /srv/progs/samba4/var/lock
> /smbXsrv_version_global.tdb
> After this last line, it stop writing anything and wait
> indefinitely...... but there's no listenning socket opened so the
> daemon never listen and never be used....

If you are sure, that no SElinux, AppArmor or anything else disturbs
here, can you remove the content of /srv/progs/samba4/var/lock/ (backup
first!) and retry?


More information about the samba mailing list