oleandrocardoso
(usa Ubuntu)
Enviado em 02/07/2014 - 15:50h
Fala, pessoal!
Eu troquei o HD do meu pc e instalei nele ubuntu 14.04. Tudo perfeitamente normal até que fui instalar a impressora (uma Lexmark X1250). Refiz os mesmos procedimentos que funcionaram no ununtu 13.10 (http://wiki.ubuntu-br.org/InstalandoImpressorasLexmark), mas na hora de restartar o cups (/etc/init.d/cups restart) aparece o seguinte erro:
* Restarting Common Unix Printing System cupsd
cupsd: Child exited with status 1
Busquei soluções incessantemente e tentei todas que tinham a ver com meu problema (como dar um "rm /etc/cups/ssl/server.crt" e um "rm /etc/cups/ssl/server.key"), mas nada me ajudou - e reparei que quase a totalidade das soluções abordavam o mesmo código de erro em versões mais antigas das distros, 2008, 2009, 2011...
Então removi o cups com
aptitude remove cups --purge e depois reinstalei, mas o problema persiste. Refiz todo o procedimento de instalação da impressora e nada. Agora já não sei mais andar sozinho.
Abaixo seguem o log do erro e o meu cupsd.conf.
Abraços e obrigado!
log_error:
E [01/Jul/2014:17:18:17 -0300] [cups-deviced] PID 9170 (dnssd) stopped with status 1!
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:50:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:17:57:00 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:01:42 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:03:42 -0300] LexmarkX1250: File "/usr/lib/cups/filter/rastertoz600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:03:43 -0300] LexmarkX1250: File "/usr/lib/cups/filter/rastertoz600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:03:43 -0300] LexmarkX1250: File "/usr/lib/cups/filter/rastertoz600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:03:46 -0300] LexmarkX1250: Directory "/usr/lib/cups/filter" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:03:46 -0300] [Job 5] Unable to start filter "bannertopdf" - Success.
E [01/Jul/2014:18:03:46 -0300] [Job 5] Stopping job because the scheduler could not execute a filter.
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:04:04 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:11:36 -0300] LexmarkX1250: File "/usr/lib/cups/filter/rastertoz600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] File "/usr/lib/cups/backend/z600" has insecure permissions (0100755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:12:29 -0300] [CGI] Directory "/usr/lib/cups/backend" has insecure permissions (040755/uid=1000/gid=1000).
E [01/Jul/2014:18:25:58 -0300] Unexpected end-of-file at line 71 while reading policy "default".
E [01/Jul/2014:18:25:58 -0300] Unexpected end-of-file at line 71 while reading policy "default".
E [01/Jul/2014:18:26:28 -0300] Unexpected end-of-file at line 71 while reading policy "default".
E [01/Jul/2014:18:26:58 -0300] Unexpected end-of-file at line 71 while reading policy "default".
cupsd.conf:
#
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn
# Deactivate CUPS' internal logrotating, as we provide a better one, especially
# LogLevel debug2 gets usable now
MaxLogSize 0
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
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 CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
#
#