Strona 1 z 1

Cups 1.4.4 odmówił posłuszeństwa - system po aktualizacji z Lenny do Squeeze

: 23 lutego 2011, 18:22
autor: budzigniew
Jakiś czas temu Cups zaczął drukować po jednej stronie, a potem nie chciał przyjmować zadań z Windows. Potem była aktualizacja systemu, ale problem dalej pozostał, a nawet urósł: obecnie nie mogę wydrukować nawet strony testowej.

Podejrzewam, że coś się skopało podczas którejś z wcześniejszych aktualizacji systemu (grudzień/styczeń?), bo konfiguracja drukarki nie była ruszana odkąd ją zainstalowałem (a wtedy działała bez zarzutu); system to Lenny aktualizowany niedawno do Squeeze, drukarka jest udostępniana przez Sambę.

A teraz logi!

Po wejściu na stronę

Kod: Zaznacz cały

https://192.168.1.254:631/printers/
w stanie drukarki pojawia się komunikat:

Kod: Zaznacz cały

Bezczynna - "nie można zapisać 8192 bajtów do drukarki!"
error_log (przetrzebiony przeze mnie tam, gdzie to uznałem za słuszne):

Kod: Zaznacz cały

E [23/Feb/2011:17:31:41 +0100] [Job 1065] Unable to open job control file "/var/spool/cups/c01065" - No such file 
or directory!
E [23/Feb/2011:17:32:42 +0100] [Job 1067] nie można zapisać 8192 bajtów do drukarki!
E [23/Feb/2011:17:32:42 +0100] [Job 1067] Job stopped due to filter errors; please consult the error_log file for 
details.
D [23/Feb/2011:17:32:42 +0100] [Job 1067] The following messages were recorded from 17:31:54 to 17:32:42
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Adding start banner page "none".
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Adding end banner page "none".
D [23/Feb/2011:17:32:42 +0100] [Job 1067] File of type application/vnd.cups-banner queued by "root".
D [23/Feb/2011:17:32:42 +0100] [Job 1067] hold_until=0
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Queued on "HP_Deskjet_3740" by "root".
D [23/Feb/2011:17:32:42 +0100] [Job 1067] job-sheets=none,none
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[0]="HP_Deskjet_3740"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[1]="1067"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[2]="root"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[3]="Test Page"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[4]="1"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] argv[5]="job-uuid=urn:uuid:fc50eba5-b8e9-35b2-638e-c677bd35cf76 job-
originating-host-name=localhost"
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[8]="HOME=/var/spool/cups/tmp"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[11]="SOFTWARE=CUPS/1.4.4"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[12]="TMPDIR=/var/spool/cups/tmp"
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[18]="CHARSET=utf-8"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[19]="LANG=pl.UTF-8"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[20]="PPD=/etc/cups/ppd/HP_Deskjet_3740.ppd"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] envp[21]="RIP_MAX_CACHE=auto"
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] pstopdf 5 args: 1067 root Test Page 1 job-uuid=urn:uuid:fc50eba5-b8e9-
35b2-638e-c677bd35cf76 job-originating-host-name=localhost
D [23/Feb/2011:17:32:42 +0100] [Job 1067] PPD: /etc/cups/ppd/HP_Deskjet_3740.ppd
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Getting input from file 
D [23/Feb/2011:17:32:42 +0100] [Job 1067] load_banner(filename="/var/spool/cups/d01067-001")
D [23/Feb/2011:17:32:42 +0100] [Job 1067] foomatic-rip version 4.0.5.223 running...
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Job title: Test Page
D [23/Feb/2011:17:32:42 +0100] [Job 1067] File(s) to be printed:
D [23/Feb/2011:17:32:42 +0100] [Job 1067] <STDIN>
...
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Starting process "kid3" (generation 1)
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Starting process "kid4" (generation 2)
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Starting process "renderer" (generation 2)
D [23/Feb/2011:17:32:42 +0100] [Job 1067] JCL: %-12345X@PJL
D [23/Feb/2011:17:32:42 +0100] [Job 1067] <job data> 
D [23/Feb/2011:17:32:42 +0100] [Job 1067] 
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Set job-printer-state-message to "nie można zapisać 8192 bajtów do 
drukarki!", current level=ERROR
D [23/Feb/2011:17:32:42 +0100] [Job 1067] GPL Ghostscript 8.71: Unrecoverable error, exit code 1
D [23/Feb/2011:17:32:42 +0100] [Job 1067] renderer exited with status 1
D [23/Feb/2011:17:32:42 +0100] [Job 1067] Possible error on renderer command line or PostScript error. Check 
options.Kid3 exit status: 3
D [23/Feb/2011:17:32:42 +0100] [Job 1067] End of messages
D [23/Feb/2011:17:32:42 +0100] [Job 1067] printer-state=3(idle)
D [23/Feb/2011:17:32:42 +0100] [Job 1067] printer-state-message="nie można zapisać 8192 bajtów do drukarki!"
D [23/Feb/2011:17:32:42 +0100] [Job 1067] printer-state-reasons=none
Samba:

Kod: Zaznacz cały

  ## Printing ##
  #load printers = yes
  printing = cups
  printcap name = cups
  disable spoolss = yes
  show add printer wizard = no
  cups options = raw

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
  guest ok = yes
  printable = yes
  use client driver = yes

[print$]
  comment = Printer Driver Download Area
  path = /var/lib/samba/drivers
  browseable = yes
  guest ok = yes
  read only = yes
  write list = budzigniew, root, @lpadmin
Po napisaniu postu przeinstalowałem drukarkę i umożliwiłem drukowanie użytkownikom root i nobody, ale dalej nic.

: 24 lutego 2011, 16:22
autor: fnmirk