Re: errores con cupsys
On Sun, Mar 9, 2008 at 9:22 AM, Roberto D'Oliveira
<rcdeoliveira@gmail.com> wrote:
>
> 2008/3/9, Constructora.pando Pando <constructora.pando@gmail.com>:
> > On Sat, Mar 8, 2008 at 11:31 PM, Roberto D'Oliveira
> > <rcdeoliveira@gmail.com> wrote:
> > > 2008/3/9, Constructora.pando Pando <constructora.pando@gmail.com>:
> > >
> > >
> > > > Al parecer me borre algun archivo de configuración, ya que me da el
> > > > siguiente fallo cada vez q instalo u paquete:
> > > >
> > > > #apt-get upgrade
> > > > [...]Configurando cupsys (1.3.5-1+b1) ...
> > > > Starting Common Unix Printing System: cupsdcupsd: Child exited with status 1!
> > > > invoke-rc.d: initscript cupsys, action "start" failed.
> > > > Message from syslogd@intermodal at Sat Mar 8 23:07:02 2008 ...
> > > > intermodal cupsd: Unable to read configuration file
> > > > '/etc/cups/cupsd.conf' - exiting!
> > > > dpkg: error al procesar cupsys (--configure):
> > > > el subproceso post-installation script devolvió el código de salida de error 2
> > > > Se encontraron errores al procesar:
> > > > cupsys
> > > > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > > >
> > > >
> > > > Algun idea para arreglar este fallo? No he dado con la busqueda exacta
> > > > en google y una pista mas me yudara por lo menos a buscar de buena
> > > > forma
> > > >
> > > > Gracias y salu2 a to2
> > > >
> > > > --
> > > > AlePando
> > > > http://panduro.blogspot.com
> > > >
> > > >
> > >
> > > Si se queja por no tener el archivo prueba creando el archivo:
> > > "> /etc/cups/cupsd.conf" y colocando este contenido dentro de él (es
> > > el archivo de configuración por defecto sin los comentarios):
> > > __________________________________________________________________________
> > > LogLevel warning
> > >
> > > SystemGroup lpadmin
> > >
> > > Printcap /var/run/cups/printcap
> > >
> > > Listen localhost:631
> > > Listen /var/run/cups/cups.sock
> > >
> > > Browsing On
> > > BrowseOrder allow,deny
> > > BrowseAllow all
> > >
> > > DefaultAuthType Basic
> > >
> > > <Location />
> > > Order allow,deny
> > > Allow localhost
> > > </Location>
> > >
> > > <Location /admin>
> > > Order allow,deny
> > > Allow localhost
> > > </Location>
> > >
> > > <Location /admin/conf>
> > > AuthType Default
> > > Require user @SYSTEM
> > > Order allow,deny
> > > Allow localhost
> > > </Location>
> > >
> > > <Policy default>
> > > <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>
> > >
> > > <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>
> > >
> > > <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>
> > >
> > > <Limit Cancel-Job CUPS-Authenticate-Job>
> > > Require user @OWNER @SYSTEM
> > > Order deny,allow
> > > </Limit>
> > >
> > > <Limit All>
> > > Order deny,allow
> > > </Limit>
> > > </Policy>
> > >
> > > ___________________________________________________________________________
> > >
> > > --
> > > Saludos,
> > > Roberto D'Oliveira
> > >
> >
> >
> > Si... existe y es este:
> > LogLevel warning
> > SystemGroup lpadmin
> > # Allow remote access
> > Port 631
> >
> > Listen /var/run/cups/cups.sock
> >
> > # Enable printer sharing and shared printers.
> >
> > Browsing On
> > BrowseOrder allow,deny
> > BrowseAllow all
> >
> > BrowseAddress @LOCAL
> > DefaultAuthType Ðí c
> > <Location />
> > Allow localhost
> > # Allow shared printing...
> > Order allow,deny
> > Allow @LOCAL
> > </Location>
> > <Location /admin>
> > Allow localhost
> > # Restrict access to the admin pages...
> >
> > Order allow,deny
> > Allow localhost
> > </Location>
> > <Location /admin/conf>
> > AuthType Default
> > Require user @SYSTEM
> >
> > Allow localhost
> > # Restrict access to the configuration files...
> >
> > Order allow,deny
> > Allow localhost
> > </Location>
> > <Policy default>
> > <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>
> > <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>
> > <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>
> >
> > <Limit CUPS-Authenticate-Job>
> >
> > Require user @OWNER @SYSTEM
> > Order deny,allow
> > </Limit>
> > <Limit All>
> > Order deny,allow
> > </Limit>
> > </Policy>
> >
> >
> >
> > :-(
> >
> > --
> >
> > --
> > AlePando
> > http://panduro.blogspot.com
> >
>
> Revisa los permisos del archivo, prueba con un "chmod 644 /etc/cups/cupsd.conf"
>
El viejo truco de los permisos... he?
Si, eso era, gracias, jeje
Gracias y Sa2
> --
> Saludos,
> Roberto D'Oliveira
>
--
--
AlePando
http://panduro.blogspot.com
Reply to: