Salut,
Merci de vos réponses.
MarbolanGos, après vérification, l'imprimante est bien activée.
Madko, dans les logs, je n'apprends pas grand chose. J'ai donc 3 logs, access log, error log et page log.
J'ai lancé une impression :
# lpr monfichier.ps
#
pas d'erreur, mais pas d'impression.
# cat access_log
localhost - - [09/Apr/2011:21:22:05 +0200] "POST /printers/Stylus-COLOR-580 HTTP/1.1" 200 355 Create-Job successful-ok
localhost - - [09/Apr/2011:21:22:05 +0200] "POST /printers/Stylus-COLOR-580 HTTP/1.1" 200 279741 Send-Document successful-ok
J'ai zappé le début du log, pour ne mettre que ce qui s'est passé depuis l'ajout de la dernière tâche. J'apprends ici que la tâche est créée, que le document a été envoyé à l'imprimante, et que l'heure de mon ordinateur est mal réglée ^^
# cat page_log
#
Rien de marqué pour cette heure là.
Ensuite il y a error_log, qui ne me donne rien pour cette heure, mais qui m'affiche plein de trucs que je ne comprends pas trop, si ca peut éclairer :
# cat error_log
I [09/Apr/2011:19:18:30 +0200] Listening to 0.0.0.0:631 (IPv4)
I [09/Apr/2011:19:18:30 +0200] Listening to :::631 (IPv6)
I [09/Apr/2011:19:18:30 +0200] Listening to /var/run/cups/cups.sock (Domain)
I [09/Apr/2011:19:18:30 +0200] Remote access is enabled.
D [09/Apr/2011:19:18:30 +0200] Added auto ServerAlias Chenoute
D [09/Apr/2011:19:18:30 +0200] Added auto ServerAlias localhost6.localdomain6
D [09/Apr/2011:19:18:30 +0200] Added auto ServerAlias localhost6
I [09/Apr/2011:19:18:30 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Apr/2011:19:18:30 +0200] Using default TempDir of /var/spool/cups/tmp...
I [09/Apr/2011:19:18:30 +0200] Configured for up to 100 clients.
I [09/Apr/2011:19:18:30 +0200] Allowing up to 100 client connections per host.
I [09/Apr/2011:19:18:30 +0200] Using policy "default" as the default!
D [09/Apr/2011:19:18:30 +0200] load_ppd: Loading /var/cache/cups/EPSON-Stylus-COLOR-580.ipp4...
D [09/Apr/2011:19:18:30 +0200] cupsdRegisterPrinter(p=0x2e94c80(EPSON-Stylus-COLOR-580))
D [09/Apr/2011:19:18:30 +0200] cupsdMarkDirty(---p--)
D [09/Apr/2011:19:18:30 +0200] cupsdSetBusyState: Dirty files
I [09/Apr/2011:19:18:30 +0200] Partial reload complete.
I [09/Apr/2011:19:18:30 +0200] Listening to 0.0.0.0:631 on fd 4...
I [09/Apr/2011:19:18:30 +0200] Listening to :::631 on fd 7...
I [09/Apr/2011:19:18:30 +0200] Listening to /var/run/cups/cups.sock on fd 8...
I [09/Apr/2011:19:18:30 +0200] Resuming new connection processing...
D [09/Apr/2011:19:18:30 +0200] cupsdRegisterPrinter(p=0x2e94c80(EPSON-Stylus-COLOR-580))
D [09/Apr/2011:19:18:30 +0200] Discarding unused server-restarted event...
D [09/Apr/2011:19:18:31 +0200] cupsdAcceptClient: skipping getpeercon()
D [09/Apr/2011:19:18:31 +0200] cupsdAcceptClient: 13 from localhost (Domain)
D [09/Apr/2011:19:18:39 +0200] cupsdAcceptClient: skipping getpeercon()
D [09/Apr/2011:19:18:39 +0200] cupsdAcceptClient: 14 from localhost (Domain)
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 14 GET /admin/log/error_log HTTP/1.1
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 1.1 Get-Jobs 1
D [09/Apr/2011:19:18:39 +0200] Get-Jobs ipp://localhost/printers/
D [09/Apr/2011:19:18:39 +0200] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 1.1 Get-Jobs 1
D [09/Apr/2011:19:18:39 +0200] Get-Jobs ipp://localhost/printers/
D [09/Apr/2011:19:18:39 +0200] [Job 20] Loading attributes...
D [09/Apr/2011:19:18:39 +0200] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/) from localhost
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:39 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:39 +0200] cupsdReadClient: 13 1.1 Create-Printer-Subscription 1
D [09/Apr/2011:19:18:39 +0200] Create-Printer-Subscription /
D [09/Apr/2011:19:18:39 +0200] cupsdCreateSubscription(con=0x2e347a0(13), uri="/")
D [09/Apr/2011:19:18:39 +0200] pullmethod="ippget"
D [09/Apr/2011:19:18:39 +0200] notify-lease-duration=86400
D [09/Apr/2011:19:18:39 +0200] notify-time-interval=0
D [09/Apr/2011:19:18:39 +0200] cupsdAddSubscription(mask=17800, dest=(nil)(), job=(nil)(0), uri="(null)")
D [09/Apr/2011:19:18:39 +0200] Added subscription 7 for server
D [09/Apr/2011:19:18:39 +0200] cupsdMarkDirty(-----S)
D [09/Apr/2011:19:18:39 +0200] Returning IPP successful-ok for Create-Printer-Subscription (/) from localhost
D [09/Apr/2011:19:18:39 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:40 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [09/Apr/2011:19:18:40 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:40 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:40 +0200] cupsdReadClient: 13 1.1 Get-Notifications 1
D [09/Apr/2011:19:18:40 +0200] Get-Notifications /
D [09/Apr/2011:19:18:40 +0200] cupsdIsAuthorized: requesting-user-name="root"
D [09/Apr/2011:19:18:40 +0200] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [09/Apr/2011:19:18:40 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:46 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [09/Apr/2011:19:18:46 +0200] cupsdNetIFUpdate: "eth0" = 192.168.1.100:631
D [09/Apr/2011:19:18:46 +0200] cupsdNetIFUpdate: "lo" = localhost:631
D [09/Apr/2011:19:18:46 +0200] cupsdNetIFUpdate: "eth0" = fe80::216:17ff:fe7a:d28%eth0:631
D [09/Apr/2011:19:18:46 +0200] Report: clients=2
D [09/Apr/2011:19:18:46 +0200] Report: jobs=3
D [09/Apr/2011:19:18:46 +0200] Report: jobs-active=0
D [09/Apr/2011:19:18:46 +0200] Report: printers=1
D [09/Apr/2011:19:18:46 +0200] Report: printers-implicit=0
D [09/Apr/2011:19:18:46 +0200] Report: stringpool-string-count=7452
D [09/Apr/2011:19:18:46 +0200] Report: stringpool-alloc-bytes=15128
D [09/Apr/2011:19:18:46 +0200] Report: stringpool-total-bytes=153568
D [09/Apr/2011:19:18:50 +0200] cupsdReadClient: 13 POST / HTTP/1.1
D [09/Apr/2011:19:18:50 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:50 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:50 +0200] cupsdReadClient: 13 1.1 Cancel-Subscription 1
D [09/Apr/2011:19:18:50 +0200] Cancel-Subscription /
D [09/Apr/2011:19:18:50 +0200] cupsdIsAuthorized: requesting-user-name="root"
D [09/Apr/2011:19:18:50 +0200] cupsdMarkDirty(-----S)
D [09/Apr/2011:19:18:50 +0200] Returning IPP successful-ok for Cancel-Subscription (/) from localhost
D [09/Apr/2011:19:18:50 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:51 +0200] cupsdReadClient: 14 PUT /admin/conf/cupsd.conf HTTP/1.1
D [09/Apr/2011:19:18:51 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:51 +0200] cupsdAuthorize: No authentication data provided.
D [09/Apr/2011:19:18:51 +0200] cupsdIsAuthorized: username=""
D [09/Apr/2011:19:18:51 +0200] cupsdSendHeader: 14 WWW-Authenticate: Basic realm="CUPS", trc="y"
D [09/Apr/2011:19:18:51 +0200] cupsdCloseClient: 14
D [09/Apr/2011:19:18:51 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:51 +0200] cupsdAcceptClient: skipping getpeercon()
D [09/Apr/2011:19:18:51 +0200] cupsdAcceptClient: 14 from localhost (Domain)
D [09/Apr/2011:19:18:51 +0200] cupsdReadClient: 14 PUT /admin/conf/cupsd.conf HTTP/1.1
D [09/Apr/2011:19:18:51 +0200] cupsdSetBusyState: Active clients and dirty files
D [09/Apr/2011:19:18:51 +0200] cupsdAuthorize: Authorized as root using PeerCred
D [09/Apr/2011:19:18:51 +0200] cupsdIsAuthorized: username="root"
I [09/Apr/2011:19:18:51 +0200] Installing config file "/etc/cups/cupsd.conf"...
D [09/Apr/2011:19:18:51 +0200] cupsdSetBusyState: Dirty files
D [09/Apr/2011:19:18:51 +0200] cupsdCloseClient: 13
D [09/Apr/2011:19:18:51 +0200] cupsdCloseClient: 14
D [09/Apr/2011:19:18:51 +0200] cupsdDeregisterPrinter(p=0x2e94c80(EPSON-Stylus-COLOR-580), removeit=1)
I [09/Apr/2011:19:18:51 +0200] Generating printcap /etc/printcap...
I [09/Apr/2011:19:18:51 +0200] Saving subscriptions.conf...
D [09/Apr/2011:19:18:51 +0200] cupsdSetBusyState: Not busy
j'ai seulement mis la fin, mais il y en a beaucoup plus.