Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm seeing an error when trying to start smbd:

# smbd -i
smbd version 3.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
INTERNAL ERROR: Signal 6 in pid 3082 (3.2.5)
Please read the Trouble-Shooting section of the Samba3-HOWTO

PANIC (pid 3082): internal error
BACKTRACE: 18 stack frames:
 #0 smbd(log_stack_trace+0x1c) [0x5ae5cd]
 #1 smbd(smb_panic+0x5b) [0x5ae6db]
 #2 smbd() [0x59b1e4]
 #3 /lib/ [0x7fb6c8bacf60]
 #4 /lib/ [0x7fb6c714f175]
 #5 /lib/ [0x7fb6c7151f80]
 #6 /usr/lib/ [0x7fb6c604f070]
 #7 /usr/lib/ [0x7fb6c605079c]
 #8 /usr/lib/ [0x7fb6c74825c6]
 #9 smbd(winbind_sid_to_gid+0x5f) [0x588735]
 #10 smbd(sid_to_gid+0xd4) [0x569918]
 #11 smbd(create_local_nt_token+0x212) [0x5eec64]
 #12 smbd(get_root_nt_token+0x116) [0x5ef191]
 #13 smbd(svcctl_init_keys+0x20) [0x4f8fa4]
 #14 smbd(registry_init_full+0xf1) [0x74f2e1]
 #15 smbd(main+0xa0e) [0x470243]
 #16 /lib/ [0x7fb6c713bc4d]
 #17 smbd() [0x46ee09]
dumping core in /var/log/samba/cores/smbd
Aborted (core dumped)

When I run it from /etc/init.d/samba start I also see the above error in the /var/log/samba/log.smbd log file.

I'm using Debian Lenny (latest upgraded version). The error seemed to come from nowhere, I've been using the same setup for years now, and today samba won't start (even after rebooting). I can't think what I might have changed to cause this.

I've read the howto section as advised, but this provides only basic troubleshooting steps, nothing for an error quite as severe as this.

share|improve this question
up vote 1 down vote accepted

You need matching versions of libwbclient0 and samba, according to this thread on the samba list. The dependency on the Debian package is not tight enough; that's the cause of bug #593823.

(Found by googling "smbd" "winbind_sid_to_gid": since reinstalling didn't help, a library problem was next on the list of things to check.)

share|improve this answer
Ah, yes they're slightly different -- samba: 2:3.2.5-4lenny13 / libwbclient0: 3.4.2-1 – nbolton Sep 20 '10 at 19:43
Fixed by running: apt-get install libwbclient0=2:3.2.5-4lenny13 – nbolton Sep 20 '10 at 19:59

Have you configured Samba with LDAP ?

If yes maybe this thread could be useful :

share|improve this answer
Hmm, nope, just normal Samba auth (security = user and encrypt passwords = yes). – nbolton Sep 19 '10 at 20:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.