[cups.bugs] [CRIT] STR #2190: Gui Interface not working, Programs Can't connect to CUPS
Reg Bauld
reg at bauld.com
Sat Jan 13 04:11:41 PST 2007
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Well first problem, I can't connect to http://localhost:631/admin, or
anything related with printer setup. Seems to be a symptom of a larger
problem. I get these errors when i try to connect to
http://localhost:631/admin.
Error Log:
D [12/Jan/2007:13:02:54 +0000] cupsdCloseClient: 6
D [12/Jan/2007:13:08:44 +0000] cupsdAcceptClient: 6 from localhost:631
(IPv4)
D [12/Jan/2007:13:08:44 +0000] cupsdReadClient: 6 GET /admin HTTP/1.1
D [12/Jan/2007:13:08:44 +0000] cupsdReadClient: 6 Browser asked for
language "en-us.utf-8"...
D [12/Jan/2007:13:08:44 +0000] cupsdAuthorize: No authentication data
provided.
D [12/Jan/2007:13:08:44 +0000] CGI /usr/libexec/cups/cgi-bin/admin.cgi
started - PID = 17061
I [12/Jan/2007:13:08:44 +0000] Started
"/usr/libexec/cups/cgi-bin/admin.cgi" (pid=17061)
D [12/Jan/2007:13:08:44 +0000] cupsdSendCommand: 6 file=7
E [12/Jan/2007:13:08:44 +0000] PID 17061
(/usr/libexec/cups/cgi-bin/admin.cgi) stopped with status 1!
D [12/Jan/2007:13:08:44 +0000] [CGI] admin.cgi started...
E [12/Jan/2007:13:08:44 +0000] [CGI] Unable to connect to cupsd:
Permission denied
D [12/Jan/2007:13:08:44 +0000] [CGI]
cupsServer()="/var/run/cups/cups.sock"
D [12/Jan/2007:13:08:44 +0000] [CGI] ippPort()=631
D [12/Jan/2007:13:08:44 +0000] [CGI] cupsEncryption()=0
This is my cups.conf file if it will help:
#
# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
Allow From 127.0.0.1
Port 631
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
Allow 127.0.0.1
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<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 adminstrator to
authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes
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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
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>
#
# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".
#
Link: http://www.cups.org/str.php?L2190
Version: 1.2.7
More information about the cups
mailing list