[resolvido] erro de reinicialização no cups: cupsd: Child exited with status 1

Iniciado por leandrocardoso, 03 de Julho de 2014, 18:06

tópico anterior - próximo tópico

leandrocardoso

Postei esse tópico em "iniciantes", mas talvez aqui seja mais adequado.

Oi, pessoal. Outro problema que não consigo resolver sozinho.

Troquei o HD do meu pc e instalei o ubuntu 14.04. Tudo perfeitamente normal até que fui reinstalar a impressora (uma Lexmark X1250). Refiz os mesmos procedimentos que funcionaram quando a instalei 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:

Citar
* 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. Removi o cups com o aptitude e o --puge 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.

Seguem o log do erro e o meu cupsd.conf pra ajudar.

Abraços e obrigado!

log:
Citar
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:
Citar
#
#
# 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>
#
#

zekkerj

Execute o comando abaixo e cole o resultado aqui.

namei -m /usr/lib/cups/backend/*
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso

segue o resultado, zekkerj:

Citar
~$ namei -m /usr/lib/cups/backend/*
f: /usr/lib/cups/backend/dnssd
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr--r-- dnssd
f: /usr/lib/cups/backend/http
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
lrwxrwxrwx http -> ipp
   -rwxr-xr-x ipp
f: /usr/lib/cups/backend/https
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
lrwxrwxrwx https -> ipp
   -rwxr-xr-x ipp
f: /usr/lib/cups/backend/ipp
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr-xr-x ipp
f: /usr/lib/cups/backend/ipp14
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr-xr-x ipp14
f: /usr/lib/cups/backend/ipps
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
lrwxrwxrwx ipps -> ipp
   -rwxr-xr-x ipp
f: /usr/lib/cups/backend/lpd
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr--r-- lpd
f: /usr/lib/cups/backend/mdns
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr--r-- mdns
f: /usr/lib/cups/backend/parallel
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr-xr-x parallel
f: /usr/lib/cups/backend/serial
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwx------ serial
f: /usr/lib/cups/backend/smb
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
lrwxrwxrwx smb -> ../../../bin/smbspool
   drwxr-xr-x ..
   drwxr-xr-x ..
   drwxr-xr-x ..
   drwxr-xr-x bin
   -rwxr-xr-x smbspool
f: /usr/lib/cups/backend/snmp
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-r-xr-xr-x snmp
f: /usr/lib/cups/backend/socket
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-r-xr-xr-x socket
f: /usr/lib/cups/backend/usb
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-r-xr--r-- usb
f: /usr/lib/cups/backend/z600
drwxr-xr-x /
drwxr-xr-x usr
drwxr-xr-x lib
drwxr-xr-x cups
drwxr-xr-x backend
-rwxr-xr-x z600

zekkerj

Hmmm. Vamos tentar de outra forma.

namei -om /usr/lib/cups/backend/z600
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso

eis:
Citar
~$ namei -om /usr/lib/cups/backend/z600
f: /usr/lib/cups/backend/z600
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root lib
drwxr-xr-x root root cups
drwxr-xr-x root root backend
-rwxr-xr-x root root z600

zekkerj

Estranho, as permissões parecem corretas (root:root / 0755).

Tenta reiniciar de novo o cups, dessa vez com o comando

sudo service cups restart
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso

#6
dei o comando, mas aí fica parado em "cups stop/waiting" e não vai nem pra frente nem pra trás...

leandrocardoso

o engraçado é que, se eu der o mesmo comando com "stop" e depois "start", ele diz que o cups tá funcionando - e mesmo depois disso o /etc/init.d/cups restart ainda dá o mesmo erro.

eu tô tentando acessar o localhost pelo navegador mas não consigo (dá que o "firefox não conseguiu estabelecer uma conexão com o servidor). será que isso tem a ver com o problema?

e quando eu vou em >configurações>impressoras, aparecem as seguintes mensagens:

mensagem 1: https://drive.google.com/file/d/0B7XaZLHwWltSTEh3X0RONkkza2M/edit?usp=sharing

mensagem 2: https://drive.google.com/file/d/0B7XaZLHwWltSMzlFTzdDQVc2OGc/edit?usp=sharing

mensagem 3: https://drive.google.com/file/d/0B7XaZLHwWltSdHNpaVVmazB4NUE/edit?usp=sharing


zekkerj

Evite chamar os serviços via "/etc/init.d/serviço". Dê preferência, sempre, a usar "service serviço".
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso


zekkerj

Nada ainda. Já experimentou jogar as mensagens do log no google, pra ver se vem alguma coisa útil?
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso

não acho nada, cara.
ao menos nada diferente do que já tentei =\

o samba tem alguma coisa a ver com isso?

zekkerj

Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

leandrocardoso

eu tô meio invocado com o fato de não conseguir acessar a porta 631 pelo navegador, então, pesquisando, descobri o código nmap -v <ip> , que lista as postas abertas do sistema, certo? dei o comando como nmap -v localhost e a porta 631 não apareceu listada. ela não deveria aparecer? segue o resultado do comando.


Citar
/# nmap -v localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-07-07 13:07 BRT
Initiating SYN Stealth Scan at 13:07
Scanning localhost (127.0.0.1) [1000 ports]
Discovered open port 445/tcp on 127.0.0.1
Discovered open port 139/tcp on 127.0.0.1
Discovered open port 80/tcp on 127.0.0.1
Completed SYN Stealth Scan at 13:08, 2.40s elapsed (1000 total ports)
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000017s latency).
Not shown: 997 closed ports
PORT    STATE SERVICE
80/tcp  open  http
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds

Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 2.48 seconds
           Raw packets sent: 1061 (46.684KB) | Rcvd: 2125 (89.256KB)

zekkerj

A porta só aparece aberta quando o programa está ativo. Ele não está ativo, vai aparecer como fechada.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D