CUPS się psuje

Adam Skowroński askowron w ii.pw.edu.pl
Pon, 30 Gru 2013, 21:07:45 CET


30.12.2013 20:47, Jan Rękorajski wrotek:
>
> On Mon, 30 Dec 2013, Jan Rękorajski wrote:
>
>> On Mon, 30 Dec 2013, Adam Skowroński wrote:
>>
>>>
>>> 29.12.2013 23:03, Jan Rękorajski wrotek:
>>>>
>>>> On Sun, 29 Dec 2013, Adam Skowroński wrote:
>>>>
>>>>>
>>>>> Cześć.
>>>>>
>>>>> Po ostatnim upgradzie CUPSa przestała mi działać drukarka.
>>>>> Drukarka to Brother-DCP-J315W,
>>>>
>>>> Podejrzewam cups-filters, bo w samym cupsie nie było nic znaczącego
>>>> między rel 3 a 5. Zrobiłem nową paczkę, możesz przetestować
>>>> cups-filters-1.0.43 ?
>>>>
>>> Z 1.0.43 mam ten sam problem.
>>
>> Z logu wynika że to jakiś problem z pdftocairo który jest używany jako
>> pdftops - jaką wersję poppler-progs masz zainstalowaną?
>
> Chyba wiem co się zepsuło, sprawdź cups-filters-1.0.43-3 (właśnie buduje
> się do th-test).
>

Jest inaczej, być może to już jest błąd instalacji sterowników. Burzy 
się, że nie ma jakiegoś tam pliku (a jak mu utworzyłem taki plik, to też 
się burzy, że go nie ma).

Log w załączniku.

Adam
-- 
Adam Skowroński tytus w oldfield.org.pl http://tytus.oldfield.org.pl/
1. Pasta do grania na trąbce                2. Spryskiwacz do guzików
3. Wiadro do pompowania czereśni            4. Zapalniczka do łupieżu
5. Spreżynowe rękawiczki na oczy 6. Podwójny gwizdek (wersja do lasu)
-------------- następna część ---------
 [30/Dec/2013:21:04:13 +0100] [Job 1354] Adding start banner page "none".
D [30/Dec/2013:21:04:13 +0100] Discarding unused job-created event...
D [30/Dec/2013:21:04:13 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Adding end banner page "none".
I [30/Dec/2013:21:04:13 +0100] [Job 1354] File of type application/pdf queued by "tytus".
D [30/Dec/2013:21:04:13 +0100] [Job 1354] hold_until=0
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Queued on "Brother2" by "tytus".
D [30/Dec/2013:21:04:13 +0100] [Job 1354] time-at-processing=1388433853
D [30/Dec/2013:21:04:13 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [30/Dec/2013:21:04:13 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] 3 filters for job:
D [30/Dec/2013:21:04:13 +0100] [Job 1354] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [30/Dec/2013:21:04:13 +0100] [Job 1354] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [30/Dec/2013:21:04:13 +0100] [Job 1354] brlpdwrapperdcpj315w (application/vnd.cups-postscript to printer/Brother2, cost 0)
D [30/Dec/2013:21:04:13 +0100] [Job 1354] job-sheets=none,none
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[0]="Brother2"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[1]="1354"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[2]="tytus"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[3]="CUPS.org"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[4]="1"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[5]="BRHalfTonePattern=Diffusion BRMonoColor=Color number-up=1 BRJpeg=Recommended PageSize=Letter BRColorMatching=Natural BRReverse=OFF BRBlue=0 BRColorEnhancement=OFF BRBrightness=0 BRGreen=0 BRContrast=0 BRColorPaperThick=Regular BRSlowDrying=OFF BrMirror=OFF BRResolution=600x600dpi BRRed=0 BRBiDir=ON BRColorMediaType=Plain job-uuid=urn:uuid:48f335d6-01c4-3117-448c-c959bbb81f5a job-originating-host-name=localhost time-at-creation=1388433853 time-at-processing=1388433853"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] argv[6]="/var/spool/cups/d01354-001"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[2]="CUPS_DOCROOT=/usr/lib/cups/cgi-bin"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[7]="CUPS_STATEDIR=/var/lib/cups"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[8]="HOME=/tmp"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[10]="SERVER_ADMIN=root w localhost"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[11]="SOFTWARE=CUPS/1.7.0"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[12]="TMPDIR=/tmp"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[13]="USER=root"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[14]="CUPS_MAX_MESSAGE=2047"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[17]="IPP_PORT=631"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[18]="CHARSET=utf-8"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[19]="LANG=pl_PL.UTF-8"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[20]="PPD=/etc/cups/ppd/Brother2.ppd"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[21]="RIP_MAX_CACHE=128m"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[22]="CONTENT_TYPE=application/pdf"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[23]="DEVICE_URI=dnssd://Brother%20DCP-J315W._printer._tcp.local/"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[24]="PRINTER_INFO=Brother"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[25]="PRINTER_LOCATION="
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[26]="PRINTER=Brother2"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[27]="PRINTER_STATE_REASONS=none"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[28]="CUPS_FILETYPE=document"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[29]="FINAL_CONTENT_TYPE=printer/Brother2"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] envp[30]="AUTH_I****"
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Started filter /usr/lib/cups/filter/pdftopdf (PID 22131)
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Started filter /usr/lib/cups/filter/pdftops (PID 22132)
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Started filter /usr/lib/cups/filter/brlpdwrapperdcpj315w (PID 22133)
I [30/Dec/2013:21:04:13 +0100] [Job 1354] Started backend /usr/lib/cups/backend/dnssd (PID 22134)
D [30/Dec/2013:21:04:13 +0100] Discarding unused job-state-changed event...
D [30/Dec/2013:21:04:13 +0100] [Client 22] Returning IPP successful-ok for Print-Job (ipp://localhost:631/printers/Brother2) from localhost
D [30/Dec/2013:21:04:13 +0100] [Client 22] Content-Length: 176
D [30/Dec/2013:21:04:13 +0100] [Client 22] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=176, response=0x7f0b44658970(IPP_IDLE), pipe_pid=0, file=-1
D [30/Dec/2013:21:04:13 +0100] [Client 22] Writing IPP response, ipp_state=DATA, old wused=0, new wused=0
D [30/Dec/2013:21:04:13 +0100] [Client 22] bytes=0, http_state=0, data_remaining=0
D [30/Dec/2013:21:04:13 +0100] [Client 22] Waiting for request.
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [30/Dec/2013:21:04:13 +0100] [Client 22] HTTP_STATE_WAITING Closing on EOF
D [30/Dec/2013:21:04:13 +0100] [Client 22] Closing connection.
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Resolving "Brother DCP-J315W._printer._tcp.local"...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] STATE: +connecting-to-device
D [30/Dec/2013:21:04:13 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
D [30/Dec/2013:21:04:13 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Resolving "Brother DCP-J315W", regtype="_printer._tcp", domain="local."...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Resolved as "lpd://10.0.4.5:515/duerqxesz5090"...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] STATE: -connecting-to-device,offline-report
D [30/Dec/2013:21:04:13 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [30/Dec/2013:21:04:13 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Executing backend "/usr/lib/cups/backend/lpd"...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] pdftops - copying to temp print file "/tmp/0567452ca2e0a"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] STATE: +connecting-to-device
D [30/Dec/2013:21:04:13 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:13 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Looking up "10.0.4.5"...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] backendWaitLoop(snmp_fd=5, addr=0x7f0d5f171b98, side_cb=0x7f0d5dcb9bc0)
D [30/Dec/2013:21:04:13 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:13 +0100] [Job 1354] PID 22131 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Printer make and model: Brother DCP-J315W
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Switching to Poppler's pdftops instead of Ghostscript for Brother, Minolta, and Konica Minolta to work around bugs in the printer's PS interpreters
D [30/Dec/2013:21:04:13 +0100] [Job 1354] No resolution information found in the PPD file.
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Started filter pdftops (PID 22140)
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Unable to execute pdftops program: No such file or directory
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Started filter pstops (PID 22141)
D [30/Dec/2013:21:04:13 +0100] [Job 1354] PID 22140 (pdftops) stopped with status 1!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] The print file is empty.
D [30/Dec/2013:21:04:13 +0100] [Job 1354] PID 22141 (pstops) stopped with status 1!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] PID 22132 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
D [30/Dec/2013:21:04:13 +0100] [Job 1354] Error: /opt/brother/Printers/dcpj315w/inf/brdcpj315wrc.old :cannot open file !!
E [30/Dec/2013:21:04:14 +0100] [Job 1354] No pages found!
D [30/Dec/2013:21:04:14 +0100] Discarding unused job-progress event...
D [30/Dec/2013:21:04:14 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:14 +0100] [Job 1354] PID 22133 (/usr/lib/cups/filter/brlpdwrapperdcpj315w) exited with no errors.
D [30/Dec/2013:21:04:14 +0100] [Job 1354] PID 22134 (/usr/lib/cups/backend/dnssd) exited with no errors.
D [30/Dec/2013:21:04:14 +0100] Discarding unused job-state-changed event...
E [30/Dec/2013:21:04:14 +0100] [Job 1354] Job stopped due to filter errors; please consult the error_log file for details.
D [30/Dec/2013:21:04:14 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:14 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [30/Dec/2013:21:04:14 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [30/Dec/2013:21:04:14 +0100] Discarding unused printer-state-changed event...
D [30/Dec/2013:21:04:14 +0100] cupsdMarkDirty(---J-)
D [30/Dec/2013:21:04:14 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [30/Dec/2013:21:04:15 +0100] [Job 1354] Unloading...


Więcej informacji o liście pld-users-pl