no printout, but no other hint of error. F18.

William Mattison wcmattison at yahoo.com
Wed May 15 16:48:33 UTC 2013


> Also, the line:
> 
>   May 13 16:26:14 c-69-138-198-76 cupsd[625]: p11-kit: couldn't open
> 
>   config file: /root/.pkcs11/pkcs11.conf: Permission denied
> 
> from your lpstat output may not be causing a problem, but you should
> address it anyway because until you do you won't know if it's part
> of the problem or not.

Ummmmmm...... 
There is no directory "/root/.pkcs11/".  The permissions on directory 
"/root/" are "dr-xr-x---".  I added write permissions for user and 
group, then I rebooted the system and turned on the printer.  "lpstat -t" now gives:
=============== begin
bash.1[~]: lpstat -t
scheduler is running
no system default destination
device for Xerox_WorkCentre_6015NI: usb://Xerox/WorkCentre%206015NI?serial=BD1580153&interface=1
Xerox_WorkCentre_6015NI accepting requests since Wed 15 May 2013 12:22:30 PM EDT
printer Xerox_WorkCentre_6015NI is idle.  enabled since Wed 15 May 2013 12:22:30 PM EDT
bash.2[~]:
=============== end

But there's still no directory "/root/.pkcs11/"!

>>>  I couldn't make sense of anything in this directory.  Might
>>>  something here help?
>> 
>>  Try this: run tail /var/log/cups/error_log before and after
>>  printing, and see if anything new shows up.
> 
> Rather than using that command "before and after", you should do:
> 
>   tail -f /var/log/cups/error_log
> 
> before you try to print. it will display all the log lines as it
> goes (stop it when your printing event stops logging). The
> previously suggested commands will only get you the last 10 lines
> (with the lines before you try to print being mostly irrelevant to
> the immediate event), so running it after will miss anything
> relevant that's more than 10 lines back.

I did this:
=============== begin
bash.2[~]: cat -n testprint.txt 
     1    
     2    A very short test text file for testing the printer.
     3    
bash.3[~]: lp testprint.txt -d Xerox_WorkCentre_6015NI
request id is Xerox_WorkCentre_6015NI-19 (1 file(s))
bash.4[~]:
=============== end

The tail -f generated a lot of output:

=============== begin
bash.1[~]: cd /var/log/cups/
bash.2[cups]: tail -f error_log
D [14/May/2013:21:10:44 -0400] [Job 18] printer-state-message="Sending data to printer."
D [14/May/2013:21:10:44 -0400] [Job 18] printer-state-reasons=none
E [14/May/2013:21:15:47 -0400] [Job 18] Stopping unresponsive job!
E [14/May/2013:21:26:34 -0400] Failed to update TXT record for Xerox WorkCentre 6015NI @ c-69-138-198-76.hsd1.md.comcast.net: -2
E [15/May/2013:11:38:09 -0400] Unknown directive JobPrivateAccess on line 88 of /etc/cups/cupsd.conf.
E [15/May/2013:11:38:09 -0400] Unknown directive JobPrivateValues on line 89 of /etc/cups/cupsd.conf.
E [15/May/2013:11:38:09 -0400] Unknown directive SubscriptionPrivateAccess on line 90 of /etc/cups/cupsd.conf.
E [15/May/2013:11:38:09 -0400] Unknown directive SubscriptionPrivateValues on line 91 of /etc/cups/cupsd.conf.
W [15/May/2013:11:38:11 -0400] failed to find device: cups-Xerox_WorkCentre_6015NI
E [15/May/2013:12:22:30 -0400] Failed to update TXT record for Xerox WorkCentre 6015NI @ c-69-138-198-76.hsd1.md.comcast.net: -2
---> {"lp" command issued at this point}
E [15/May/2013:12:28:38 -0400] [Job 19] Job stopped due to filter errors; please consult the error_log file for details.
D [15/May/2013:12:28:38 -0400] [Job 19] The following messages were recorded from 12:28:29 PM to 12:28:37 PM
D [15/May/2013:12:28:38 -0400] [Job 19] Adding start banner page "none".
D [15/May/2013:12:28:38 -0400] [Job 19] Queued on "Xerox_WorkCentre_6015NI" by "root".
D [15/May/2013:12:28:38 -0400] [Job 19] Auto-typing file...
D [15/May/2013:12:28:38 -0400] [Job 19] Request file type is text/plain.
D [15/May/2013:12:28:38 -0400] [Job 19] File of type text/plain queued by "root".
D [15/May/2013:12:28:38 -0400] [Job 19] Adding end banner page "none".
D [15/May/2013:12:28:38 -0400] [Job 19] job-sheets=none,none
D [15/May/2013:12:28:38 -0400] [Job 19] argv[0]="Xerox_WorkCentre_6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[1]="19"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[2]="root"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[3]="testprint.txt"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[4]="1"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:b64612fa-9ef2-34b2-5660-d9413ecfd992 job-originating-host-name=localhost time-at-creation=1368635309 time-at-processing=1368635309"
D [15/May/2013:12:28:38 -0400] [Job 19] argv[6]="/var/spool/cups/d00019-001"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[8]="HOME=/var/spool/cups/tmp"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[10]="SERVER_ADMIN=root at c-69-138-198-76.hsd1.md.comcast.net"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[11]="SOFTWARE=CUPS/1.5.4"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[13]="USER=root"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[14]="CUPS_MAX_MESSAGE=2047"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[17]="IPP_PORT=631"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[18]="CHARSET=utf-8"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[19]="LANG=en_US.UTF-8"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[20]="PPD=/etc/cups/ppd/Xerox_WorkCentre_6015NI.ppd"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[21]="RIP_MAX_CACHE=128m"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[22]="CONTENT_TYPE=text/plain"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[23]="DEVICE_URI=usb://Xerox/WorkCentre%206015NI?serial=BD1580153&interface=1"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[24]="PRINTER_INFO=Xerox WorkCentre 6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[25]="PRINTER_LOCATION=home"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[26]="PRINTER=Xerox_WorkCentre_6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[27]="PRINTER_STATE_REASONS=none"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[28]="CUPS_FILETYPE=document"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[29]="FINAL_CONTENT_TYPE=printer/Xerox_WorkCentre_6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[30]="AUTH_I****"
D [15/May/2013:12:28:38 -0400] [Job 19] Started filter /usr/lib/cups/filter/texttopaps (PID 2470)
D [15/May/2013:12:28:38 -0400] [Job 19] Started filter /usr/lib/cups/filter/pstops (PID 2471)
D [15/May/2013:12:28:38 -0400] [Job 19] Started filter /usr/lib/cups/filter/gstoraster (PID 2472)
D [15/May/2013:12:28:38 -0400] [Job 19] Started filter /usr/lib/cups/filter/xrhk2ap (PID 2473)
D [15/May/2013:12:28:38 -0400] [Job 19] Started backend /usr/lib/cups/backend/usb (PID 2474)
D [15/May/2013:12:28:38 -0400] [Job 19] Printing on printer with URI: usb://Xerox/WorkCentre%206015NI?serial=BD1580153&interface=1
D [15/May/2013:12:28:38 -0400] [Job 19] libusb_get_device_list=11
D [15/May/2013:12:28:38 -0400] [Job 19] Page = 612x792; 12,12 to 600,780
D [15/May/2013:12:28:38 -0400] [Job 19] slow_collate=0, slow_duplex=0, slow_order=0
D [15/May/2013:12:28:38 -0400] [Job 19] Before copy_comments - %!PS-Adobe-3.0
D [15/May/2013:12:28:38 -0400] [Job 19] %!PS-Adobe-3.0
D [15/May/2013:12:28:38 -0400] [Job 19] %cupsRotation: 0
D [15/May/2013:12:28:38 -0400] [Job 19] %%Title: testprint.txt
D [15/May/2013:12:28:38 -0400] [Job 19] %%Creator: paps version 0.6.7 by Dov Grobgeld
D [15/May/2013:12:28:38 -0400] [Job 19] %%Pages: (atend)
D [15/May/2013:12:28:38 -0400] [Job 19] %%BoundingBox: 0 0 612 792
D [15/May/2013:12:28:38 -0400] [Job 19] %%For: root
D [15/May/2013:12:28:38 -0400] [Job 19] %%Orientation: Portrait
D [15/May/2013:12:28:38 -0400] [Job 19] %%EndComments
D [15/May/2013:12:28:38 -0400] [Job 19] Before copy_prolog - %%BeginProlog
D [15/May/2013:12:28:38 -0400] [Job 19] Before copy_setup - %%BeginSetup
D [15/May/2013:12:28:38 -0400] [Job 19] Before page loop - %%Page: 1 1
D [15/May/2013:12:28:38 -0400] [Job 19] Copying page 1...
D [15/May/2013:12:28:38 -0400] [Job 19] pagew = 588.8, pagel = 768.8
D [15/May/2013:12:28:38 -0400] [Job 19] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [15/May/2013:12:28:38 -0400] [Job 19] PageLeft = 11.6, PageRight = 600.4
D [15/May/2013:12:28:38 -0400] [Job 19] PageTop = 780.4, PageBottom = 11.6
D [15/May/2013:12:28:38 -0400] [Job 19] PageWidth = 612.0, PageLength = 792.0
D [15/May/2013:12:28:38 -0400] [Job 19] Wrote 1 pages...
D [15/May/2013:12:28:38 -0400] [Job 19] PPD uses qualifier 'Gray.Plain.600dpi'
D [15/May/2013:12:28:38 -0400] [Job 19] Calling FindDeviceById(Xerox_WorkCentre_6015NI)
D [15/May/2013:12:28:38 -0400] [Job 19] Failed to send: org.freedesktop.ColorManager.NotFound:device id 'Xerox_WorkCentre_6015NI' does not exists
D [15/May/2013:12:28:38 -0400] [Job 19] Failed to get profile filename!
D [15/May/2013:12:28:38 -0400] [Job 19] no profiles specified in PPD
D [15/May/2013:12:28:38 -0400] [Job 19] Set job-printer-state-message to "no profiles specified in PPD", current level=INFO
D [15/May/2013:12:28:38 -0400] [Job 19] Ghostscript command line: /usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOutputFile=%stdout -I/usr/share/cups/fonts -c -f -_
D [15/May/2013:12:28:38 -0400] [Job 19] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[2]="CUPS_DOCROOT=/usr/share/cups/www"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[8]="HOME=/var/spool/cups/tmp"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[9]="PATH=/usr/lib/cups/filter:/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[10]="SERVER_ADMIN=root at c-69-138-198-76.hsd1.md.comcast.net"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[11]="SOFTWARE=CUPS/1.5.4"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[13]="USER=root"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[14]="CUPS_MAX_MESSAGE=2047"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[17]="IPP_PORT=631"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[18]="CHARSET=utf-8"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[19]="LANG=en_US.UTF-8"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[20]="PPD=/etc/cups/ppd/Xerox_WorkCentre_6015NI.ppd"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[21]="RIP_MAX_CACHE=128m"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[22]="CONTENT_TYPE=text/plain"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[23]="DEVICE_URI=usb://Xerox/WorkCentre%206015NI?serial=BD1580153&interface=1"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[24]="PRINTER_INFO=Xerox WorkCentre 6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[25]="PRINTER_LOCATION=home"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[26]="PRINTER=Xerox_WorkCentre_6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[27]="PRINTER_STATE_REASONS=none"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[28]="CUPS_FILETYPE=document"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[29]="FINAL_CONTENT_TYPE=printer/Xerox_WorkCentre_6015NI"
D [15/May/2013:12:28:38 -0400] [Job 19] envp[30]="AUTH_INFO_REQUIRED=none"
D [15/May/2013:12:28:38 -0400] [Job 19] Xerox_WorkCentre_6015NI: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
D [15/May/2013:12:28:38 -0400] [Job 19] STATE: +connecting-to-device
D [15/May/2013:12:28:38 -0400] [Job 19] STATE: -connecting-to-device
D [15/May/2013:12:28:38 -0400] [Job 19] Printer found with device ID: MFG:Xerox;CMD:HBPL;MDL:WorkCentre 6015NI;CLS:PRINTER;DES:Xerox WorkCentre 6015NI;STS:L1teYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAABwAAAAAQAEBP8JBQUJ9wUEAAAAAAAAAAAAAAAA; Device URI: usb://Xerox/WorkCentre%206015NI?serial=BD1580153&interface=1
D [15/May/2013:12:28:38 -0400] [Job 19] Device protocol: 2
D [15/May/2013:12:28:38 -0400] [Job 19] Sending data to printer.
D [15/May/2013:12:28:38 -0400] [Job 19] Sent 0 bytes...
D [15/May/2013:12:28:38 -0400] [Job 19] Start rendering...
D [15/May/2013:12:28:38 -0400] [Job 19] Processing page 1...
D [15/May/2013:12:28:38 -0400] [Job 19] Waiting for read thread to exit...
D [15/May/2013:12:28:38 -0400] [Job 19] Read thread still active, aborting the pending read...
D [15/May/2013:12:28:38 -0400] [Job 19] End of messages
D [15/May/2013:12:28:38 -0400] [Job 19] printer-state=3(idle)
D [15/May/2013:12:28:38 -0400] [Job 19] printer-state-message="Processing page 1..."
D [15/May/2013:12:28:38 -0400] [Job 19] printer-state-reasons=none
E [15/May/2013:12:33:40 -0400] [Job 19] Stopping unresponsive job!
^C
bash.3[cups]: 
=============== end

thanks,
Bill.



More information about the users mailing list