[linux-l] cups 1.1.15 mhhh ... ein Problem!

Matthias Kahlenberger kahlenberger.m at snafu.de
Di Jul 16 01:04:20 CEST 2002


Hallo ihr da draußen,

folgendes Problem habe ich da:


Nach dem übersetzen von cups 1.1.15 und dem anschließenden checkinstall
(oder make install) möchte ich nach dem Einrichten eines Druckers eine
Testseite drucken, aber er versagt. Im Webfrontend sagt er mir, dass er den
Job ge-"cancelled" hat.


Der Drucker ist angeschlossen, und mit "echo hallo > /dev/lp0" druckt mein
Drucker auch.


die error_log sagt das zu mir, wenn ich auf den "Testseite"-Button im
Webfrontend klicke (auch bei "echo hallo | lpr" ) :

E [16/Jul/2002:00:21:49 +0000] Unable to convert file 0 to printable format
for job 15!


und mit "debug2" bei dem "LogLevel"-Schlüsselwort, spricht er so zu mir:

d [16/Jul/2002:00:47:11 +0000] AcceptClient(0x80842e0) 0 NumClients = 0
D [16/Jul/2002:00:47:11 +0000] AcceptClient() 5 from 192.168.0.2:80.
d [16/Jul/2002:00:47:11 +0000] AcceptClient: Adding fd 5 to InputSet...
D [16/Jul/2002:00:47:11 +0000] ReadClient() 5 GET
/printers/desktjet?op=print-test-page HTTP/1.1
d [16/Jul/2002:00:47:11 +0000] decode_auth(0x402f0008): Authorization string
= "Basic cm9vdDpsaW51eA=="
d [16/Jul/2002:00:47:11 +0000] decode_auth() 5 username="root"
d [16/Jul/2002:00:47:11 +0000] IsAuthorized: con->uri =
"/printers/desktjet?op=print-test-page"
d [16/Jul/2002:00:47:11 +0000] FindBest: uri =
"/printers/desktjet?op=print-test-page"...
d [16/Jul/2002:00:47:11 +0000] FindBest: Location / Limit 7f
d [16/Jul/2002:00:47:11 +0000] FindBest: Location /admin Limit 7f
d [16/Jul/2002:00:47:11 +0000] FindBest: best = "/"
d [16/Jul/2002:00:47:11 +0000] IsAuthorized: auth = 0, satisfy=0...
D [16/Jul/2002:00:47:11 +0000] CGI /usr/lib/cups/cgi-bin/printers.cgi
started - PID = 9612
I [16/Jul/2002:00:47:11 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi"
(pid=9612)
D [16/Jul/2002:00:47:11 +0000] SendCommand() 5 file=8
d [16/Jul/2002:00:47:11 +0000] SendCommand: Adding fd 8 to InputSet...
d [16/Jul/2002:00:47:11 +0000] SendCommand: Adding fd 5 to OutputSet...
d [16/Jul/2002:00:47:11 +0000] AcceptClient(0x80842e0) 0 NumClients = 1
D [16/Jul/2002:00:47:11 +0000] AcceptClient() 7 from 127.0.0.1:80.
d [16/Jul/2002:00:47:11 +0000] AcceptClient: Adding fd 7 to InputSet...
d [16/Jul/2002:00:47:11 +0000] WriteClient() 5 Content-Type:
text/html;charset=iso-8859-1
d [16/Jul/2002:00:47:11 +0000] WriteClient() 5
d [16/Jul/2002:00:47:11 +0000] WriteClient() 5 1168 bytes
D [16/Jul/2002:00:47:11 +0000] ReadClient() 7 POST /printers/desktjet
HTTP/1.1
d [16/Jul/2002:00:47:11 +0000] decode_auth(0x402f3220): Authorization string
= ""
d [16/Jul/2002:00:47:11 +0000] decode_auth() 7 username=""
d [16/Jul/2002:00:47:11 +0000] IsAuthorized: con->uri = "/printers/desktjet"
d [16/Jul/2002:00:47:11 +0000] FindBest: uri = "/printers/desktjet"...
d [16/Jul/2002:00:47:11 +0000] FindBest: Location / Limit 7f
d [16/Jul/2002:00:47:11 +0000] FindBest: Location /admin Limit 7f
d [16/Jul/2002:00:47:11 +0000] FindBest: best = "/"
d [16/Jul/2002:00:47:11 +0000] IsAuthorized: auth = 0, satisfy=0...
d [16/Jul/2002:00:47:11 +0000] POST /printers/desktjet
d [16/Jul/2002:00:47:11 +0000] CONTENT_TYPE = application/ipp
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 con->data_encoding = length,
con->data_remaining = 14767, con->file = 0
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 REQUEST
/var/spool/cups/00000004=9
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 writing 1721 bytes to 9
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 con->data_encoding = length,
con->data_remaining = 12826, con->file = 9
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 writing 12826 bytes to 9
d [16/Jul/2002:00:47:11 +0000] ReadClient() 7 Closing data file 9, size =
14547.
d [16/Jul/2002:00:47:11 +0000] ProcessIPPRequest(0x402f3220[7]):
operation_id = 0002
d [16/Jul/2002:00:47:11 +0000] print_job(0x402f3220[7],
ipp://localhost/printers/desktjet)
D [16/Jul/2002:00:47:11 +0000] print_job: request file type is
application/postscript.
d [16/Jul/2002:00:47:11 +0000] check_quotas(0x402f3220[7],
0x808ef08[desktjet])
D [16/Jul/2002:00:47:11 +0000] check_quotas: requesting-user-name = 'root'
D [16/Jul/2002:00:47:11 +0000] print_job: requesting-user-name = 'root'
D [16/Jul/2002:00:47:11 +0000] Adding default job-sheets values
"none,none"...
d [16/Jul/2002:00:47:11 +0000] copy_banner(0x402f3220[7], 0x80a3670[20],
none)
d [16/Jul/2002:00:47:11 +0000] add_file(0x402f3220[7], 20,
application/postscript)
d [16/Jul/2002:00:47:11 +0000] copy_banner(0x402f3220[7], 0x80a3670[20],
none)
I [16/Jul/2002:00:47:11 +0000] Job 20 queued on 'desktjet' by 'root'.
D [16/Jul/2002:00:47:11 +0000] Job 20 hold_until = 0
D [16/Jul/2002:00:47:11 +0000] StartJob(20, 0x808ef08)
D [16/Jul/2002:00:47:11 +0000] StartJob() id = 20, file = 0/1
E [16/Jul/2002:00:47:11 +0000] Unable to convert file 0 to printable format
for job 20!
D [16/Jul/2002:00:47:11 +0000] CancelJob: id = 20
d [16/Jul/2002:00:47:11 +0000] add_job_state_reasons(0x402f3220[7], 20)
d [16/Jul/2002:00:47:11 +0000] WriteClient: Removing fd 7 from OutputSet...
D [16/Jul/2002:00:47:11 +0000] CloseClient() 7
d [16/Jul/2002:00:47:11 +0000] CloseClient: Removing fd 7 from InputSet and
OutputSet...
d [16/Jul/2002:00:47:11 +0000] WriteClient: Removing fd 5 from OutputSet...
d [16/Jul/2002:00:47:11 +0000] WriteClient: Removing fd 8 from InputSet...
d [16/Jul/2002:00:47:11 +0000] WriteClient: 5 Closing data file 8.
D [16/Jul/2002:00:48:11 +0000] CloseClient() 5
d [16/Jul/2002:00:48:11 +0000] CloseClient: Removing fd 5 from InputSet and
OutputSet...

... ach ja, beim übersetzen hatte ich keine Fehler bemerkt, und nur mit der
Option "--enable-ssl" gearbeitet.

und wenn ich vieleicht nur zu blöd zum Fehlersuchen bin, dann wäre es nett
wenn ihr mir einen Tip zum Weiterforschen geben könnt (google u.ä. hab ich
schon vergeblich versucht).

Danke für eure Hilfe, ich bin echt ratlos!

Matthias





Mehr Informationen über die Mailingliste linux-l