Problema con CUPS.
Felipe Covarrubias
hooper.007 en gmail.com
Jue Mayo 17 16:22:25 CLT 2007
Hola Gente de la Lista, estoy tratando de instalar una impresora de red en
un servidor, que tiene gentoo. la idea es compartirla para que asi todos los
usuarios puedan imprimir en ellá desde windows.
la primera etapá es hacer la configuración de Cups en el servidor. y aquí me
tope con el sgte. error al leer el log de errores de Cups en
/var/log/cups/error_log
Unable to open listen socket for address :::632 - Address family not
supported by protocol.
amigos, les adjunto tambien el archivo de configuración de Cups
(/etc/cups/cupsd.conf)
#######################################################################
# 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 127.0.0.1:631
Listen *:632 #para que escuche el puerto desde
cualñquier fuente
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
#BrowseAddress @IF(eth0)
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
# Allow localhost
Allow 127.0.0.1
Allow 200.1.20.50
Allow 192.168.1.0/255.255.255.0
Deny all
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
# Allow localhost
Allow 127.0.0.1
Allow 192.168.1.0/255.255.255.0
Deny all
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
# Allow localhost
Allow 127.0.0.1
Allow 192.168.1.0/255.255.255.0
Deny all
</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-Attribut$
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 $
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 $".
#
--
Felipe Covarrubias
Más información sobre la lista de distribución Linux