[Samba] Samba panics after error connecting to cups

Gil Freund freund.gil at gmail.com
Wed Nov 10 18:44:49 GMT 2004


Hi,

We have an issue with Samba panicking after an error connecting to
CUPS (see log below).

Samba 3.0.7
CUPS 1.1.20
Debian Woody

After the panic, CUPS is still oparational, but not Samba.  I have to 
kill -9 the smbd process befor I can restart it using the init
scripts.

Any pointers welcome.

[2004/11/04 13:55:43, 1] smbd/server.c:open_sockets_smbd(348)
  Reloading services after SIGHUP
[2004/11/04 14:52:23, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/11/04 15:12:56, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:12:56, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:13:35, 0] printing/print_cups.c:cups_queue_get(914)
  Unable to get jobs for ipp://localhost/printers/Ricoh1027 -
server-error-service-unavailable
[2004/11/04 15:13:35, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:13:47, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:13:47, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:15:14, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:15:14, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:15:15, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 15:15:15, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/04 22:37:42, 1] smbd/server.c:open_sockets_smbd(348)
  Reloading services after SIGHUP
[2004/11/04 22:41:04, 0] printing/print_cups.c:cups_queue_get(922)
  Unable to get jobs for ipp://localhost/printers/printers -
client-error-not-found
[2004/11/04 22:41:30, 0] printing/print_cups.c:cups_queue_get(922)
  Unable to get jobs for ipp://localhost/printers/printers -
client-error-not-found
[2004/11/04 22:41:30, 0] printing/print_cups.c:cups_queue_get(922)
  Unable to get jobs for ipp://localhost/printers/(null) -
client-error-not-found
[2004/11/04 22:41:30, 0] printing/printing_db.c:get_print_db_byname(40)
  PANIC: assert failed at printing/printing_db.c(40)
[2004/11/04 22:41:30, 0] lib/util.c:smb_panic2(1371)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 9214]
/etc/samba/gdbcommands:1: Error in sourced command file:
Previous frame inner to this frame (corrupt stack?)
[2004/11/04 22:52:37, 1] smbd/server.c:open_sockets_smbd(348)
  Reloading services after SIGHUP
[2004/11/07 06:26:10, 1] smbd/server.c:open_sockets_smbd(348)
  Reloading services after SIGHUP
[2004/11/07 06:26:11, 0] printing/print_cups.c:cups_printer_fn(119)
  Unable to connect to CUPS server localhost - Connection refused
[2004/11/07 16:07:00, 0] lib/util_sock.c:get_peer_addr(1000)
  getpeername failed. Error was Transport endpoint is not connected
[2004/11/10 10:37:59, 0] printing/print_cups.c:cups_queue_get(914)
  Unable to get jobs for ipp://localhost/printers/Phaser3130 -
server-error-service-unavailable
[2004/11/10 10:37:59, 0] printing/print_cups.c:cups_queue_get(865)
  Unable to connect to CUPS server localhost - Connection refused
.
.


More information about the samba mailing list