CUPS się psuje
Adam Skowroński
askowron w ii.pw.edu.pl
Nie, 29 Gru 2013, 21:43:52 CET
Cześć.
Po ostatnim upgradzie CUPSa przestała mi działać drukarka.
Drukarka to Brother-DCP-J315W, korzysta ze sterowników producenta:
dcpj315wcupswrapper-1.1.3-1.i386
dcpj315wlpr-1.1.3-1.i386
CUPS po upgradzie tych pakietów nie działa:
cups-clients-1.7.0-5.x86_64
cups-filters-1.0.42-2.x86_64
cups-filters-libs-1.0.42-2.x86_64
cups-image-lib-1.7.0-5.x86_64
cups-lpd-1.7.0-5.x86_64
Te wersje jeszcze działają
cups-clients-1.7.0-3.x86_64
cups-filters-1.0.41-8.x86_64
cups-filters-libs-1.0.41-8.x86_64
cups-image-lib-1.7.0-3.x86_64
cups-lpd-1.7.0-3.x86_64
Póki co rozwiązaniem u mnie jest dodanie do hold pakietów cups.
Nie znalazłem w Googlu nic na taki temat, dlatego publikuję tutaj. A nuż
ktoś się zna na CUPS i będzie wiedział co jest nie tak?
Adam
PS.
Nie wiem, który z nich zwala działanie, ale gdyby kogoś interesowało i
wiedziałby jak to czytać, to załączam log z próby wydruku:
E [29/Dec/2013:10:15:01 +0100] [Job 1322] No pages found!
E [29/Dec/2013:10:15:01 +0100] [Job 1322] Job stopped due to filter
errors; please consult the error_log file for details.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] The following messages were
recorded from 10:14:58 to 10:15:01
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Adding start banner page "none".
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Queued on "Brother" by "tytus".
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Auto-typing file...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Request file type is
application/pdf.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] File of type application/pdf
queued by "tytus".
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Adding end banner page "none".
D [29/Dec/2013:10:15:01 +0100] [Job 1322] time-at-processing=1388308498
D [29/Dec/2013:10:15:01 +0100] [Job 1322] 3 filters for job:
D [29/Dec/2013:10:15:01 +0100] [Job 1322] pdftopdf (application/pdf to
application/vnd.cups-pdf, cost 66)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] pdftops
(application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] brlpdwrapperdcpj315w
(application/vnd.cups-postscript to printer/Brother, cost 0)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] job-sheets=none,none
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[0]="Brother"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[1]="1322"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[2]="tytus"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[3]="20131229"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[4]="1"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] argv[5]="PageSize=A4
job-uuid=urn:uuid:4ca3b988-8e54-3d8d-4461-c9f1ef1fbbd2
job-originating-host-name=localhost time-at-creation=1388308498
time-at-processing=1388308498"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
argv[6]="/var/spool/cups/d01322-001"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[1]="CUPS_DATADIR=/usr/share/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[2]="CUPS_DOCROOT=/usr/lib/cups/cgi-bin"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[6]="CUPS_SERVERROOT=/etc/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[7]="CUPS_STATEDIR=/var/lib/cups"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[8]="HOME=/tmp"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[10]="SERVER_ADMIN=root w localhost"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[11]="SOFTWARE=CUPS/1.7.0"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[12]="TMPDIR=/tmp"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[13]="USER=root"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[14]="CUPS_MAX_MESSAGE=2047"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[16]="CUPS_ENCRYPTION=IfRequested"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[17]="IPP_PORT=631"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[18]="CHARSET=utf-8"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[19]="LANG=pl_PL.UTF-8"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[20]="PPD=/etc/cups/ppd/Brother.ppd"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[21]="RIP_MAX_CACHE=128m"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[22]="CONTENT_TYPE=application/pdf"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[23]="DEVICE_URI=dnssd://Brother%20DCP-J315W._printer._tcp.local/"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[24]="PRINTER_INFO=Brother"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[25]="PRINTER_LOCATION=PĂłĹka"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[26]="PRINTER=Brother"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[27]="PRINTER_STATE_REASONS=none"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[28]="CUPS_FILETYPE=document"
D [29/Dec/2013:10:15:01 +0100] [Job 1322]
envp[29]="FINAL_CONTENT_TYPE=printer/Brother"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] envp[30]="AUTH_I****"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Started filter
/usr/lib/cups/filter/pdftopdf (PID 3543)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Started filter
/usr/lib/cups/filter/pdftops (PID 3544)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Started filter
/usr/lib/cups/filter/brlpdwrapperdcpj315w (PID 3545)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Started backend
/usr/lib/cups/backend/dnssd (PID 3546)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] pdftops - copying to temp
print file "/tmp/00dd852cb5075"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Resolving "Brother
DCP-J315W._printer._tcp.local"...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] STATE: +connecting-to-device
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Resolving "Brother DCP-J315W",
regtype="_printer._tcp", domain="local."...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3543
(/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] 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 [29/Dec/2013:10:15:01 +0100] [Job 1322] Started filter pdftops (PID 3549)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Started filter pstops (PID 3550)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Error: one of the output
format options (-png, -jpeg, -ps, -eps, -pdf, -svg) must be used.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Resolved as
"lpd://10.0.4.5:515/duerqxesz5090"...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] STATE:
-connecting-to-device,offline-report
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Executing backend
"/usr/lib/cups/backend/lpd"...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] The print file is empty.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3549 (pdftops) stopped
with status 99!
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3550 (pstops) stopped with
status 1!
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3544
(/usr/lib/cups/filter/pdftops) stopped with status 1.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Hint: Try setting the LogLevel
to "debug" to find out more.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] STATE: +connecting-to-device
D [29/Dec/2013:10:15:01 +0100] [Job 1322] Looking up "10.0.4.5"...
D [29/Dec/2013:10:15:01 +0100] [Job 1322] backendWaitLoop(snmp_fd=5,
addr=0x7f4fbaa5b978, side_cb=0x7f4fb97c2bc0)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3545
(/usr/lib/cups/filter/brlpdwrapperdcpj315w) exited with no errors.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] PID 3546
(/usr/lib/cups/backend/dnssd) exited with no errors.
D [29/Dec/2013:10:15:01 +0100] [Job 1322] End of messages
D [29/Dec/2013:10:15:01 +0100] [Job 1322] printer-state=3(idle)
D [29/Dec/2013:10:15:01 +0100] [Job 1322] printer-state-message="No
pages found!"
D [29/Dec/2013:10:15:01 +0100] [Job 1322] printer-state-reasons=none
--
Recepta na szczescie: Algorytmy swoją złożonością i skutecznością w
działaniach naprawczych są najbardziej uniwersalnymi metodami wykrywania
błedów. Struktura i cechy którymi się charakteryzują powoduje że są one
najpewniejsze. Pochłaniają mało naszego czasu co powoduje że wystarczy
je tylko nadzorować.
Więcej informacji o liście pld-users-pl