Re: Rudi Ratlos bei Cups

2006-08-24 Diskussionsfäden Christian Schmidt
Hallo Jochen,

Jochen Heller, 09.08.2006 (d.m.y):

 Also das:
 
 D [09/Aug/2006:00:30:14 +0200] SendError: 7 code=401 (Unauthorized)
 
 scheint ja schon auf irgendein Rechte-Problem schließen. Ich komm trotzdem 
 nicht drauf. /dev/lp0 hat wie gesagt jetzt 666. 

Das Rehteproblem bezieht sich IMO aber nicht auf die Rechte im
Dateisystem, sondern auf die CUPS-Berechtigungen, die Du in der
cupsd.conf fuer die verschiedenen Instanzen definieren kannst...

Schau in der Datei mal nach den Allow- bzw. Deny-Direktiven.

Gruss,
Christian Schmidt

-- 
Es wäre der erste Spam mit interessantem Inhalt, der mir begegnet ...
-- Martin Bienwald auf der kif-l


signature.asc
Description: Digital signature


Re: Rudi Ratlos bei Cups

2006-08-22 Diskussionsfäden Jochen Heller
Die debug-level_Fehlermeldung ab dem Restart (glaub' ich):

I [09/Aug/2006:00:29:55 +0200] Full reload complete.
D [09/Aug/2006:00:29:55 +0200] StartListening: NumListeners=1
D [09/Aug/2006:00:29:55 +0200] StartListening: address= port=631
D [09/Aug/2006:00:29:55 +0200] ResumeListening: setting input bits...
D [09/Aug/2006:00:30:04 +0200] AcceptClient: 5 from localhost:631.
D [09/Aug/2006:00:30:04 +0200] ReadClient: 5 GET /favicon.ico HTTP/1.1
D [09/Aug/2006:00:30:05 +0200] SendError: 5 code=404 (Not Found)
D [09/Aug/2006:00:30:05 +0200] CloseClient: 5
D [09/Aug/2006:00:30:07 +0200] AcceptClient: 5 from localhost:631.
D [09/Aug/2006:00:30:07 +0200] ReadClient: 5 GET /jobs HTTP/1.1
D [09/Aug/2006:00:30:08 +0200] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - 
PID = 3667
I [09/Aug/2006:00:30:08 +0200] Started 
/usr/lib/cups/cgi-bin/jobs.cgi (pid=3667)
D [09/Aug/2006:00:30:08 +0200] SendCommand: 5 file=8
D [09/Aug/2006:00:30:08 +0200] AcceptClient: 7 from localhost:631.
D [09/Aug/2006:00:30:09 +0200] ReadClient: 7 POST / HTTP/1.1
D [09/Aug/2006:00:30:09 +0200] ProcessIPPRequest: 7 status_code=1
D [09/Aug/2006:00:30:09 +0200] CloseClient: 7
D [09/Aug/2006:00:30:09 +0200] ReadClient: 5 GET /favicon.ico HTTP/1.1
D [09/Aug/2006:00:30:09 +0200] SendError: 5 code=404 (Not Found)
D [09/Aug/2006:00:30:09 +0200] CloseClient: 5
D [09/Aug/2006:00:30:11 +0200] AcceptClient: 5 from localhost:631.
D [09/Aug/2006:00:30:11 +0200] ReadClient: 5 GET /jobs?which_jobs=completed 
HTTP/1.1
D [09/Aug/2006:00:30:11 +0200] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - 
PID = 3669
I [09/Aug/2006:00:30:11 +0200] Started 
/usr/lib/cups/cgi-bin/jobs.cgi (pid=3669)
D [09/Aug/2006:00:30:11 +0200] SendCommand: 5 file=8
D [09/Aug/2006:00:30:11 +0200] AcceptClient: 7 from localhost:631.
D [09/Aug/2006:00:30:11 +0200] ReadClient: 7 POST / HTTP/1.1
D [09/Aug/2006:00:30:11 +0200] ProcessIPPRequest: 7 status_code=1
D [09/Aug/2006:00:30:11 +0200] CloseClient: 7
D [09/Aug/2006:00:30:11 +0200] ReadClient: 5 GET /favicon.ico HTTP/1.1
D [09/Aug/2006:00:30:11 +0200] SendError: 5 code=404 (Not Found)
D [09/Aug/2006:00:30:11 +0200] CloseClient: 5
D [09/Aug/2006:00:30:14 +0200] AcceptClient: 5 from localhost:631.
D [09/Aug/2006:00:30:14 +0200] ReadClient: 5 
GET /jobs/?op=restart-jobjob_id=5 HTTP/1.1
D [09/Aug/2006:00:30:14 +0200] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - 
PID = 3670
I [09/Aug/2006:00:30:14 +0200] Started 
/usr/lib/cups/cgi-bin/jobs.cgi (pid=3670)
D [09/Aug/2006:00:30:14 +0200] SendCommand: 5 file=8
D [09/Aug/2006:00:30:14 +0200] AcceptClient: 7 from localhost:631.
D [09/Aug/2006:00:30:14 +0200] ReadClient: 7 POST /jobs HTTP/1.1
D [09/Aug/2006:00:30:14 +0200] SendError: 7 code=401 (Unauthorized)
D [09/Aug/2006:00:30:14 +0200] CloseClient: 7
D [09/Aug/2006:00:30:14 +0200] AcceptClient: 7 from localhost:631.
D [09/Aug/2006:00:30:14 +0200] ReadClient: 7 POST /jobs HTTP/1.1
E [09/Aug/2006:00:30:14 +0200] restart_job: job #5 cannot be restarted - no 
files!
D [09/Aug/2006:00:30:14 +0200] Sending error: client-error-not-possible
D [09/Aug/2006:00:30:14 +0200] ProcessIPPRequest: 7 status_code=404
D [09/Aug/2006:00:30:15 +0200] CloseClient: 7
D [09/Aug/2006:00:30:15 +0200] ReadClient: 5 GET /favicon.ico HTTP/1.1
D [09/Aug/2006:00:30:15 +0200] SendError: 5 code=404 (Not Found)
D [09/Aug/2006:00:30:15 +0200] CloseClient: 5

Also das:

D [09/Aug/2006:00:30:14 +0200] SendError: 7 code=401 (Unauthorized)

scheint ja schon auf irgendein Rechte-Problem schließen. Ich komm trotzdem 
nicht drauf. /dev/lp0 hat wie gesagt jetzt 666. Und sicherheitshalber hab ich 
mich trotzdem noch in die Gruppe lp eingetragen. (Ob das jetzt auf der 
anderen Seite ein Sicherheitsrisiko ist? Keine Ahnung. Auf meinem Heimrechner 
ist das ohnehin nicht so wichtig.)

Ich hoffe Euch kommen da Ideen.

Nochmal liebe Grüße

Jochen.

-- 
Jochen Heller
Berlin
Germany

E-Mail : mailto:[EMAIL PROTECTED]
Web: http://www.nordviertel.net
ICQ: 164338222

proud Debian user since 2004 and Linux-User #357813
Registered with the Linux Counter, http://counter.li.org/
PGP-Public-Key available at hkp://subkeys.pgp.net

---
System:
CPU: AMD Athlon(tm) XP 1700+
Board: K7S6A
Speicher: 512 MB (DDR333)
Grafikkarte: Radeon VE 64 MB
Festplatten: IDE 60 GB, IDE 20 GB
Kernel: 2.6.8-1-k7
XServer: XFree 4.3.0
OS: Debian Sarge 3.1
DM: KDE 3.3
---



Re: Rudi Ratlos bei Cups

2006-08-18 Diskussionsfäden Fabian Holler
On 18.08.2006 03:40, Jochen Heller wrote:
 CUPS macht mir ein Problem, bei dem ich nicht wie sonst so oft intuitiv das 
 Problem erahnen kann. Ich bin eben kein Crack.
 I [08/Aug/2006:13:34:28 +0200] Job 8 queued on 'HPLaserjet4' by 'jochen'.
 E [08/Aug/2006:13:34:28 +0200] Unable to convert file 0 to printable format 
 for job 8!
 I [08/Aug/2006:13:34:28 +0200] Hint: Do you have ESP Ghostscript installed?
 I [08/Aug/2006:13:34:28 +0200] Hint: Try setting the LogLevel to debug.

CUPS kann das PDF Dokument anscheinend nicht in PS korrekt umwandeln.
Ist in /etc/cups/mime.convs ein Programm eingetragen welches PDF
Dokumente umwandelt?

 Ich werd jetzt mal noch sehen, wie ich herausfinde, den 
 LogLevel auf debug zu setzen.

Such mal nach LogLevel in /etc/cups/cupsd.conf

Gruß

Fabian



signature.asc
Description: OpenPGP digital signature