[Pkg-cups-devel] Bug#356500: does not print anything - probably merge with bug 301012

Daniel Knabl daniel at tirolinux.net
Wed Apr 23 16:28:47 UTC 2008


When adding a "Canon PIXMA iP4000" USB-printer I got some strange errors. After upgrading to latest
sid-packages (2008-apr-23) the problems are still the same. I spent some time on investigating logs and
console, but no solution is found. See log-snippets below: (GET-lines from access_log partially removed)

==> /var/log/cups/access_log <==  
localhost - - [23/Apr/2008:18:07:52 +0200] "GET / HTTP/1.1" 200 5627 - -
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:52 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /printers/ HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /printers/ HTTP/1.1" 200 3651 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:56 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:57 +0200] "GET /admin HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "POST / HTTP/1.1" 200 104 Get-Subscriptions client-error-not-found
localhost - - [23/Apr/2008:18:07:57 +0200] "GET /admin HTTP/1.1" 200 6198 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:07:58 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /admin?op=add-printer HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /admin?op=add-printer HTTP/1.1" 200 4250 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:03 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:05 +0200] "GET /admin HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:08:05 +0200] "POST / HTTP/1.1" 200 104 Get-Subscriptions client-error-not-found
localhost - - [23/Apr/2008:18:08:05 +0200] "GET /admin HTTP/1.1" 200 6198 - -
localhost - - [23/Apr/2008:18:08:05 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:08:05 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:05 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:08:06 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:08:06 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:06 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /admin?op=find-new-printers HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /images/tab-right.gif HTTP/1.1" 200 47 - -
localhost - - [23/Apr/2008:18:08:19 +0200] "POST / HTTP/1.1" 200 411 CUPS-Get-Classes client-error-not-found
localhost - - [23/Apr/2008:18:08:19 +0200] "POST / HTTP/1.1" 200 411 CUPS-Get-Classes client-error-not-found
localhost - - [23/Apr/2008:18:08:07 +0200] "POST / HTTP/1.1" 200 1924 CUPS-Get-Devices -
localhost - - [23/Apr/2008:18:08:07 +0200] "GET /admin?op=find-new-printers HTTP/1.1" 200 4465 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /images/button-add-this-printer.gif HTTP/1.1" 200 764 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /images/button-add-this-printer.gif HTTP/1.1" 200 764 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /images/button-add-this-printer.gif HTTP/1.1" 200 764 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /images/bottom-left.gif HTTP/1.1" 200 122 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:20 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /admin?op=add-printer&TEMPLATE_NAME=Canon_iP4000_USB_1&PRINTER_LOCATION=Local+Printer&PRINTER_INFO=Canon+iP4000&DEVICE_URI=usb://Canon/iP4000|Canon+iP4000 HTTP/1.1" 200 0 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /admin?op=add-printer&TEMPLATE_NAME=Canon_iP4000_USB_1&PRINTER_LOCATION=Local+Printer&PRINTER_INFO=Canon+iP4000&DEVICE_URI=usb://Canon/iP4000|Canon+iP4000 HTTP/1.1" 200 4372 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:08:59 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:09:02 +0200] "POST /admin HTTP/1.1" 200 166 - -
localhost - - [23/Apr/2008:18:09:02 +0200] "POST / HTTP/1.1" 200 82479 CUPS-Get-PPDs -
localhost - - [23/Apr/2008:18:09:03 +0200] "GET /cups.css HTTP/1.1" 200 3998 - -
localhost - - [23/Apr/2008:18:09:02 +0200] "POST /admin HTTP/1.1" 200 31069 - -
localhost - - [23/Apr/2008:18:09:03 +0200] "GET /favicon.ico HTTP/1.1" 200 3638 - -
localhost - - [23/Apr/2008:18:09:03 +0200] "GET /images/top-left.gif HTTP/1.1" 200 473 - -
[...more images...]
localhost - - [23/Apr/2008:18:09:03 +0200] "GET /images/bottom-right.gif HTTP/1.1" 200 123 - -
localhost - - [23/Apr/2008:18:09:03 +0200] "GET /favicon.ico HTTP/1.1"
200 3638 - -

==> /var/log/cups/error_log <==  
E [23/Apr/2008:18:09:02 +0200] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory
E [23/Apr/2008:18:09:02 +0200] [cups-driverd] Unable to write "/var/cache/cups/ppds.dat" - Permission denied

==> /var/log/cups/access_log <==  
localhost - - [23/Apr/2008:18:10:09 +0200] "POST /admin HTTP/1.1" 200 1793 - -
localhost - - [23/Apr/2008:18:10:09 +0200] "POST /admin/ HTTP/1.1" 401 330 CUPS-Add-Modify-Printer successful-ok
localhost - - [23/Apr/2008:18:10:09 +0200] "POST /admin HTTP/1.1" 401 1793 - -
localhost - - [23/Apr/2008:18:10:09 +0200] "POST /admin HTTP/1.1" 200 1793 - -

==> /var/log/cups/error_log <==  
E [23/Apr/2008:18:10:09 +0200] CUPS-Add-Modify-Printer: Unauthorized

As you can see, there are some strange paths that I didn't even expect to be used, because the package was
installed the Debian way (*.deb packages, not *.tar.gz): /opt/share/ppd ???


Many thanks in advance
Daniel

-- 
Daniel Knabl
www.tirolinux.net             daniel at tirolinux.net
PGP/GPG Fingerprint - please send signed mail only
A069 671B 39F2 E9B9 FB34  68BB 4BEC 1344 C8A4 3F0B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20080423/6a8cb0b2/attachment-0001.pgp 


More information about the Pkg-cups-devel mailing list