Hi Random crashes. It looks as if it's cups, but we aren't printing, nor have it configured. [global] workgroup = ALTEA realm = ALTEA.SITE security = ADS kerberos method = secrets and keytab netbios name = SMBCLUSTER #disable netbios = Yes clustering = Yes ctdbd socket = /usr/local/var/run/ctdb/ctdbd.socket [users] path = /cluster/users read only = No [profiles] path = /cluster/profiles read only = No [shared] path = /cluster/shared force create mode = 0770 read only = No Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.598241, 0] ../source3/lib/util.c:477(reinit_after_fork) Aug 15 13:54:56 uc2 smbd[5565]: messaging_reinit() failed: NT_STATUS_INTERNAL_DB_ERROR Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.606816, 0] ../source3/printing/print_cups.c:479(cups_pcap_load_async) Aug 15 13:54:56 uc2 smbd[5565]: cups_pcap_load_async: reinit_after_fork() failed Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.642889, 0] ../source3/lib/util.c:785(smb_panic_s3) Aug 15 13:54:56 uc2 smbd[5565]: PANIC (pid 5565): cups_pcap_load_async: reinit_after_fork() failed Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.828259, 0] ../source3/lib/util.c:896(log_stack_trace) Aug 15 13:54:56 uc2 smbd[5565]: BACKTRACE: 19 stack frames: Aug 15 13:54:56 uc2 smbd[5565]: #0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x2b) [0xb70c2fcf] Aug 15 13:54:56 uc2 smbd[5565]: #1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x81) [0xb70c2df6] Aug 15 13:54:56 uc2 smbd[5565]: #2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x2a) [0xb77080d8] Aug 15 13:54:56 uc2 smbd[5565]: #3 /usr/local/samba/lib/private/libsmbd_base.so(+0x9331d) [0xb740431d] Aug 15 13:54:56 uc2 smbd[5565]: #4 /usr/local/samba/lib/private/libsmbd_base.so(cups_cache_reload+0x86) [0xb740478b] Aug 15 13:54:56 uc2 smbd[5565]: #5 /usr/local/samba/lib/private/libsmbd_base.so(pcap_cache_reload+0x193) [0xb7403091] Aug 15 13:54:56 uc2 smbd[5565]: #6 /usr/local/samba/lib/private/libsmbd_base.so(+0x7860e) [0xb73e960e] Aug 15 13:54:56 uc2 smbd[5565]: #7 /usr/local/samba/lib/libsmbconf.so.0(+0x42fc0) [0xb70eafc0] Aug 15 13:54:56 uc2 smbd[5565]: #8 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_timer_delay+0x22b) [0xb7368edb] Aug 15 13:54:56 uc2 smbd[5565]: #9 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x70) [0xb70ea588] Aug 15 13:54:56 uc2 smbd[5565]: #10 /usr/local/samba/lib/libsmbconf.so.0(+0x42c88) [0xb70eac88] Aug 15 13:54:56 uc2 smbd[5565]: #11 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3) [0xb7363219] Aug 15 13:54:56 uc2 smbd[5565]: #12 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait +0x26) [0xb736346b] Aug 15 13:54:56 uc2 smbd[5565]: #13 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x1d) [0xb736351d] Aug 15 13:54:56 uc2 smbd[5565]: #14 /usr/local/samba/lib/private/libsmbd_base.so(start_background_queue +0x5b5) [0xb73ea1a9] Aug 15 13:54:56 uc2 smbd[5565]: #15 /usr/local/samba/lib/private/libsmbd_base.so(printing_subsystem_init +0x97) [0xb73ea2df] Aug 15 13:54:56 uc2 smbd[5565]: #16 /usr/local/samba/sbin/smbd(main +0x159e) [0xb7783ed4] Aug 15 13:54:56 uc2 smbd[5565]: #17 /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb698da83] Aug 15 13:54:56 uc2 smbd[5565]: #18 /usr/local/samba/sbin/smbd(+0x4131) [0xb777d131] Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.922545, 0] ../source3/lib/dumpcore.c:317(dump_core) Aug 15 13:54:56 uc2 smbd[5565]: dumping core in /usr/local/samba/var/cores/smbd Aug 15 13:54:56 uc2 smbd[5565]: Aug 15 13:54:57 uc2 smbd[9584]: [2014/08/15 13:54:57.437590, 0] ../source3/printing/print_cups.c:516(cups_async_callback) Aug 15 13:54:57 uc2 smbd[9584]: failed to recv pcap blob There's a core file if that's any use.
On Fri, 15 Aug 2014 14:03:32 +0200, steve wrote:> Hi > Random crashes. It looks as if it's cups, but we aren't printing, nor > have it configured.Even without a [printers] share, Samba still periodically pulls the printer inventory from the printing backend. The periodic updates can be avoided by specifying "printcap cache time = 0" in smb.conf.> [global] > workgroup = ALTEA > realm = ALTEA.SITE > security = ADS > kerberos method = secrets and keytab > netbios name = SMBCLUSTER > #disable netbios = Yes > clustering = Yes > ctdbd socket = /usr/local/var/run/ctdb/ctdbd.socket... It looks as though the forked printcap update process was unable to initialise a CTDB messaging context. What was printed in log.smbd leading up to to the NT_STATUS_INTERNAL_DB_ERROR message? Was anything interesting logged by ctdbd at that time?> > Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.598241, > 0] ../source3/lib/util.c:477(reinit_after_fork) > Aug 15 13:54:56 uc2 smbd[5565]: messaging_reinit() failed: > NT_STATUS_INTERNAL_DB_ERROR > Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.606816, > 0] ../source3/printing/print_cups.c:479(cups_pcap_load_async) > Aug 15 13:54:56 uc2 smbd[5565]: cups_pcap_load_async: > reinit_after_fork() failed > Aug 15 13:54:56 uc2 smbd[5565]: [2014/08/15 13:54:56.642889, > 0] ../source3/lib/util.c:785(smb_panic_s3) > Aug 15 13:54:56 uc2 smbd[5565]: PANIC (pid 5565): > cups_pcap_load_async: reinit_after_fork() failedCheers, David