[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#576935: cups: Queue automatically paused when printer is restarted



Package: cups
Version: 1.4.2-4
Severity: normal

When printing a pdf-document on a HP LaserJet 4050N (via network,
socket://hp4050-4) the printer hang. (It is common, evince+cups PS
driver+HP4050N = crap)

I canceled the print-job, but the printer was dead. I then
power-cycled the printer.

The result is that the next job ended up in the status "Unable to
write print data: Broken pipe", and the printer queue was paused.

I then tried to resume the queue, but just got an "forbidden" message
back. I had to login as root to resume the queue.

>From /var/log/cups/error_log:

...
D [08/Apr/2010:10:36:43 +0200] [Job 190] prtMarkerSuppliesLevel.1.1 = 2540
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] prtMarkerSuppliesLevel.1.1 = 2540
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] prtMarkerSuppliesLevel.1.1 = 2540
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] prtMarkerSuppliesLevel.1.1 = 2540
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] Error reading back-channel data: Connec
tion reset by peer
D [08/Apr/2010:10:36:43 +0200] [Job 190] Set job-printer-state-message to "Unabl
e to write print data: Broken pipe", current level=ERROR
D [08/Apr/2010:10:36:43 +0200] [Job 190] Utskriftsfil skickad, v<C3><A4>ntar p
<C3><A5> skrivaren...
D [08/Apr/2010:10:36:43 +0200] [Job 190] ATTR: marker-levels=55
D [08/Apr/2010:10:36:43 +0200] [Job 190] Before page loop - %%Page: 1 1
D [08/Apr/2010:10:36:43 +0200] [Job 190] Copying page 1...
D [08/Apr/2010:10:36:43 +0200] [Job 190] PAGE: 1 1
D [08/Apr/2010:10:36:43 +0200] [Job 190] pagew = 568.3, pagel = 817.7
D [08/Apr/2010:10:36:43 +0200] [Job 190] bboxx = 0, bboxy = 0, bboxw = 595, bbox
l = 842
...
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageLeft = 13.4, PageRight = 581.8
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageTop = 829.7, PageBottom = 12.1
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageWidth = 595.0, PageLength = 842.0
D [08/Apr/2010:10:36:43 +0200] [Job 190] Copying page 17...
D [08/Apr/2010:10:36:43 +0200] [Job 190] PAGE: 17 1
D [08/Apr/2010:10:36:43 +0200] [Job 190] pagew = 568.3, pagel = 817.7
D [08/Apr/2010:10:36:43 +0200] [Job 190] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageLeft = 13.4, PageRight = 581.8
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageTop = 829.7, PageBottom = 12.1
D [08/Apr/2010:10:36:43 +0200] [Job 190] PageWidth = 595.0, PageLength = 842.0
D [08/Apr/2010:10:36:43 +0200] [Job 190] Wrote 17 pages...
D [08/Apr/2010:10:36:43 +0200] [Job 190] Backend returned status 1 (failed)
D [08/Apr/2010:10:36:43 +0200] [Job 190] Printer stopped due to backend errors; please consult the error_log file for details.
D [08/Apr/2010:10:36:43 +0200] [Job 190] End of messages
D [08/Apr/2010:10:36:43 +0200] [Job 190] printer-state=5(stopped)
D [08/Apr/2010:10:36:43 +0200] [Job 190] printer-state-message="Utskriftsfil skickad, v<C3><A4>ntar p<C3><A5> skrivaren..."
D [08/Apr/2010:10:36:43 +0200] [Job 190] printer-state-reasons=paused
E [08/Apr/2010:11:38:42 +0200] Returning HTTP Forbidden for Resume-Printer (ipp://localhost/printers/k5a4) from localhost
...

Why is the queue automatically paused???

/ Anders

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (51, 'testing-proposed-updates'), (50, 'unstable'), (40, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.8 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.UTF8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser                3.112             add and remove users and groups
ii  bc                     1.06.95-2         The GNU bc arbitrary precision cal
ii  cups-client            1.4.2-4           Common UNIX Printing System(tm) - 
ii  cups-common            1.4.2-4           Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]  1.5.30            Debian configuration management sy
ii  ghostscript            8.71~dfsg-3       The GPL Ghostscript PostScript/PDF
ii  libavahi-client3       0.6.25-3          Avahi client library
ii  libavahi-common3       0.6.25-3          Avahi common library
ii  libc6                  2.10.2-6          Embedded GNU C Library: Shared lib
ii  libcups2               1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupscgi1            1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsdriver1         1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsimage2          1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsmime1           1.4.2-4           Common UNIX Printing System(tm) - 
ii  libcupsppdc1           1.4.2-4           Common UNIX Printing System(tm) - 
ii  libdbus-1-3            1.2.20-2          simple interprocess messaging syst
ii  libgcc1                1:4.4.2-9         GCC support library
ii  libgnutls26            2.8.6-1           the GNU TLS library - runtime libr
ii  libgssapi-krb5-2       1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - k
ii  libijs-0.35            0.35-7            IJS raster image transport protoco
ii  libkrb5-3              1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries
ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
ii  libpam0g               1.1.1-2           Pluggable Authentication Modules l
ii  libpaper1              1.1.23+nmu2       library for handling paper charact
ii  libpoppler5            0.12.2-2          PDF rendering library
ii  libslp1                1.2.1-7.6         OpenSLP libraries
ii  libstdc++6             4.4.2-9           The GNU Standard C++ Library v3
ii  libusb-0.1-4           2:0.1.12-14       userspace USB programming library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  perl-modules           5.10.1-11         Core Perl modules
ii  poppler-utils          0.12.2-2          PDF utilitites (based on libpopple
ii  procps                 1:3.2.8-8         /proc file system utilities
ii  ssl-cert               1.0.25            simple debconf wrapper for OpenSSL
ii  ttf-freefont           20090104-5        Freefont Serif, Sans and Mono True
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages cups recommends:
pn  cups-driver-gutenprint    <none>         (no description available)
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
ii  ghostscript-cups          8.71~dfsg-3    The GPL Ghostscript PostScript/PDF

Versions of packages cups suggests:
ii  cups-bsd                  1.4.2-4        Common UNIX Printing System(tm) - 
ii  cups-pdf                  2.5.0-12       PDF printer for CUPS
pn  cups-ppdc                 <none>         (no description available)
pn  foomatic-db               <none>         (no description available)
pn  foomatic-db-engine        <none>         (no description available)
ii  hplip                     3.10.2-1       HP Linux Printing and Imaging Syst
ii  smbclient                 2:3.4.7~dfsg-1 command-line SMB/CIFS clients for 
ii  udev                      151-3          /dev/ and hotplug management daemo
pn  xpdf-korean | xpdf-japane <none>         (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd




Reply to: