Gentoo Archives: gentoo-user-de

From: Stefan Ulrich Hegner <stefan@×××××××××××××.de>
To: gentoo-user-de <gentoo-user-de@l.g.o>
Subject: [gentoo-user-de] Cups streikt ...
Date: Mon, 18 Oct 2004 18:08:55
Message-Id: 1098122907.22978.54.camel@hegi.hegner.hn.org
1 Hallo Liste,
2 was macht man, wenn der Cups streikt? - Ich bin mittlerweile ziemlich
3 ratlos. - Denke schon darüber nach lprng zu emergen ... nur um wieder
4 drucken zu können.
5
6 Also ich kann z.B. mit cat auf /dev/usb/usblp0 zugreifen und drucken.
7 Ebenfalls kann ich die Cups-Hauptseite (http://localhost:631) aufrufen.
8 Aber wenn ich entweder versuche etwas zu drucken oder auf die
9 Unterseiten von Cups zugreifen will passiert nicht. - Es folgt mal der
10 "debug2" Logauszug vom Zugriff auf /printers. - Angeblich kann er das
11 cgi-script nicht ausführen. - Aber es ist identisch, am selben Ort und
12 hat die selben Rechte wie auf meiner anderen Kiste - Daran kann es auch
13 nicht liegen. Hatte auch schon den Shorewall in Verdacht. - Aber wenn
14 ich den ausknipse und alle Policies auf Accept setze, ändert das auch
15 nichts am Resultat.
16
17 Hat jemand von Euch da noch eine Idee?
18
19 1000 Dank im voraus!
20
21 MfG
22
23 Stefan.
24
25 Hier der Logschnipsel, ein etwas längern Logabschnitt habe ich mal als
26 tbz2 anghängt (2,5k)
27 ---8<------8<-----8<-----8<-----8<-----8<---
28
29 d [18/Oct/2004:12:18:50 +0200] AcceptClient(0x8085e78) 0 NumClients = 0
30 D [18/Oct/2004:12:18:50 +0200] AcceptClient() 4 from localhost:631.
31 d [18/Oct/2004:12:18:50 +0200] AcceptClient: Adding fd 4 to InputSet...
32 d [18/Oct/2004:12:18:50 +0200] ReadClient() 4, used=0
33 D [18/Oct/2004:12:18:50 +0200] ReadClient() 4 GET /printers HTTP/1.1
34 d [18/Oct/2004:12:18:50 +0200] decode_auth(0x40558008): Authorization
35 string = "Basic cm9vdDpIRi1KUzUy"
36 d [18/Oct/2004:12:18:50 +0200] decode_auth() 4 username="root"
37 d [18/Oct/2004:12:18:50 +0200] IsAuthorized: con->uri = "/printers"
38 d [18/Oct/2004:12:18:50 +0200] FindBest: uri = "/printers"...
39 d [18/Oct/2004:12:18:50 +0200] FindBest: Location / Limit 7f
40 d [18/Oct/2004:12:18:50 +0200] FindBest: Location /admin Limit 7f
41 d [18/Oct/2004:12:18:50 +0200] FindBest: best = "/"
42 d [18/Oct/2004:12:18:50 +0200] IsAuthorized: auth = 0, satisfy=0...
43 d [18/Oct/2004:12:18:50 +0200] argv[0] = "printers.cgi"
44 d [18/Oct/2004:12:18:50 +0200] envp[0] = "PATH=/bin:/usr/bin"
45 d [18/Oct/2004:12:18:50 +0200] envp[1] = "SERVER_SOFTWARE=CUPS/1.1"
46 d [18/Oct/2004:12:18:50 +0200] envp[2] = "GATEWAY_INTERFACE=CGI/1.1"
47 d [18/Oct/2004:12:18:50 +0200] envp[3] = "SERVER_PROTOCOL=HTTP/1.1"
48 d [18/Oct/2004:12:18:50 +0200] envp[4] = "REDIRECT_STATUS=1"
49 d [18/Oct/2004:12:18:50 +0200] envp[5] = "CUPS_SERVER=localhost"
50 d [18/Oct/2004:12:18:50 +0200] envp[6] = "IPP_PORT=631"
51 d [18/Oct/2004:12:18:50 +0200] envp[7] = "SERVER_NAME=localhost"
52 d [18/Oct/2004:12:18:50 +0200] envp[8] = "SERVER_PORT=631"
53 d [18/Oct/2004:12:18:50 +0200] envp[9] = "REMOTE_ADDR=127.0.0.1"
54 d [18/Oct/2004:12:18:50 +0200] envp[10] = "REMOTE_HOST=localhost"
55 d [18/Oct/2004:12:18:50 +0200] envp[11] = "REMOTE_USER=root"
56 d [18/Oct/2004:12:18:50 +0200] envp[12] = "LANG=de.UTF-8"
57 d [18/Oct/2004:12:18:50 +0200] envp[13] = ""
58 d [18/Oct/2004:12:18:50 +0200] envp[14] = "TMPDIR=/var/spool/cups/tmp"
59 d [18/Oct/2004:12:18:50 +0200] envp[15] = "CUPS_DATADIR=/usr/share/cups"
60 d [18/Oct/2004:12:18:50 +0200] envp[16] = "CUPS_SERVERROOT=/etc/cups"
61 d [18/Oct/2004:12:18:50 +0200] envp[17] = "HTTP_USER_AGENT=Mozilla/5.0
62 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040925"
63 d [18/Oct/2004:12:18:50 +0200] envp[18] = "SCRIPT_NAME=/printers"
64 d [18/Oct/2004:12:18:50 +0200] envp[19] = "REQUEST_METHOD=GET"
65 d [18/Oct/2004:12:18:50 +0200] AddCert: adding certificate for pid 8087
66 D [18/Oct/2004:12:18:50 +0200] CGI /usr/lib/cups/cgi-bin/printers.cgi
67 started - PID = 8087
68 I [18/Oct/2004:12:18:50 +0200] Started
69 "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8087)
70 D [18/Oct/2004:12:18:50 +0200] SendCommand() 4 file=6
71 d [18/Oct/2004:12:18:50 +0200] SendCommand: Adding fd 6 to InputSet...
72 d [18/Oct/2004:12:18:50 +0200] SendCommand: Adding fd 4 to OutputSet...
73 E [18/Oct/2004:12:18:50 +0200] PID 8087 stopped with status 13!
74 d [18/Oct/2004:12:18:50 +0200] DeleteCert: removing certificate for pid
75 8087
76 d [18/Oct/2004:12:18:50 +0200] WriteClient: Removing fd 4 from
77 OutputSet...
78 d [18/Oct/2004:12:18:50 +0200] WriteClient: Removing fd 6 from
79 InputSet...
80 d [18/Oct/2004:12:18:50 +0200] WriteClient: 4 Closing data file 6.
81 d [18/Oct/2004:12:19:09 +0200] ReadClient() 4, used=0
82 D [18/Oct/2004:12:19:09 +0200] CloseClient() 4
83 d [18/Oct/2004:12:19:09 +0200] CloseClient: Removing fd 4 from InputSet
84 and OutputSet...
85
86 --
87 / Stefan Ulrich Hegner aka "Hegi" - Loehne/ Westfalen - Germany \
88 | stefan@×××××××××××××.de, my Cyberhome http://www.hegner-web.de|
89 \ GPG-Fprint D9DB 51BD 2DA6 9B3A 41CB 0287 05A1 8D11 38BA CE91 /

Attachments

File name MIME type
signature.asc application/pgp-signature