[Samba] smbd doesn't start anymore
gaiseric.vandal at gmail.com
Tue Sep 23 08:02:40 MDT 2014
Maybe some TDB file got corrupted? Does "pdbedit -Lv" show user
names? Under /var/samba/locks are various TDB files. Anything in
any of the log files?
On 09/23/14 09:36, Bruno MACADRÉ wrote:
> No system reboot, crash or update at all
> My server runs on ubuntu server 14.04 x64 without SELinux enabled.
> This server has run many days without problem and the main smbd
> process disappear without any explication today (during lunch time....)
> Here my smb.conf :
> netbios name = filzen
> workgroup = SAMDOM
> security = ADS
> realm = SAMDOM.FR
> encrypt passwords = yes
> log level = 9
> log file = /var/log/samba/log.%M
> idmap config *:backend = tdb
> idmap config *:range = 70000-80000
> idmap config SAMDOM:backend = ad
> idmap config SAMDOM:schema = rfc2307
> idmap config SAMDOM:range = 10000-60000
> winbind nss info = rfc2307
> winbind trusted domains only = no
> winbind use default domain = yes
> winbind enum users = yes
> winbind enum groups = yes
> interfaces = lo bond0
> bind interfaces only = yes
> # Tunning
> strict locking = No
> strict sync = No
> sync always = No
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
> SO_RCVBUF=8192 SO_SNDBUF=8192
> lanman auth = No
> lm announce = No
> ea support = No
> kernel oplocks = yes
> read raw = yes
> write raw = yes
> max xmit = 65535
> dead time = 15
> getwd cache = yes
> invalid users = root morpheus
> case sensitive = yes
> registry shares = Yes
> I hope it would be usefull
> Le 23/09/2014 15:08, Gaiseric Vandal a écrit :
>> Was this after any system reboot, system crash, system update?
>> What OS? If this is linux, is SELinux enabled?
>> On 09/23/14 09:03, Bruno MACADRÉ wrote:
>>> I've a really big problem with my SAMBA 4.1.11 production
>>> server.... it doesn't want to start smbd anymore.... nmbd starts
>>> fine but not smbd.
>>> I've tried to start smbd in interactive mode to see what's
>>> happened :
>>> # /srv/progs/samba4/sbin/smbd -i -d9
>>> produce a lot of lines about configuration (all fine), some last
>>> lines are :
>>> added interface lo ip=::1 bcast=
>>> added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
>>> added interface bond0 ip=10.130.162.20 bcast=10.130.162.255
>>> loaded services
>>> Netbios name list:-
>>> fcntl_lock 9 6 0 1 1
>>> fcntl_lock: Lock call successful
>>> Attempting to register passdb backend smbpasswd
>>> Successfully added passdb backend 'smbpasswd'
>>> Attempting to register passdb backend tdbsam
>>> Successfully added passdb backend 'tdbsam'
>>> Attempting to register passdb backend wbc_sam
>>> Successfully added passdb backend 'wbc_sam'
>>> Attempting to register passdb backend ldapsam
>>> Successfully added passdb backend 'ldapsam'
>>> Attempting to register passdb backend NDS_ldapsam
>>> Successfully added passdb backend 'NDS_ldapsam'
>>> Attempting to register passdb backend IPA_ldapsam
>>> Successfully added passdb backend 'IPA_ldapsam'
>>> Attempting to find a passdb backend to match tdbsam (tdbsam)
>>> Found pdb backend tdbsam
>>> pdb backend tdbsam has a valid init
>>> check lock order 1 for
>>> release lock order 1 for
>>> 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....
>>> Is there a way to get more informations about why my smbd doesn't
>>> work at all magically ?
More information about the samba