Problemy z CUPS-em.

Paweł Chuchmała styx w t15.ds.pwr.wroc.pl
Wto, 18 Lip 2006, 09:11:37 CEST


Witam.

Mam mały problem z CUPS-em. Po instalacji ac jeśli wchodzę do sekcji 
administracja (przez www) strona się nie wyświetla. W logach 
widnieje:
access_log:
localhost - root [18/Jul/2006:09:04:50 +0200] "GET /admin/ HTTP/1.1" 
200 0 - -
localhost - - [18/Jul/2006:09:04:50 +0200] "POST / HTTP/1.1" 200 154 
CUPS-Get-Printers client-error-not-found

error_log:
D [18/Jul/2006:09:05:34 +0200] cupsdAcceptClient: 17 from 
localhost:631 (IPv4)
D [18/Jul/2006:09:05:34 +0200] cupsdReadClient: 17 GET /admin/ 
HTTP/1.1
D [18/Jul/2006:09:05:34 +0200] cupsdReadClient: 17 Browser asked for 
language "pl.utf-8"...
D [18/Jul/2006:09:05:34 +0200] cupsdAuthorize: username="root"
D [18/Jul/2006:09:05:34 +0200] CGI /usr/lib/cups/cgi-bin/admin.cgi 
started - PID = 3592
I [18/Jul/2006:09:05:34 +0200] 
Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3592)
D [18/Jul/2006:09:05:34 +0200] cupsdSendCommand: 17 file=18
D [18/Jul/2006:09:05:34 +0200] [CGI] admin.cgi started...
D [18/Jul/2006:09:05:34 +0200] [CGI] http=0x8062530
D [18/Jul/2006:09:05:34 +0200] [CGI] No form data, showing main 
menu...
D [18/Jul/2006:09:05:34 +0200] cupsdAcceptClient: 19 from localhost 
(Domain)
D [18/Jul/2006:09:05:34 +0200] cupsdReadClient: 19 POST / HTTP/1.1
D [18/Jul/2006:09:05:34 +0200] cupsdAuthorize: No authentication data 
provided.
D [18/Jul/2006:09:05:34 +0200] CUPS-Get-Printers
E [18/Jul/2006:09:05:34 +0200] CUPS-Get-Printers 
client-error-not-found: Nie dodano celĂłw.
D [18/Jul/2006:09:05:34 +0200] cupsdProcessIPPRequest: 19 
status_code=406 (client-error-not-found)
D [18/Jul/2006:09:05:34 +0200] cupsdReadClient: 19 POST / HTTP/1.1
D [18/Jul/2006:09:05:34 +0200] cupsdAuthorize: No authentication data 
provided.
D [18/Jul/2006:09:05:34 +0200] CUPS-Get-Devices
D [18/Jul/2006:09:05:34 +0200] CGI /usr/lib/cups/daemon/cups-deviced 
started - PID = 3593
I [18/Jul/2006:09:05:34 +0200] 
Started "/usr/lib/cups/daemon/cups-deviced" (pid=3593)
D [18/Jul/2006:09:05:34 +0200] cupsdSendCommand: 19 file=20
D [18/Jul/2006:09:05:34 +0200] [cups-deviced] Added device "ipp"...
D [18/Jul/2006:09:05:34 +0200] [cups-deviced] Added device "lpd"...
D [18/Jul/2006:09:05:34 +0200] [cups-deviced] Added device "http"...
D [18/Jul/2006:09:05:34 +0200] [cups-deviced] Added device "scsi"...

Jeśli Ze strony głównej wejdę w 'dodaj drukarki' i spróbuję jakąś 
dodaćm to po kliknięciu 'dalej' też nie otwiera strony. Logi:
access_log:
localhost - root [18/Jul/2006:09:07:02 +0200] "POST /admin HTTP/1.1" 
200 83 - -

error_log:
D [18/Jul/2006:09:07:02 +0200] cupsdAcceptClient: 34 from 
localhost:631 (IPv4)
D [18/Jul/2006:09:07:02 +0200] cupsdReadClient: 34 POST /admin 
HTTP/1.1
D [18/Jul/2006:09:07:02 +0200] cupsdReadClient: 34 Browser asked for 
language "pl.utf-8"...
D [18/Jul/2006:09:07:02 +0200] cupsdAuthorize: username="root"
D [18/Jul/2006:09:07:02 +0200] CGI /usr/lib/cups/cgi-bin/admin.cgi 
started - PID = 3880
I [18/Jul/2006:09:07:02 +0200] 
Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=3880)
D [18/Jul/2006:09:07:02 +0200] cupsdSendCommand: 34 file=41
D [18/Jul/2006:09:07:02 +0200] [CGI] admin.cgi started...
D [18/Jul/2006:09:07:02 +0200] [CGI] http=0x8062530
D [18/Jul/2006:09:07:02 +0200] cupsdAcceptClient: 40 from localhost 
(Domain)
D [18/Jul/2006:09:07:02 +0200] [CGI] op="add-printer"...
D [18/Jul/2006:09:07:02 +0200] [CGI] do_am_printer: 
DEVICE_URI="(null)"
D [18/Jul/2006:09:07:02 +0200] [CGI] Getting list of devices...
D [18/Jul/2006:09:07:02 +0200] [CGI] http=0x8062530 
(/var/run/cups/cups.sock)
D [18/Jul/2006:09:07:02 +0200] cupsdReadClient: 40 POST / HTTP/1.1
D [18/Jul/2006:09:07:02 +0200] cupsdAuthorize: No authentication data 
provided.
D [18/Jul/2006:09:07:02 +0200] CUPS-Get-Devices 
ipp://localhost/printers/
D [18/Jul/2006:09:07:02 +0200] CGI /usr/lib/cups/daemon/cups-deviced 
started - PID = 3881
I [18/Jul/2006:09:07:02 +0200] 
Started "/usr/lib/cups/daemon/cups-deviced" (pid=3881)
D [18/Jul/2006:09:07:02 +0200] cupsdSendCommand: 40 file=42
D [18/Jul/2006:09:07:02 +0200] [cups-deviced] Added device "ipp"...
D [18/Jul/2006:09:07:02 +0200] [cups-deviced] Added device "lpd"...
D [18/Jul/2006:09:07:02 +0200] [cups-deviced] Added device "http"...
D [18/Jul/2006:09:07:02 +0200] [cups-deviced] Added device "scsi"...

Zainstalowane pakiety:
poldek:/all-avail> ls -I cups*
cups-1.2.1-7
cups-clients-1.2.1-7
cups-filter-foomatic-3.0.2-1
cups-filter-pstoraster-8.15.1-1
cups-foomatic-db-20051123-1
cups-foomatic-db-HP-20051123-1
cups-image-lib-1.2.1-7
cups-lib-1.2.1-7

Pamiętam też, że przed reinstalacją zaczęły się jakieś problemy na 
linii KDE-CUPS, ale to sprawdzę później.

Pozdr,

-- 
Paweł Chuchmała


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