[Samba] smbd crash: 4.1.11

David Disseldorp ddiss at suse.de
Fri Aug 15 09:04:36 MDT 2014


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() failed

Cheers, David


More information about the samba mailing list