From: G.W. Haywood on
Hi there,

Installed the latest stable Samba (3.5.1) from the source tarball on a
fresh, minimal Debian Lenny server. It took me three days to figure
out why the Samba daemon wouldn't run. The crux of it is this:

======================================================================
[2010/03/17 15:11:17.973219, 0] lib/fault.c:46(fault_report)
===============================================================
[2010/03/17 15:11:17.973255, 0] lib/fault.c:47(fault_report)
INTERNAL ERROR: Signal 6 in pid 5078 (3.5.1)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2010/03/17 15:11:17.973273, 0] lib/fault.c:49(fault_report)

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2010/03/17 15:11:17.973288, 0] lib/fault.c:50(fault_report)
===============================================================
[2010/03/17 15:11:17.973299, 0] lib/util.c:1465(smb_panic)
PANIC (pid 5078): internal error
[2010/03/17 15:11:17.975323, 0] lib/util.c:1569(log_stack_trace)
BACKTRACE: 17 stack frames:
#0 smbd(log_stack_trace+0x2d) [0xb7a8f441]
#1 smbd(smb_panic+0x78) [0xb7a8f58e]
#2 smbd [0xb7a7e9a8]
#3 [0xb7710400]
#4 /lib/libc.so.6(abort+0x188) [0xb7457d78]
#5 /usr/lib/libtalloc.so.1(talloc_free+0x22d) [0xb735151d]
#6 /usr/lib/libwbclient.so.0(wbcSidToString+0xf3) [0xb756d899]
#7 /usr/lib/libwbclient.so.0(wbcSidToGid+0x6f) [0xb756cebd]
#8 smbd(winbind_sid_to_gid+0x39) [0xb7a61c6d]
#9 smbd(sid_to_gid+0x12b) [0xb7a3f965]
#10 smbd(create_local_nt_token+0x31f) [0xb7ae945b]
#11 smbd(get_root_nt_token+0x15a) [0xb7ae9a37]
#12 smbd(svcctl_init_keys+0x2e) [0xb799e9c7]
#13 smbd(registry_init_full+0x85) [0xb7dd92f5]
#14 smbd(main+0xa8c) [0xb7e09259]
#15 /lib/libc.so.6(__libc_start_main+0xe5) [0xb7442455]
#16 smbd [0xb77dd051]
[2010/03/17 15:11:17.975395, 0] lib/util.c:1470(smb_panic)
smb_panic(): calling panic action [/usr/share/samba/panic-action 5078]
sh: /usr/share/samba/panic-action: No such file or directory
[2010/03/17 15:11:17.976256, 0] lib/util.c:1478(smb_panic)
smb_panic(): action returned status 127
[2010/03/17 15:11:17.976289, 0] lib/fault.c:326(dump_core)
dumping core in /usr/local/samba/var/cores/smbd
======================================================================

Although I built Samba from source and it has its own version of
libwbclient, it decided to use the Debian-supplied version. This
doesn't work with smbd for reasons that I haven't investigated.

As soon as I removed the offending libwbclient and set up the library
search path for the Samba-supplied libraries:

prompt # > echo "/usr/local/samba/lib" >>/etc/ld.so.conf.d/samba.conf
prompt # > ldconfig

the daemon started up fine.

Hoping that this might help anyone else in the same boat.

Shouldn't Samba simply use its own version by default?

--

73,
Ged.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba