[Samba] Print Server Degradation

alaslavic at havertys.com alaslavic at havertys.com
Fri Jun 25 12:32:28 GMT 2004





Our Samba print server seems to slowly degrade, and get more and more
errors over time, until it starts recieving "tdb fetch failed" messages,
fatal errors, and getting INTERNAL PANIC's and dumping core etc....

I believe this to be related to .tdb corruption, but the tdbbackup utility
does not see any problem with the TDB's.  Eventually, certain printers will
go "offline" (especially with win98 clients) and clients will not be able
to see them.  I can restore the individual printer, by deleting the tdb
file associated with it, and restarting samba.  This seems to recreate the
.tdb files.

Is there a problem with deleting the printer specific tdb's on a nightly
basis?  What about recreating the print server, and saving off the good,
fresh tdb's and replacing them every night?

I'm working on upgrading to 3.0.4, so hopefully that will help as well.


Samba 3.0.2a on Suse SLES 8

Here are some of the messages:

[2004/06/23 07:35:00, 0, effective(11272, 10000), real(11272, 0)]
smbd/connection.c:register_message_flags(220)
  register_message_flags: tdb_fetch failed
[2004/06/23 07:36:35, 0, effective(0, 0), real(0, 0)]
smbd/service.c:make_connection(857)
  y135 (10.7.0.143) couldn't find service media_laser,winspool,ne00:
[2004/06/23 07:36:36, 0, effective(0, 0), real(0, 0)]
smbd/service.c:make_connection(857)
  y135 (10.7.0.143) couldn't find service media_laser,winspool,ne00:
[2004/06/23 07:38:55, 0, effective(0, 0), real(0, 0)]
lib/util_sock.c:get_peer_addr(952)
  getpeername failed. Error was Transport endpoint is not connected
[2004/06/23 07:38:55, 0, effective(0, 0), real(0, 0)]
lib/util_sock.c:read_socket_data(342)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2004/06/23 07:38:58, 1, effective(10472, 10000), real(10472, 0)]
smbd/service.c:make_connection_snum(705)
  ===============================================================
[2004/06/23 07:39:29, 0, effective(11436, 10000), real(11436, 0)]
lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 25681 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/06/23 07:39:29, 0, effective(11436, 10000), real(11436, 0)]
lib/fault.c:fault_report(39)
  ===============================================================
[2004/06/23 07:39:29, 0, effective(11436, 10000), real(11436, 0)]
lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/06/23 07:39:29, 0, effective(11436, 10000), real(11436, 0)]
lib/util.c:smb_panic(1408)
  BACKTRACE: 16 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic+0x198) [0x1018f878]
   #1 /usr/local/samba/sbin/smbd [0x1017b0dc]
   #2 /usr/local/samba/sbin/smbd [0x1017b14c]
   #3 [0xffffe4d8]
   #4 /usr/local/samba/sbin/smbd [0x101b0b20]
   #5 /usr/local/samba/sbin/smbd(print_queue_status+0x144) [0x101b0dec]
   #6 /usr/local/samba/sbin/smbd [0x100478a4]
   #7 /usr/local/samba/sbin/smbd(api_reply+0x36c) [0x1004eda0]
   #8 /usr/local/samba/sbin/smbd [0x100449f8]
   #9 /usr/local/samba/sbin/smbd(reply_trans+0x978) [0x10045514]
   #10 /usr/local/samba/sbin/smbd [0x10084a24]
   #11 /usr/local/samba/sbin/smbd [0x10084b10]
   #12 /usr/local/samba/sbin/smbd(process_smb+0x1e8) [0x10084ec0]
   #13 /usr/local/samba/sbin/smbd(smbd_process+0x174) [0x10085aa8]
   #14 /usr/local/samba/sbin/smbd(main+0x6b8) [0x102018b0]
   #15 /lib/libc.so.6(__libc_start_main+0x19c) [0xfc0f18c]
[2004/06/23 07:39:30, 0, effective(11436, 10000), real(11436, 0)]
lib/fault.c:fault_report(36)
  ===============================================================
[2004/06/23 07:39:30, 0, effective(11436, 10000), real(11436, 0)]
lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 25683 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/06/23 07:39:30, 0, effective(11436, 10000), real(11436, 0)]
lib/fault.c:fault_report(39)
  ===============================================================
[2004/06/23 07:39:30, 0, effective(11436, 10000), real(11436, 0)]
lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/06/23 07:39:30, 0, effective(11436, 10000), real(11436, 0)]
lib/util.c:smb_panic(1408)
  BACKTRACE: 16 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic+0x198) [0x1018f878]
   #1 /usr/local/samba/sbin/smbd [0x1017b0dc]
   #2 /usr/local/samba/sbin/smbd [0x1017b14c]
   #3 [0xffffe4d8]
   #4 /usr/local/samba/sbin/smbd [0x101b0b20]
   #5 /usr/local/samba/sbin/smbd(print_queue_status+0x144) [0x101b0dec]
   #6 /usr/local/samba/sbin/smbd [0x100478a4]
   #7 /usr/local/samba/sbin/smbd(api_reply+0x36c) [0x1004eda0]
   #8 /usr/local/samba/sbin/smbd [0x100449f8]
   #9 /usr/local/samba/sbin/smbd(reply_trans+0x978) [0x10045514]
   #10 /usr/local/samba/sbin/smbd [0x10084a24]
   #11 /usr/local/samba/sbin/smbd [0x10084b10]
   #12 /usr/local/samba/sbin/smbd(process_smb+0x1e8) [0x10084ec0]
   #13 /usr/local/samba/sbin/smbd(smbd_process+0x174) [0x10085aa8]
   #14 /usr/local/samba/sbin/smbd(main+0x6b8) [0x102018b0]
   #15 /lib/libc.so.6(__libc_start_main+0x19c) [0xfc0f18c]
[2004/06/23 07:41:49, 1, effective(0, 0), real(0, 0)]
smbd/service.c:close_cnum(887)
  y260 (10.7.0.185) closed connection to service Forcasting1
[2004/06/23 07:42:51, 1, effective(10472, 10000), real(10472, 0)]
smbd/service.c:make_connection_snum(705)

Alex Laslavic
Havertys Tech Services



More information about the samba mailing list