[Samba] printers unreachable in samba 3.0.2?

Book, Jesse jbook at nationaljournal.com
Thu Mar 4 12:23:42 GMT 2004

	I'm currently running print services on a linux/cups/samba 3.0.2 machine.  It 
seems that every now and again a group of users complains that they are 
seeing a windows error message telling them that they are unable to connect 
to their printer, and that the printer may be offline or is unreachable.  
Looking in the samba log I see the following error message.

-------------------log level 1-----------------------------------------
[2004/03/04 06:35:04, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/03/04 06:35:04, 0] lib/util.c:smb_panic(1408)
  BACKTRACE: 16 stack frames:
   #0 /opt/samba/sbin/smbd(smb_panic+0x181) [0x8180ebd]
   #1 /opt/samba/sbin/smbd [0x8171676]
   #2 /opt/samba/sbin/smbd [0x81716cb]
   #3 /lib/libc.so.6 [0x401eb988]
   #4 /opt/samba/sbin/smbd(print_queue_status+0x159) [0x819adb4]
   #5 /opt/samba/sbin/smbd [0x808604e]
   #6 /opt/samba/sbin/smbd(api_reply+0x2c0) [0x808c074]
   #7 /opt/samba/sbin/smbd [0x80839b5]
   #8 /opt/samba/sbin/smbd(reply_trans+0x9dd) [0x80844ec]
   #9 /opt/samba/sbin/smbd [0x80b7713]
   #10 /opt/samba/sbin/smbd [0x80b77a5]
   #11 /opt/samba/sbin/smbd(process_smb+0x1c6) [0x80b7ab5]
   #12 /opt/samba/sbin/smbd(smbd_process+0x153) [0x80b854d]
   #13 /opt/samba/sbin/smbd(main+0x6ec) [0x81cd699]
   #14 /lib/libc.so.6(__libc_start_main+0xc6) [0x401d7d06]
   #15 /opt/samba/sbin/smbd(yp_get_default_domain+0x91) [0x80726a1]

Looking at the machine via cups show everything with the printer is normal, 
and a test page from cups can be printed successfully.  However, from the 
windows side, all users that are connected to that printer are unable to use 
the printer.  Deleting the individual printer .tdb 
(../var/locks/printing/printername.tdb) file and issuing a 'smbcontrol smbd 
reload-config' seems to clear the problem.

I don't know if this is a new problem, or goes back to Jerry Haltom's problem 
that I read about last month. (Signal 11 in smbd 3.0.2rc2 on printer 

-= Jesse =-

More information about the samba mailing list