Moin,
irgendwie spinnt der CUPS-Daemon auf meinem Server seit einigen Tagen. Da von keinem Client aus mehr gedruckt werden konnte, schaute ich mal ins Webinterface von CUPS.
Als ich dort auf Drucker klickte, bekam ich nur die Meldung
Code:
Abfragen der Druckerliste nicht möglich:
{error}
Jemand eine Idee, woran das liegt?
Hier noch die error_log von CUPS (habe LogLevel jetzt mal auf debug gestellt, vielleicht steht ja irgendwo der entscheidende Hinweis)
Code:
root@stuart[~]
13:20:21 # tail -f /var/log/cups/error_log
I [23/Jun/2011:13:20:18 +0200] Listening to /var/run/cups/cups.sock on fd 5...
I [23/Jun/2011:13:20:18 +0200] Resuming new connection processing...
D [23/Jun/2011:13:20:19 +0200] Report: clients=0
D [23/Jun/2011:13:20:19 +0200] Report: jobs=0
D [23/Jun/2011:13:20:19 +0200] Report: jobs-active=0
D [23/Jun/2011:13:20:19 +0200] Report: printers=0
D [23/Jun/2011:13:20:19 +0200] Report: printers-implicit=0
D [23/Jun/2011:13:20:19 +0200] Report: stringpool-string-count=170
D [23/Jun/2011:13:20:19 +0200] Report: stringpool-alloc-bytes=4992
D [23/Jun/2011:13:20:19 +0200] Report: stringpool-total-bytes=3736
D [23/Jun/2011:13:20:36 +0200] cupsdAcceptClient: 9 from 10.23.2.6:631 (IPv4)
D [23/Jun/2011:13:20:36 +0200] cupsdReadClient: 9 GET /jobs/ HTTP/1.1
D [23/Jun/2011:13:20:36 +0200] cupsdAuthorize: No authentication data provided.
D [23/Jun/2011:13:20:36 +0200] [CGI] /usr/lib/cups/cgi-bin/jobs.cgi started - PID = 8776
I [23/Jun/2011:13:20:36 +0200] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=8776)
D [23/Jun/2011:13:20:36 +0200] cupsdSendCommand: 9 file=10
D [23/Jun/2011:13:20:36 +0200] [CGI] HTTP_COOKIE="org.cups.sid=733d323209fb6941b3f4d9334523cfe2"
D [23/Jun/2011:13:20:36 +0200] [CGI] org.cups.sid cookie is "733d323209fb6941b3f4d9334523cfe2"
D [23/Jun/2011:13:20:36 +0200] [CGI] lang="de_DE.UTF8", locale="/de_DE"...
D [23/Jun/2011:13:20:36 +0200] [CGI] lang="de_DE.UTF8", locale="/de_DE"...
D [23/Jun/2011:13:20:36 +0200] PID 8776 (/usr/lib/cups/cgi-bin/jobs.cgi) exited with no errors.
D [23/Jun/2011:13:20:38 +0200] cupsdReadClient: 9 GET /printers/ HTTP/1.1
D [23/Jun/2011:13:20:38 +0200] cupsdAuthorize: No authentication data provided.
D [23/Jun/2011:13:20:38 +0200] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 8777
I [23/Jun/2011:13:20:38 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=8777)
D [23/Jun/2011:13:20:38 +0200] cupsdSendCommand: 9 file=10
D [23/Jun/2011:13:20:38 +0200] [CGI] HTTP_COOKIE="org.cups.sid=733d323209fb6941b3f4d9334523cfe2"
D [23/Jun/2011:13:20:38 +0200] [CGI] org.cups.sid cookie is "733d323209fb6941b3f4d9334523cfe2"
D [23/Jun/2011:13:20:38 +0200] [CGI] show_all_printers(http=(nil), user="(null)")
D [23/Jun/2011:13:20:38 +0200] [CGI] lang="de_DE.UTF8", locale="/de_DE"...
D [23/Jun/2011:13:20:38 +0200] [CGI] lang="de_DE.UTF8", locale="/de_DE"...
D [23/Jun/2011:13:20:38 +0200] [CGI] lang="de_DE.UTF8", locale="/de_DE"...
D [23/Jun/2011:13:20:38 +0200] PID 8777 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
Und hier noch die cupsd.conf:
Code:
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug
# Administrator user group...
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Allow From 10.23.1.0/24
Allow From 10.23.2.0/24
Allow From 10.23.3.0/24
Allow All
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Allow From 10.23.1.0/24
Allow From 10.23.2.0/24
Allow From 10.23.3.0/24
Allow All
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
Allow From 10.23.1.0/24
Allow From 10.23.2.0/24
Allow From 10.23.3.0/24
Allow All
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
#
Also: Jemand ne Idee, was da los ist?
Achjo, ist ein Debian Lenny mit entsprechend antiker CUPS-Version.
23.06.2011 12:25
Blue
Seit dem 17.10.2006 dabei!
Beiträge: 21.576
Registriert seit: Jul 2008