Printers now don't work - what can I check?

Steve Snyder ssnyder at indy.net
Tue Apr 13 16:43:08 GMT 1999


My Samba-shared printers (v2.0.3) printers worked great until I updated 
several software packages last weekend.  

These printers are networked and can still be used by running lpr from the 
command line of my Linux (RedHat v5.2, kernel 2.2.5) server.  Print jobs 
sent from the client machines (OS/2 and Win98) are not printed.  

A job sent from a client machine is apparently just lost.  Nothing is 
queued in the /var/spool/lpd/* subdirectories and lpq shows no jobs 
pending.  The shared printers show as shares on the Linux server via 
smbstatus and show up on the client machines via "net view \\corona".

I've tried setting "debuglevel = 3" in /etc/smb.conf, but no obvious errors
(obvious to me, anyway) show up in the log files.  The is the out out from 
a job sent from OS/2 to shared printer lj4m:

[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 670 of length 79
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBopenX (pid 1042)
[1999/04/13 12:37:20, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /var/spool/samba
[1999/04/13 12:37:20, 3] lib/util.c:unix_clean_name(609)
  unix_clean_name [/DEV/LPT2]
[1999/04/13 12:37:20, 3] lib/util.c:unix_clean_name(609)
  unix_clean_name [mercur.kufJ7z]
[1999/04/13 12:37:20, 2] smbd/open.c:open_file(576)
  steve opened file mercur.kufJ7z read=No write=Yes (numopen=1)
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 671 of length 332
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans2 (pid 1042)
[1999/04/13 12:37:20, 2] smbd/trans2.c:reply_trans2(2128)
  Invalid smb_sucnt in trans2 call
[1999/04/13 12:37:20, 3] smbd/error.c:error_packet(138)
  error packet at line 2129 cmd=50 (SMBtrans2) eclass=2 ecode=1
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 672 of length 84
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans2 (pid 1042)
[1999/04/13 12:37:20, 2] smbd/trans2.c:reply_trans2(2128)
  Invalid smb_sucnt in trans2 call
[1999/04/13 12:37:20, 3] smbd/error.c:error_packet(138)
  error packet at line 2129 cmd=50 (SMBtrans2) eclass=2 ecode=1
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 673 of length 78
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans2 (pid 1042)
[1999/04/13 12:37:20, 2] smbd/trans2.c:reply_trans2(2128)
  Invalid smb_sucnt in trans2 call
[1999/04/13 12:37:20, 3] smbd/error.c:error_packet(138)
  error packet at line 2129 cmd=50 (SMBtrans2) eclass=2 ecode=1
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 674 of length 81
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans2 (pid 1042)
[1999/04/13 12:37:20, 2] smbd/trans2.c:reply_trans2(2128)
  Invalid smb_sucnt in trans2 call
[1999/04/13 12:37:20, 3] smbd/error.c:error_packet(138)
  error packet at line 2129 cmd=50 (SMBtrans2) eclass=2 ecode=1
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 675 of length 78
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBtrans2 (pid 1042)
[1999/04/13 12:37:20, 2] smbd/trans2.c:reply_trans2(2128)
  Invalid smb_sucnt in trans2 call
[1999/04/13 12:37:20, 3] smbd/error.c:error_packet(138)
  error packet at line 2129 cmd=50 (SMBtrans2) eclass=2 ecode=1
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 676 of length 4160
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBwritebraw (pid 1042)
[1999/04/13 12:37:20, 3] smbd/reply.c:reply_writebraw(2254)
  writebraw1 fnum=4160 start=0 num=4096 wrote=4096 sync=0
[1999/04/13 12:37:20, 3] smbd/reply.c:reply_writebraw(2300)
  writebraw2 fnum=4160 start=0 num=2108 wrote=6204
[1999/04/13 12:37:20, 3] smbd/process.c:process_smb(565)
  Transaction 677 of length 45
[1999/04/13 12:37:20, 3] smbd/process.c:switch_message(402)
  switch message SMBclose (pid 1042)
[1999/04/13 12:37:20, 3] smbd/reply.c:reply_close(2642)
  close fd=10 fnum=4160 (numopen=1)
[1999/04/13 12:37:20, 3] smbd/open.c:fd_attempt_close(158)
  fd_attempt_close fd = 10, dev = 301, inode = 210130, open_flags = 2, ref_count = 1.
[1999/04/13 12:37:20, 3] printing/printing.c:print_file(124)
  Running the command `lp -c -dlj4m mercur.kufJ7z; rm mercur.kufJ7z' gave 0
[1999/04/13 12:37:20, 2] smbd/close.c:close_file(165)
  steve closed file mercur.kufJ7z (numopen=0) 

Can anyone suggest a course of action to determine why my shared printers 
won't?

Thank you.


*** Steve Snyder ***



More information about the samba mailing list