niente da fare: la stampante è in locale, avevo dimenticato di dirlo…
è normale che system-config-printer mi dia questo prima di partire:
Linux root@PcAnna /home/annalia # system-config-printer
(system-config-printer.py:4024): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(system-config-printer.py:4024): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(system-config-printer.py:4024): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
ho provato ad aggiungere la stampante ( locale ) mettendo come indirizzo
ipp://cups-server/printers/printer
ma poi la risposta è
In attesa - Unable to locate printer “cups-server”.
anche perché come server da confing-server-connetti mi da
o /var/run/cups/cups.socket
o localhost
che però nella configurazione non accetta.
Linux root@PcAnna /home/annalia # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 045e:0761 Microsoft Corp.
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 005: ID 04b8:012f Seiko Epson Corp. Perfection V350 (GT-F700)
Bus 008 Device 002: ID 045e:0734 Microsoft Corp. Wireless Optical Desktop 700
Bus 002 Device 006: ID 0a4d:0090 Evolution Electronics, Ltd Keystation 49e Driver
Bus 002 Device 007: ID 04e8:328e Samsung Electronics Co., Ltd CLP-310 Color Laser Printer
Linux root@PcAnna /home/annalia # systemctl |grep cups.path
cups.path loaded active running CUPS Printer Service Spool
molto strano,
il cavo della stampante è ok ?
sì: da win stampa. Per cui dovrebbe essere perfettamente collegato.
cancella e riconfigura la stampante come da system-config-printer lasciando fare al configuratore senza dare uri particolari, poi da root:
[code]# touch pippo
echo “pippo”>> pippo
lpr pippo[/code]
stampa ?
cancellata.
Però se non metto URi particolari, config da solo non la trova:anche se
Linux root@PcAnna /home/annalia # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 045e:0761 Microsoft Corp.
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 004: ID 04e8:328e Samsung Electronics Co., Ltd CLP-310 Color Laser Printer
Bus 002 Device 006: ID 04b8:012f Seiko Epson Corp. Perfection V350 (GT-F700)
Bus 008 Device 002: ID 045e:0734 Microsoft Corp. Wireless Optical Desktop 700
Bus 002 Device 007: ID 0a4d:0090 Evolution Electronics, Ltd Keystation 49e Driver
che fo?
Ciao a tutti voi di FOL,
hai provato a disabilitare SELinux?
@aluccia:
hai ovviamente dato i restart di cups del caso, vero?
@ dragony: selinux è disattivato
@ Mailga: ho perso il conto dei restart…
però ho scoperto questo durante l’ultimo tentativo di configurazione:
Message from syslogd@PcAnna at Dec 2 21:53:34 …
kernel: 2102.661684] Disabling IRQ #19
dato che tutto il sistema continua a funzionare normalmente, che l’inghippo sia proprio in quel IRQ?
vediamo:
# yum install procinfo
output di:
# procinfo
ecco:
procinfo
Linux 3.1.2-1.fc16.x86_64 (mockbuild@x86-04) (gcc 4.6.2 20111027 (Red Hat 4.6.2-1)) #1 SMP Tue Nov 22 09:00:57 UTC 2011 8CPU [PcAnna]
Memory: Total Used Free Shared Buffers
Mem: 6104560 1552148 4552412 0 109972
Swap: 12287996 0 12287996
Bootup: Sat Dec 3 21:12:12 2011 Load average: 0.53 0.24 0.23 2/328 3039
user : 0:02:59.46 0.9 page in : 0
nice : 0:00:01.52 0.0 page out: 0
system: 0:05:19.70 1.6 swap in : 0
idle : 5:32:33.29 97.4 swap out: 0
steal : 0:00:00.00 0.0
uptime: 0:42:39.89 context : 2661647
irq 0: 505100 timer irq 19: 1 uhci_hcd:usb5,
irq 1: 2 i8042 irq 21: 0 uhci_hcd:usb4
irq 8: 0 rtc0 irq 23: 0 ehci_hcd:usb2,
irq 9: 0 acpi irq 24: 0 nouveau
irq 12: 0 i8042 irq 68: 4 ahci
irq 16: 0 ahci, irq 69: 0 eth0
irq 17: 0 pata_jmicron irq 70: 0 snd_hda_intel
irq 18: 0 ehci_hcd:usb1,
provato a cambiare porta usb ?
Sì, ma il problema permane: il configiratore senza uri non la vede…
ed il kernel continua a segnalare questo, anche se tutto sembra funzionare normalmente…
Linux root@PcAnna /home/annalia #
Message from syslogd@PcAnna at Dec 5 21:49:49 …
kernel: 1646.162686] Disabling IRQ #19
cosa faccio? provo a ridare un uri? sperando che poi la stampante funzioni?
quello che non capisco è perché questo casotto all’improvviso…la stampante era la cosa che aveva funzionato subito al passaggio a F16. Boh…
è molto strano.
non si capisce dove sta il problema.
posta:
# cat /var/log/cups/error_log
ed anche gli altri log presenti in quella directory.
sono due schermate intere solo per error-log.
Posto tutto ugualmente?
se ci sono errori ripetuti, depura l’output, altrimenti posta tutto.
posto i primi logo: poi si ripetono errori simili, e quelli che seguono sono stati “depurati” negli output simili ed in sequenza.
[29/Nov/2011:20:52:18 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
W [29/Nov/2011:20:53:13 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-Gray…’ already exists
W [29/Nov/2011:20:54:42 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [29/Nov/2011:20:54:42 +0100] No limit for Cancel-Jobs defined in policy default - using Pause-Printer’s policy.
W [29/Nov/2011:20:54:42 +0100] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [29/Nov/2011:20:54:42 +0100] No limit for Validate-Job defined in policy authenticated - using Print-Job’s policy.
W [29/Nov/2011:20:54:42 +0100] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document’s policy.
W [29/Nov/2011:20:54:42 +0100] No limit for Close-Job defined in policy authenticated - using Send-Document’s policy.
W [29/Nov/2011:20:54:42 +0100] No JobPrivateAccess defined in policy authenticated - using W [29/Nov/2011:20:54:42 +0100] failed to find device: cups-Samsung-CLP-315
E [29/Nov/2011:20:54:42 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use.
W [29/Nov/2011:20:56:20 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [29/Nov/2011:20:56:20 +0100] No limit for Cancel-Jobs defined in policy default - using Pause-Printer’s policy.
W [29/Nov/2011:20:56:20 +0100] No limit for Cancel-My-Jobs defined in policy default - using Send-Document’s policy.
W [29/Nov/2011:20:56:20 +0100] No limit for Close-Job defined in policy default - using Send-Document’s policy.
W [29/Nov/2011:20:56:20 +0100] No JobPrivateAccess defined in policy default - using defaults.
W [29/Nov/2011:20:56:20 +0100] No JobPrivateValues defined in policy default - using defaults.
W [29/Nov/2011:20:56:20 +0100] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [29/Nov/2011:20:56:20 +0100] No SubscriptionPrivateValues defined in policy default - using defaults.
W [29/Nov/2011:20:58:09 +0100] No JobPrivateAccess defined in policy authenticated - using defaults.
W [29/Nov/2011:20:58:09 +0100] failed to find device: cups-Samsung-CLP-315
W [29/Nov/2011:21:00:35 +0100] No limit for Validate-Job defined in policy authenticated - using Print-Job’s policy.
W [29/Nov/2011:21:00:35 +0100] No JobPrivateAccess defined in policy authenticated - using defaults.
E [29/Nov/2011:21:00:35 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [29/Nov/2011:21:05:20 +0100] [Job 85] Unable to queue job for destination “Samsung-CLP-315”!
E [29/Nov/2011:21:05:23 +0100] [Job 85] Unable to open job control file “/var/spool/cups/c00085”: No such file or directory
W [29/Nov/2011:21:21:23 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [29/Nov/2011:21:21:23 +0100] No limit for Close-Job defined in policy default - using Send-Document’s policy.
W [29/Nov/2011:21:21:23 +0100] No JobPrivateAccess defined in policy default - using defaults.
W [29/Nov/2011:21:21:23 +0100] No SubscriptionPrivateValues defined in policy default - using defaults.
E [29/Nov/2011:21:21:24 +0100] [Job 85] Files have gone away!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 5!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 6!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 7!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 8!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 9!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 10!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 11!
E [29/Nov/2011:21:21:24 +0100] Missing <Job #> directive on line 12!
E [29/Nov/2011:21:21:24 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use.
W [30/Nov/2011:02:28:16 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz!
W [30/Nov/2011:02:28:17 +0100] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-Gray…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-RGB…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Samsung-CLP-315’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-Gray…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-RGB…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Samsung-CLP-315’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-Gray…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Samsung-CLP-315-RGB…’ already exists
W [30/Nov/2011:02:28:55 +0100] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Samsung-CLP-315’ already exists
W [30/Nov/2011:02:30:43 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [30/Nov/2011:02:30:43 +0100] No limit for Cancel-Jobs defined in policy default - using Pause-Printer’s policy.
W [30/Nov/2011:02:30:43 +0100] No limit for Cancel-My-Jobs defined in policy default - using Send-Document’s policy.
W [30/Nov/2011:02:30:43 +0100] No limit for Close-Job defined in policy default - using Send-Document’s policy.
W [30/Nov/2011:02:30:43 +0100] No JobPrivateAccess defined in policy default - using defaults.
W [30/Nov/2011:02:30:43 +0100] No JobPrivateValues defined in policy default - using defaults.
W [30/Nov/2011:02:30:43 +0100] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [30/Nov/2011:02:30:43 +0100] No SubscriptionPrivateValues defined in policy default - using defaults.
W [30/Nov/2011:02:30:43 +0100] No limit for Validate-Job defined in policy authenticated - using Print-Job’s policy.
W [30/Nov/2011:02:30:43 +0100] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer’s policy.
W [30/Nov/2011:02:30:43 +0100] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document’s policy.
W [30/Nov/2011:02:30:43 +0100] No limit for Close-Job defined in policy authenticated - using Send-Document’s policy.
W [30/Nov/2011:02:30:43 +0100] No JobPrivateAccess defined in policy authenticated - using defaults.
W [30/Nov/2011:02:30:43 +0100] No JobPrivateValues defined in policy authenticated - using defaults.
W [30/Nov/2011:02:30:43 +0100] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [30/Nov/2011:02:30:43 +0100] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [30/Nov/2011:02:30:45 +0100] failed to find device: cups-Samsung-CLP-315
W [30/Nov/2011:02:30:50 +0100] failed to CreateProfile: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
E [30/Nov/2011:02:30:52 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use.
W [30/Nov/2011:02:37:26 +0100] No limit for Validate-Job defined in policy default and no suitable template found.
W [30/Nov/2011:02:37:26 +0100] No limit for Cancel-Jobs defined in policy default - using Pause-Printer’s policy.
W [30/Nov/2011:02:37:26 +0100] No limit for Cancel-My-Jobs defined in policy default - using Send-Document’s policy.
W [30/Nov/2011:02:37:26 +0100] No limit for Close-Job defined in policy default - using Send-Document’s policy.
W [30/Nov/2011:02:37:26 +0100] No JobPrivateAccess defined in policy default - using defaults.
W [30/Nov/2011:02:37:26 +0100] No JobPrivateValues defined in policy default - using defaults.
W [30/Nov/2011:02:37:26 +0100] No SubscriptionPrivateAccess defined in policy default - using defaults.
questa è la directory che mi chiedevi: cosa vuoi che ti posti?
Linux root@PcAnna /var/log/cups # ls
access_log access_log-20110704 access_log-20110905 access_log-20111108 error_log-20110605 error_log-20110807 error_log-20111013
access_log-20110412 access_log-20110710 access_log-20110912 access_log-20111115 error_log-20110612 error_log-20110814 error_log-20111018
access_log-20110519 access_log-20110717 access_log-20110919 access_log-20111120 error_log-20110619 error_log-20110823 error_log-20111024
access_log-20110526 access_log-20110730 access_log-20110929 access_log-20111127 error_log-20110627 error_log-20110830 error_log-20111031
access_log-20110529 access_log-20110731 access_log-20111003 error_log error_log-20110704 error_log-20110905 error_log-20111108
access_log-20110605 access_log-20110807 access_log-20111013 error_log-20110412 error_log-20110710 error_log-20110912 error_log-20111115
access_log-20110612 access_log-20110814 access_log-20111018 error_log-20110519 error_log-20110717 error_log-20110919 error_log-20111120
access_log-20110619 access_log-20110823 access_log-20111024 error_log-20110526 error_log-20110730 error_log-20110929 error_log-20111127
access_log-20110627 access_log-20110830 access_log-20111031 error_log-20110529 error_log-20110731 error_log-20111003 page_log
Linux root@PcAnna /var/log/cups #