Bugzilla – Bug 106751
smbd would not start
Last modified: 2005-09-13 09:24:56 UTC
~ # tail -n50 /var/log/messages Aug 23 16:04:10 gibooi xinetd[8431]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in. Aug 23 16:04:10 gibooi xinetd[8431]: Started working: 1 available service Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] printing/nt_printing.c:upgrade_to_version_4(438) Aug 23 16:04:47 gibooi smbd[8583]: upgrade_to_version_4: upgrading printer security descriptors Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] lib/fault.c:fault_report(36) Aug 23 16:04:47 gibooi smbd[8583]: =============================================================== Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] lib/fault.c:fault_report(37) Aug 23 16:04:47 gibooi smbd[8583]: INTERNAL ERROR: Signal 11 in pid 8583 (3.0.20rc2-2-SUSE) Aug 23 16:04:47 gibooi smbd[8583]: Please read the appendix Bugs of the Samba HOWTO collection Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] lib/fault.c:fault_report(39) Aug 23 16:04:47 gibooi smbd[8583]: =============================================================== Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] lib/util.c:smb_panic2(1548) Aug 23 16:04:47 gibooi smbd[8583]: PANIC: internal error Aug 23 16:04:47 gibooi smbd[8583]: [2005/08/23 16:04:47, 0] lib/util.c:smb_panic2(1556) Aug 23 16:04:47 gibooi smbd[8583]: BACKTRACE: 10 stack frames: Aug 23 16:04:47 gibooi smbd[8583]: #0 /usr/sbin/smbd(smb_panic2+0x6d) [0x555555725c9d] Aug 23 16:04:47 gibooi smbd[8583]: #1 /usr/sbin/smbd [0x555555713382] Aug 23 16:04:47 gibooi smbd[8583]: #2 /lib64/tls/libc.so.6 [0x2aaaac101450] Aug 23 16:04:47 gibooi smbd[8583]: #3 /lib64/tls/libc.so.6(__libc_free+0x25) [0x2aaaac13cdc5] Aug 23 16:04:47 gibooi smbd[8583]: #4 /usr/sbin/smbd(tdb_traverse+0xe0) [0x55555573ae00] Aug 23 16:04:47 gibooi smbd[8583]: #5 /usr/sbin/smbd(nt_printing_init+0x75c) [0x555555751fdc] Aug 23 16:04:47 gibooi smbd[8583]: #6 /usr/sbin/smbd(print_backend_init+0x11a) [0x555555741b4a] Aug 23 16:04:47 gibooi smbd[8583]: #7 /usr/sbin/smbd(main+0x377) [0x5555557a57e7] Aug 23 16:04:47 gibooi smbd[8583]: #8 /lib64/tls/libc.so.6 (__libc_start_main+0xda) [0x2aaaac0ef55a] Aug 23 16:04:47 gibooi smbd[8583]: #9 /usr/sbin/smbd [0x5555555a916a] Aug 23 16:04:47 gibooi smbd[8583]: Aug 23 16:05:52 gibooi su: (to root) luli on /dev/pts/3 gibooi:~ #
please report bugs for openSUSE against SUSE 10.0 and take a look at: http:// www.opensuse.org/index.php/Submit_a_bug befor report a bug
Could you please provide some more information about your environment? Did you run an update or did you installed a fresh system? If it was an update: Which Samba version did you run before?
Israel, please answer the question in comment #2 - otherwise we close this bugreport as INVALID.
The environment is the following: amd64 3000 + 512 m/b ram. Started it's life as a suse 9.0 and upgraded to 9.2 and now to 10.0 beta 4. It also had apt4suse on it during all this time. untile 10.0 samba had worked flawlessly. This is the last log entry I see without error message: [2005/08/16 09:12:17, 0] smbd/server.c:main(798) smbd version 3.0.14a-4.1-SUSE started. Copyright Andrew Tridgell and the Samba Team 1992-2004 Since then it's all errors. I upgradded today and errors continue: [2005/09/04 01:20:55, 0] smbd/server.c:main(802) smbd version 3.0.20-3-SUSE started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2005/09/04 01:20:55, 1] param/loadparm.c:lp_do_parameter(3283) WARNING: The "printer admin" option is deprecated [2005/09/04 01:20:55, 0] printing/nt_printing.c:upgrade_to_version_4(438) upgrade_to_version_4: upgrading printer security descriptors [2005/09/04 01:20:55, 0] lib/fault.c:fault_report(36) =============================================================== [2005/09/04 01:20:55, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 8358 (3.0.20-3-SUSE) Please read the appendix Bugs of the Samba HOWTO collection [2005/09/04 01:20:55, 0] lib/fault.c:fault_report(39) =============================================================== [2005/09/04 01:20:55, 0] lib/util.c:smb_panic2(1548) PANIC: internal error [2005/09/04 01:20:55, 0] lib/util.c:smb_panic2(1556) BACKTRACE: 10 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x6d) [0x55555572605d] #1 /usr/sbin/smbd [0x5555557135f2] #2 /lib64/tls/libc.so.6 [0x2aaaac101450] #3 /lib64/tls/libc.so.6(__libc_free+0x25) [0x2aaaac13cdc5] #4 /usr/sbin/smbd(tdb_traverse+0xe0) [0x55555573b1b0] #5 /usr/sbin/smbd(nt_printing_init+0x75c) [0x5555557523bc] #6 /usr/sbin/smbd(print_backend_init+0x11a) [0x555555741efa] #7 /usr/sbin/smbd(main+0x377) [0x5555557a5be7] #8 /lib64/tls/libc.so.6(__libc_start_main+0xda) [0x2aaaac0ef55a] #9 /usr/sbin/smbd [0x5555555a916a]
Günther: Doesn't this look familiar?
This looks like a corrupted printing tdb to me. Can you try deleing the print queue tdb's and restart please. Jeremy.
Lars: yes, this looks exactly like the problem we are seeing with 3.0.20 on sles9 sp1 x86_64 (havent checked sp2 yet).
I think I found it, it's a 64bit bug. (Tested on sles9 x64_64 sp1 where we first have seen this). Patch attached. Everyone involved please test, you can make sure to drop down the security descriptor upgrade path when copying the attached empty ntdrivers.tdb (version 3) to /var/lib/samba/ntdrivers.tdb and then starting smbd -i -d 10.
Created attachment 49407 [details] 64bit fix
Created attachment 49408 [details] ntdrivers version 3 (which will trigger the security descriptor upgrade process). before testing, please backup /var/lib/samba/ntprinters.tdb (for repeated testing)
just verified on 9.3 x86_64 (which had the same bug with samba 3.0.20) that the fix is correct.
Created attachment 49467 [details] smbd log. I have saved in another nams, and then deleted ntdrivers.tdb. then I run smbd -i -d 10 which have'nt produced any error. Then I run /etc/init.d/networt restart - and samba works! I see my shares on other computers. Thank you very much! Israel
Package submitted for RC3, closing.