cannot open system/admin/printing, cups errors, cups server could not be contacted...
gerhard
gertkoen at telkomsa.net
Sat Apr 14 11:26:16 UTC 2007
I used commands and maybe someone can see why I can not access
system/admin/printing
In terminal when typing: tail -2 /var/log/cups/error_log
I get this result:
E [09/Apr/2007:19:45:01 +0200] Unable to include config file
"/etc/cups/cups.d/browse.conf" - No such file or directory
E [09/Apr/2007:19:45:01 +0200] Creating missing directory
"/var/run/cups/certs"
The Cup server could not be contacted
gerhard at gerhard:~$ netstat -ln -A inet
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
udp 0 0 0.0.0.0:68
0.0.0.0:*
udp 0 0 0.0.0.0:68
0.0.0.0:*
udp 0 0 0.0.0.0:631
0.0.0.0:*
gerhard at gerhard:~$
gerhard at gerhard:~$ sudo tail /var/log/cups/error_log
I [14/Apr/2007:08:45:55 +0200] Using default TempDir
of /var/spool/cups/tmp...
I [14/Apr/2007:08:45:55 +0200] Cleaning out old temporary files in
"/var/spool/cups/tmp"...
I [14/Apr/2007:08:45:55 +0200] Configured for up to 100 clients.
I [14/Apr/2007:08:45:55 +0200] Allowing up to 100 client connections per
host.
I [14/Apr/2007:08:45:55 +0200] Using policy "default" as the default!
I [14/Apr/2007:08:45:55 +0200] Partial reload complete.
E [14/Apr/2007:08:45:55 +0200] Unable to bind socket for address :::631
- Permission denied.
E [14/Apr/2007:08:45:55 +0200] Unable to bind socket for address
0.0.0.0:631 - Permission denied.
I [14/Apr/2007:08:45:55 +0200] Listening to /var/run/cups/cups.sock on
fd 0...
E [14/Apr/2007:08:45:55 +0200] cupsdStartBrowsing: Unable to bind
broadcast socket - Permission denied.
Cupsd.conf file looks like this
#
#
# 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 warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
Listen 192.168.1.103:631
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Deny From All
Allow 127.0.0.1
Allow localhost
Allow @LOCAL
Allow 192.168.1.*
</Location>
# Restrict access to the admin pages...
<Location /admin>
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 o
More information about the ubuntu-users
mailing list