Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[cups] non riesco a farlo funzionare manco a calci..! :([ri]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Thu Dec 09, 2004 1:18 pm    Post subject: [cups] non riesco a farlo funzionare manco a calci..! :([ri] Reply with quote

stò cups è la mia patata bollente...massimo che son riuscito a fare con la mia stampante hp deskjet 920c è stato dare con cups non avviato un:

Code:
# echo "Hello Tiro" > test
# cat test > /dev/usb/lp0


...fino a qui ok ma poi tutto sbagliato il resto:

solo la preview in firefox fa crashare il browser
localhost:613 non si apre (config di default)
appena avvio cups la stampante inizia a frullare all'infinito

...con cups non avviato, se faccio un cat di un file con più righe la stampa và fuori dal foglio...
ho seguito pari pari l'howto ufficiale gentoo ma nulla da fare...

qlc suggerimento...? :roll:


Last edited by Tiro on Tue Dec 28, 2004 2:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Thu Dec 09, 2004 1:19 pm    Post subject: Re: [cups] non riesco a farlo funzionare manco a calci..! :( Reply with quote

Tiro wrote:
localhost:613 non si apre (config di default)

E' un errore di battitura o scrivi veramente 613? Perche' la porta e' la 631
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Thu Dec 09, 2004 1:23 pm    Post subject: Reply with quote

no, è di battitura...

Quote:
http://localhost:631/
Back to top
View user's profile Send private message
dboogieman
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 197

PostPosted: Thu Dec 09, 2004 4:18 pm    Post subject: Reply with quote

Ciao io sto seguendo:
http://www.gentoo.org/doc/en/printing-howto.xml

questo How To per risolvere i miei problemi di stampa, se potesse esserti utile.

ciao

dboogieman
Back to top
View user's profile Send private message
Kind_of_blue
Guru
Guru


Joined: 10 Oct 2004
Posts: 485

PostPosted: Thu Dec 09, 2004 4:48 pm    Post subject: Reply with quote

con Gnome ... ho sempre trovato piu facilità a fare partire cupsd ... per poi lanciare
#gnome-cups-manager
e fare tutto da li

molto piu semplice dell'howto
in kde ... lanciato cupsd ... nel pannello di controllo ... basta configurare il server di stampa ... e aggiungere una classe di stampanti
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Thu Dec 09, 2004 4:54 pm    Post subject: Reply with quote

Hai usato i driver giusti per CUPS (nn mai configurato una HP sotto linux, ma a quanto ho capito dovresti emergere gli "hpijs")?

[EDIT]
Dai un'occhiata al file /var/log/cups/error_log.
Se verso la fine trovi una roba tipo "ho trovato degli errori, ma per vederli aumenta il livello di verbosità del log" (traduzione mooolto libera), edita il file di conf. di cups, cerca la voce "LogLevel", cancella il valore "info" e mettici "debug".
Riavvia cupsd e riguarda error_log, indi posta ciò che nn ti è chiaro.
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Thu Dec 09, 2004 11:20 pm    Post subject: Reply with quote

...per me qlcs di inciprensibile


Code:
I [14/Oct/2004:19:39:53 +0200] Listening to 0:631
I [14/Oct/2004:19:39:53 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:39:53 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:39:53 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:39:53 +0200] Full reload is required.
I [14/Oct/2004:19:39:53 +0200] LoadPPDs: Wrote "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:39:53 +0200] Full reload complete.
I [14/Oct/2004:19:39:55 +0200] Setting HPDeskJet920C printer-is-accepting-jobs to 1 (was 0.)
I [14/Oct/2004:19:39:55 +0200] Setting HPDeskJet920C printer-state to 3 (was 5.)
I [14/Oct/2004:19:39:55 +0200] Saving printers.conf...
I [14/Oct/2004:19:39:55 +0200] New printer 'HPDeskJet920C' added by 'root'.
I [14/Oct/2004:19:39:55 +0200] Saving printers.conf...
I [14/Oct/2004:19:39:55 +0200] Printer 'HPDeskJet920C' modified by 'root'.
I [14/Oct/2004:19:39:55 +0200] Setting HPDeskJet920C device-uri to "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI" (was "file:/dev/null".)
I [14/Oct/2004:19:39:55 +0200] Saving printers.conf...
I [14/Oct/2004:19:39:55 +0200] Printer 'HPDeskJet920C' modified by 'root'.
I [14/Oct/2004:19:41:40 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:41:41 +0200] Listening to 0:631
I [14/Oct/2004:19:41:41 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:41:41 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:41:41 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:41:41 +0200] Full reload is required.
I [14/Oct/2004:19:41:42 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:41:42 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:41:42 +0200] Full reload complete.
I [14/Oct/2004:19:43:03 +0200] Adding start banner page "none" to job 1.
I [14/Oct/2004:19:43:03 +0200] Adding end banner page "none" to job 1.
I [14/Oct/2004:19:43:03 +0200] Job 1 queued on 'HPDeskJet920C' by 'gentoo'.
I [14/Oct/2004:19:43:03 +0200] Started backend /usr/lib/cups/backend/usb (PID 17363) for job 1.
I [14/Oct/2004:19:43:55 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:43:56 +0200] Listening to 0:631
I [14/Oct/2004:19:43:56 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:43:56 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:43:56 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:43:56 +0200] Full reload is required.
I [14/Oct/2004:19:43:56 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:43:56 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:43:56 +0200] Full reload complete.
I [14/Oct/2004:19:43:56 +0200] Started backend /usr/lib/cups/backend/usb (PID 17438) for job 1.
W [14/Oct/2004:19:43:56 +0200] [Job 1] Media tray empty!
E [14/Oct/2004:19:44:06 +0200] [Job 1] Unable to send print file to printer: No such device
E [14/Oct/2004:19:44:06 +0200] PID 17438 stopped with status 1!
I [14/Oct/2004:19:44:06 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [14/Oct/2004:19:44:06 +0200] Saving printers.conf...
I [14/Oct/2004:19:44:27 +0200] Adding start banner page "none" to job 2.
I [14/Oct/2004:19:44:27 +0200] Adding end banner page "none" to job 2.
I [14/Oct/2004:19:44:27 +0200] Job 2 queued on 'HPDeskJet920C' by 'gentoo'.
I [14/Oct/2004:19:45:14 +0200] Setting HPDeskJet920C printer-is-accepting-jobs to 1 (was 1.)
I [14/Oct/2004:19:45:14 +0200] Setting HPDeskJet920C printer-state to 3 (was 5.)
I [14/Oct/2004:19:45:14 +0200] Saving printers.conf...
I [14/Oct/2004:19:45:14 +0200] Started backend /usr/lib/cups/backend/usb (PID 17534) for job 1.
I [14/Oct/2004:19:45:14 +0200] Printer 'HPDeskJet920C' modified by 'root'.
I [14/Oct/2004:19:45:14 +0200] Setting HPDeskJet920C device-uri to "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI" (was "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI".)
I [14/Oct/2004:19:45:14 +0200] Saving printers.conf...
I [14/Oct/2004:19:45:14 +0200] Started backend /usr/lib/cups/backend/usb (PID 17535) for job 1.
I [14/Oct/2004:19:45:14 +0200] Printer 'HPDeskJet920C' modified by 'root'.
E [14/Oct/2004:19:45:14 +0200] PID 17534 stopped with status 0!
I [14/Oct/2004:19:45:14 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [14/Oct/2004:19:49:25 +0200] Adding start banner page "none" to job 3.
I [14/Oct/2004:19:49:25 +0200] Adding end banner page "none" to job 3.
I [14/Oct/2004:19:49:25 +0200] Job 3 queued on 'HPDeskJet920C' by 'gentoo'.
I [14/Oct/2004:19:51:09 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:52:29 +0200] Listening to 0:631
I [14/Oct/2004:19:52:29 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:52:29 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:52:29 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:52:29 +0200] Full reload is required.
I [14/Oct/2004:19:52:29 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:52:29 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:52:29 +0200] Full reload complete.
I [14/Oct/2004:19:52:29 +0200] Started backend /usr/lib/cups/backend/usb (PID 17835) for job 1.
I [14/Oct/2004:19:52:54 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:53:12 +0200] Listening to 0:631
I [14/Oct/2004:19:53:12 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:53:12 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:53:12 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:53:12 +0200] Full reload is required.
I [14/Oct/2004:19:53:12 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:53:12 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:53:12 +0200] Full reload complete.
I [14/Oct/2004:19:53:26 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:53:28 +0200] Listening to 0:631
I [14/Oct/2004:19:53:28 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:53:28 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:53:28 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:53:28 +0200] Full reload is required.
I [14/Oct/2004:19:53:28 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:53:28 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:53:28 +0200] Full reload complete.
I [14/Oct/2004:19:55:09 +0200] Scheduler shutting down normally.
I [14/Oct/2004:19:59:49 +0200] Listening to 0:631
I [14/Oct/2004:19:59:49 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:19:59:49 +0200] Configured for up to 100 clients.
I [14/Oct/2004:19:59:49 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:19:59:49 +0200] Full reload is required.
I [14/Oct/2004:19:59:49 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:19:59:49 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:19:59:49 +0200] Full reload complete.
I [14/Oct/2004:20:00:06 +0200] Adding start banner page "none" to job 1.
I [14/Oct/2004:20:00:06 +0200] Adding end banner page "none" to job 1.
I [14/Oct/2004:20:00:06 +0200] Job 1 queued on 'HPDeskJet920C' by 'gentoo'.
I [14/Oct/2004:20:00:06 +0200] Started backend /usr/lib/cups/backend/usb (PID 18283) for job 1.
I [14/Oct/2004:20:07:32 +0200] Scheduler shutting down normally.
I [14/Oct/2004:20:09:29 +0200] Listening to 0:631
I [14/Oct/2004:20:09:29 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [14/Oct/2004:20:09:29 +0200] Configured for up to 100 clients.
I [14/Oct/2004:20:09:29 +0200] Allowing up to 100 client connections per host.
I [14/Oct/2004:20:09:29 +0200] Full reload is required.
I [14/Oct/2004:20:09:29 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [14/Oct/2004:20:09:29 +0200] LoadPPDs: No new or changed PPDs...
I [14/Oct/2004:20:09:29 +0200] Full reload complete.
I [14/Oct/2004:20:09:30 +0200] Started backend /usr/lib/cups/backend/usb (PID 4169) for job 1.
I [14/Oct/2004:20:15:17 +0200] Adding start banner page "none" to job 2.
I [14/Oct/2004:20:15:17 +0200] Adding end banner page "none" to job 2.
I [14/Oct/2004:20:15:17 +0200] Job 2 queued on 'HPDeskJet920C' by 'gentoo'.
E [14/Oct/2004:20:18:37 +0200] [Job 1] Unable to send print file to printer: No such device
E [14/Oct/2004:20:18:37 +0200] PID 4169 stopped with status 1!
I [14/Oct/2004:20:18:37 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [14/Oct/2004:20:18:37 +0200] Saving printers.conf...
I [14/Oct/2004:20:19:03 +0200] Setting HPDeskJet920C printer-is-accepting-jobs to 1 (was 1.)
I [14/Oct/2004:20:19:03 +0200] Setting HPDeskJet920C printer-state to 3 (was 5.)
I [14/Oct/2004:20:19:03 +0200] Saving printers.conf...
I [14/Oct/2004:20:19:03 +0200] Started backend /usr/lib/cups/backend/usb (PID 4335) for job 1.
I [14/Oct/2004:20:19:03 +0200] Printer 'HPDeskJet920C' modified by 'root'.
I [14/Oct/2004:20:19:03 +0200] Setting HPDeskJet920C device-uri to "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI" (was "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI".)
I [14/Oct/2004:20:19:03 +0200] Saving printers.conf...
I [14/Oct/2004:20:19:03 +0200] Started backend /usr/lib/cups/backend/usb (PID 4336) for job 1.
I [14/Oct/2004:20:19:03 +0200] Printer 'HPDeskJet920C' modified by 'root'.
E [14/Oct/2004:20:19:03 +0200] PID 4335 stopped with status 0!
I [14/Oct/2004:20:19:03 +0200] Hint: Try setting the LogLevel to "debug" to find out more.
I [14/Oct/2004:21:43:11 +0200] Scheduler shutting down normally.
I [09/Dec/2004:13:14:10 +0100] Listening to 0:631
I [09/Dec/2004:13:14:10 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:14:10 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:14:10 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:14:10 +0100] Full reload is required.
I [09/Dec/2004:13:14:11 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:14:11 +0100] LoadPPDs: Wrote "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:14:11 +0100] Full reload complete.
I [09/Dec/2004:13:14:11 +0100] Started backend /usr/lib/cups/backend/usb (PID 7112) for job 1.
I [09/Dec/2004:13:17:58 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:29:53 +0100] Listening to 0:631
I [09/Dec/2004:13:29:53 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:29:53 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:29:53 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:29:53 +0100] Full reload is required.
I [09/Dec/2004:13:29:53 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:29:53 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:29:53 +0100] Full reload complete.
I [09/Dec/2004:13:29:53 +0100] Started backend /usr/lib/cups/backend/usb (PID 7331) for job 1.
W [09/Dec/2004:13:29:53 +0100] [Job 1] Media tray empty!
I [09/Dec/2004:13:34:37 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:34:38 +0100] Listening to 0:631
I [09/Dec/2004:13:34:38 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:34:38 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:34:38 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:34:38 +0100] Full reload is required.
I [09/Dec/2004:13:34:38 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:34:38 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:34:38 +0100] Full reload complete.
I [09/Dec/2004:13:34:38 +0100] Started backend /usr/lib/cups/backend/usb (PID 7468) for job 1.
I [09/Dec/2004:13:35:55 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:35:56 +0100] Listening to 0:631
I [09/Dec/2004:13:35:56 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:35:56 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:35:56 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:35:56 +0100] Full reload is required.
I [09/Dec/2004:13:35:56 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:35:56 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:35:56 +0100] Full reload complete.
I [09/Dec/2004:13:35:56 +0100] Started backend /usr/lib/cups/backend/usb (PID 7539) for job 1.
I [09/Dec/2004:13:38:43 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:38:44 +0100] Listening to 0:631
I [09/Dec/2004:13:38:44 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:38:44 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:38:44 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:38:44 +0100] Full reload is required.
I [09/Dec/2004:13:38:44 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:38:44 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:38:44 +0100] Full reload complete.
I [09/Dec/2004:13:38:44 +0100] Started backend /usr/lib/cups/backend/usb (PID 7630) for job 1.
I [09/Dec/2004:13:41:35 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:41:36 +0100] Listening to 0:631
I [09/Dec/2004:13:41:36 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:41:36 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:41:36 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:41:36 +0100] Full reload is required.
I [09/Dec/2004:13:41:36 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:41:36 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:41:36 +0100] Full reload complete.
I [09/Dec/2004:13:41:36 +0100] Started backend /usr/lib/cups/backend/usb (PID 7705) for job 1.
I [09/Dec/2004:13:45:30 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:45:31 +0100] Listening to 0:631
I [09/Dec/2004:13:45:31 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:45:31 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:45:31 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:45:31 +0100] Full reload is required.
I [09/Dec/2004:13:45:31 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:45:31 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:45:31 +0100] Full reload complete.
I [09/Dec/2004:13:45:31 +0100] Started backend /usr/lib/cups/backend/usb (PID 7780) for job 1.
I [09/Dec/2004:13:51:27 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:51:28 +0100] Listening to 0:631
I [09/Dec/2004:13:51:28 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:51:28 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:51:28 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:51:28 +0100] Full reload is required.
I [09/Dec/2004:13:51:28 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:51:28 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:51:28 +0100] Full reload complete.
I [09/Dec/2004:13:51:28 +0100] Started backend /usr/lib/cups/backend/usb (PID 7862) for job 1.
I [09/Dec/2004:13:54:34 +0100] Scheduler shutting down normally.
I [09/Dec/2004:13:54:35 +0100] Listening to 0:631
I [09/Dec/2004:13:54:35 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:13:54:35 +0100] Configured for up to 100 clients.
I [09/Dec/2004:13:54:35 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:13:54:35 +0100] Full reload is required.
I [09/Dec/2004:13:54:35 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:13:54:35 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:13:54:35 +0100] Full reload complete.
I [09/Dec/2004:13:54:35 +0100] Started backend /usr/lib/cups/backend/usb (PID 7948) for job 1.
I [09/Dec/2004:13:54:40 +0100] Scheduler shutting down normally.
I [09/Dec/2004:14:06:10 +0100] Listening to 0:631
I [09/Dec/2004:14:06:10 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:14:06:10 +0100] Configured for up to 100 clients.
I [09/Dec/2004:14:06:10 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:14:06:10 +0100] Full reload is required.
I [09/Dec/2004:14:06:10 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:14:06:10 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:14:06:10 +0100] Full reload complete.
I [09/Dec/2004:14:06:10 +0100] Started backend /usr/lib/cups/backend/usb (PID 9516) for job 1.
E [09/Dec/2004:14:18:45 +0100] [Job 1] Unable to send print file to printer: No such device
E [09/Dec/2004:14:18:45 +0100] PID 9516 stopped with status 1!
I [09/Dec/2004:14:18:45 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
I [09/Dec/2004:14:18:45 +0100] Saving printers.conf...
I [09/Dec/2004:14:18:51 +0100] Scheduler shutting down normally.
I [09/Dec/2004:14:22:22 +0100] Listening to 0:631
I [09/Dec/2004:14:22:22 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [09/Dec/2004:14:22:22 +0100] Configured for up to 100 clients.
I [09/Dec/2004:14:22:22 +0100] Allowing up to 100 client connections per host.
I [09/Dec/2004:14:22:22 +0100] Full reload is required.
I [09/Dec/2004:14:22:22 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [09/Dec/2004:14:22:22 +0100] LoadPPDs: No new or changed PPDs...
I [09/Dec/2004:14:22:22 +0100] Full reload complete.
I [10/Dec/2004:00:12:47 +0100] Scheduler shutting down normally.
I [10/Dec/2004:00:12:48 +0100] Listening to 0:631
D [10/Dec/2004:00:12:48 +0100] AddLocation: added location '/'
D [10/Dec/2004:00:12:48 +0100] DenyIP: / deny 00000000/00000000
D [10/Dec/2004:00:12:48 +0100] AllowIP: / allow 7f000001/ffffffff
D [10/Dec/2004:00:12:48 +0100] AddLocation: added location '/admin'
D [10/Dec/2004:00:12:48 +0100] DenyIP: /admin deny 00000000/00000000
D [10/Dec/2004:00:12:48 +0100] AllowIP: /admin allow 7f000001/ffffffff
I [10/Dec/2004:00:12:48 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [10/Dec/2004:00:12:48 +0100] Configured for up to 100 clients.
I [10/Dec/2004:00:12:48 +0100] Allowing up to 100 client connections per host.
I [10/Dec/2004:00:12:48 +0100] Full reload is required.
D [10/Dec/2004:00:12:48 +0100] LoadAllPrinters: Loading printer HPDeskJet920C...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "ipp"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "lpd"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "scsi"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "socket"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb://HP/DeskJet%20920C?serial=HU18L6P28VBI"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "smb"...
D [10/Dec/2004:00:12:48 +0100] LoadDevices: Added device "http"...
I [10/Dec/2004:00:12:48 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 15 PPDs...
I [10/Dec/2004:00:12:48 +0100] LoadPPDs: No new or changed PPDs...
D [10/Dec/2004:00:12:48 +0100] LoadAllJobs: Scanning /var/spool/cups...
D [10/Dec/2004:00:12:48 +0100] LoadAllJobs: Loading attributes for job 1...
D [10/Dec/2004:00:12:48 +0100] LoadAllJobs: Loading attributes for job 2...
D [10/Dec/2004:00:12:48 +0100] LoadAllJobs: Auto-typing document file d00001-001...
D [10/Dec/2004:00:12:48 +0100] LoadAllJobs: Auto-typing document file d00002-001...
I [10/Dec/2004:00:12:48 +0100] Full reload complete.
D [10/Dec/2004:00:12:48 +0100] StartListening: NumListeners=1
D [10/Dec/2004:00:12:48 +0100] StartListening: address=00000000 port=631
D [10/Dec/2004:00:12:48 +0100] ResumeListening: setting input bits...
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Thu Dec 09, 2004 11:21 pm    Post subject: Reply with quote

purtroppo non avendo nè kde nè gnome me la devo vedere a manina con le configurazioni...
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Thu Dec 09, 2004 11:34 pm    Post subject: Reply with quote

Potresti provare a configurare il file di configurazione di cups con informazioni precise sulla tua macchina quali hostname, ip e permessi per provare una soluzione + mirata?
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Josuke
Veteran
Veteran


Joined: 07 May 2003
Posts: 1175
Location: Italy - Bolzano

PostPosted: Fri Dec 10, 2004 12:57 am    Post subject: Reply with quote

secondo il mio modesto parere...l'errore è da cercare nel perchè da browser non ti faccia vedere localhost:631....cups da avviato fa vedere quella schermata..non ci sono eccezioni...non è che hai un firewall che per distrazione blocca quella porta anche da locale?
_________________
fletto i muscoli...e sono nel vuoto
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Sat Dec 25, 2004 3:35 pm    Post subject: Reply with quote

riesumo il post...dato che sono stato via e non avevo ancora risolto il problema...
ho provato a configurare la stampante con livecd gentoo-RR4 da firefox e funziona tutto alla perfezione...quindi deve funzionare anche qui! :)

Code:
 # netstat -alpn | grep 631
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      6149/cupsd         
tcp        0      1 192.168.8.3:32799       127.0.0.1:631           SYN_SENT    5967/firefox-bin   
udp        0      0 0.0.0.0:631             0.0.0.0:*                           6149/cupsd         


# sguscia /etc/cups/cupsd.conf
AccessLog /var/log/cups/access_log
DocumentRoot /usr/share/cups/docs
ErrorLog /var/log/cups/error_log
LogLevel debug
User lp
Group lp
Port 631
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
AuthType None
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1 192.168.8.*
</Location>


 # sguscia /etc/cups/printers.conf
<DefaultPrinter HPDeskJet920C>
Info Raw queue
DeviceURI usb://HP/DeskJet%20920C?serial=HU18L6P28VBI
State Stopped
StateMessage Unable to send print file to printer: No such device
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>


 # sguscia /etc/cups/printers.conf.O
<DefaultPrinter HPDeskJet920C>
Info Raw queue
DeviceURI usb://HP/DeskJet%20920C?serial=HU18L6P28VBI
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>



...
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Sat Dec 25, 2004 4:26 pm    Post subject: Reply with quote

Son contento per te! Almeno hai visto che è una cosa fattibile che può funzionare... Ma mi associo a dboogieman: hai provato a partire da zero e seguirepasso passo l'howto di gentoo? http://www.gentoo.org/doc/en/printing-howto.xml
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Sat Dec 25, 2004 9:04 pm    Post subject: Reply with quote

si...ho seguito l'howto fino a che nn chiede di aprire http://localhost:631
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Sat Dec 25, 2004 10:32 pm    Post subject: Reply with quote

E lì fallisce... Uhm... :?
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
rota
l33t
l33t


Joined: 13 Aug 2003
Posts: 960

PostPosted: Sun Dec 26, 2004 3:25 am    Post subject: Reply with quote

Code:
lappena avvio cups la stampante inizia a frullare all'infinito


be lo faperche ai installato i driver sbagliato ....
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Sun Dec 26, 2004 1:29 pm    Post subject: Reply with quote

Code:
 # dmesg | tail -n 4
usb 2-2: new full speed USB device using address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x1504
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver


ho emerso hpijs ... come indicato sull'howto e su http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_920C

Code:
grep -i 920c /usr/share/foomatic/db/source/driver/*
/usr/share/foomatic/db/source/driver/gimp-print.xml:   <id>printer/HP-DeskJet_920C</id>
/usr/share/foomatic/db/source/driver/hpijs.xml:   <id>printer/HP-DeskJet_920C</id>


quindi ho dato:

Code:
 # foomatic-configure -s cups -p HP-DeskJet_920C -c file:/dev/usb/lp0 -n HP -d hpijs


e sinceramente ci ha impiegato parecchio a restituirmi il prompt...mi sono ricollegato a localhost:631 ma il problema persiste in un bel time-out.
Boh.
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 12:01 am    Post subject: Reply with quote

a male estremo estremi rimedi...
ho riavviato col livecd configurato la stampante da browser... ho anche stampato un foglio (non quello di test) e funziona bene. A questo punto ho dato un bel:

Code:

# cp -fr /etc/cups/* /mnt/harddisk/etc/
# cp -fr /usr/share/foomatic/* /mnt/harddisk/usr/share/foomatic/


ho riavviato il tutto ma il browser continua a non aprire localhost:631 a questo punto mi viene da pensare solo ad una causa esterna a cups...ma quale..?

Code:
 # netstat -nap | grep cups
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      8518/cupsd         
udp        0      0 0.0.0.0:631             0.0.0.0:*                           8518/cupsd         
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Dec 28, 2004 12:08 am    Post subject: Reply with quote

il demone viene riavviato ogni volta che cambi qualche cosa in cups.conf?
hai attivato iptable o altre impostazioni strane per la rete?
hai impostato correttamente il tuo localhost?
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 11:14 am    Post subject: Reply with quote

Code:

gentoo # sguscia /etc/hosts
127.0.0.1       localhost
192.168.8.1     router
192.168.8.2     home
192.168.8.3     sp0ck
192.168.8.4     schiavetto
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

gentoo # unstable -pv iptables shorewall

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-firewall/iptables-1.2.11-r3  -debug -extensions +ipv6 -static 153 kB
[ebuild  N    ] sys-apps/iproute2-2.6.9.20041019-r1  -atm -minimal 268 kB
[ebuild  N    ] net-firewall/shorewall-2.0.13  -doc 101 kB

Total size of downloads: 524 kB

gentoo # sguscia /etc/cups/cupsd.conf
DocumentRoot /usr/share/cups/docs
LogLevel info
User lp
Group lp
Port 631
SystemGroup lp
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>




...però ora che mi ci fai pensare...non sarà mica:

Code:

 gentoo # cat /etc/init.d/procconf
#!/sbin/runscript

depend() {
 use checkroot
}

start() {

 ebegin "Setting /proc options up"
 /bin/echo 1024 > /proc/sys/dev/rtc/max-user-freq
 /bin/echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
 /bin/echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
 /bin/echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
 /bin/echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route
 /bin/echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects
 for i in /proc/sys/net/ipv4/conf/*; do
   /bin/echo "1" > $i/rp_filter
 done
 /bin/echo "1" > /proc/sys/net/ipv4/conf/all/log_martians
 /bin/echo "0" > /proc/sys/net/ipv4/ip_forward
 eend 0
}



....mò provo....
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 11:20 am    Post subject: Reply with quote

...no non è la configurazione della /proc... :(
Back to top
View user's profile Send private message
[hammerfall]
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 243

PostPosted: Tue Dec 28, 2004 11:45 am    Post subject: Reply with quote

Io avevo avuto un problema simile.. nel mio caso il problema era dovuto al fatto che xinetd non era avviato e configurato a dovere: questo demone e' necessario per poter pubblicare l'interfaccia web sulla porta 631, quindi dovresti fare:
Code:
emerge xinetd

e poi modificare il file
Code:
/etc/xinetd.d/swat

in questo modo:
Code:
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/swat.xinetd,v 1.4 2004/07/18 03:55:05 dragonheart Exp $

service swat
{
        port            = 901
        socket_type     = stream
        wait            = no
        only_from       = localhost
        user            = root
        server          = /usr/sbin/swat
        log_on_failure += USERID
        disable         = no                 <------- NOTA PRIMA ERA YES (disabilitato)
}

spero di averti aiutato.. ^_^
_________________
--------

Hammerfall ^_^
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 12:42 pm    Post subject: Reply with quote

emerso, settato ma nulla da fare... :(
Back to top
View user's profile Send private message
[hammerfall]
Apprentice
Apprentice


Joined: 27 May 2004
Posts: 243

PostPosted: Tue Dec 28, 2004 12:53 pm    Post subject: Reply with quote

domanda stupida ma hai startato il servizio? e l'hai aggiunto al runlevel default?
Code:
rc-update add xinetd default
/etc/init.d/xinetd start

_________________
--------

Hammerfall ^_^
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 1:45 pm    Post subject: Reply with quote

certo...
Back to top
View user's profile Send private message
Tiro
l33t
l33t


Joined: 14 Feb 2003
Posts: 752
Location: italy

PostPosted: Tue Dec 28, 2004 1:46 pm    Post subject: Reply with quote

Code:
Sp0ck cell # rc-status -a | grep xine
 xinetd                                                                                                                               [ started ]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum