[Samba] Print Problem

Wendell Dingus wendell at BISonline.com
Wed Sep 18 18:07:38 GMT 2002


I looked through the mailing list archives and tried some queries
against the searchable with no success. I've got a strange problem...

Customer calls up unable to print. Everything else is working fine,
nobody made any Samba or other changes just suddenly no PC can print to
a Samba-shared printer. Server is AIX, Samba is 2.2.3a compiled by IBM
from the IBM Toolbox site. Same config I have running on >10 sites and
this one for a long time up until now.

Have rebooted PCs, rebooted the server, etc...

I found a way to reproduce the error SSH'ed into their server from
remote though:

# echo "test" | smbclient "\\\\server\\printer" rootspwd -N -P -c 'print
-'
added interface ip=192.168.100.10 bcast=192.168.100.255
nmask=255.255.255.0
Domain=[DOM] OS=[Unix] Server=[Samba 2.2.3a]
NT_STATUS_NO_SUCH_FILE opening remote file stdin-23850

Here's a snippet of the log file with debug=4:

[2002/09/18 12:49:46, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(stdin-26128) returning 0744
[2002/09/18 12:49:46, 3] printing/printing.c:print_cache_expired(772)
  print cache expired for queue las1 (last_cache = 1032371363, time now
= 1032371386, qcachetime = 10)
[2002/09/18 12:49:46, 3] printing/print_generic.c:print_run_command(88)
  Running the command `lpq -Plas1' gave 0
[2002/09/18 12:49:46, 3] printing/printing.c:print_queue_update(396)
  0 jobs in queue for las1
[2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(936)
  print_job_start: either jobid (6956)==next_jobid(6956) or
print_job_store failed.
[2002/09/18 12:49:47, 3] printing/printing.c:print_job_start(985)
  print_job_start: returning fail. Error = No such file or directory
[2002/09/18 12:49:47, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/09/18 12:49:47, 3] smbd/error.c:error_packet(103)
  error packet at smbd/reply.c(1650) cmd=45 (SMBopenX)
NT_STATUS_NO_SUCH_FILE
[2002/09/18 12:49:47, 3] smbd/process.c:timeout_processing(1092)
  receive_smb error (Error 0) exiting
[2002/09/18 12:49:47, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/18 12:49:47, 2] smbd/server.c:exit_server(458)
  Closing connections

I've tried changing the path= in [printers] thinking it couldn't create
a file for some reason. No luck... 

Thanks in advance for any suggestions!





More information about the samba mailing list