Eggplant! n00b
Joined: 29 May 2003 Posts: 20
|
Posted: Mon Sep 15, 2003 9:07 pm Post subject: CUPS not listening? |
|
|
Been whacking my head on this one for a few hours now...
Trying to setup an HP DeskJet 930C printer via USB and CUPS. I've followed the printing docs on the Gentoo site, but am running into a road block.
I've compiled the usbcore and printer modules and they load. I see my printer pop up in the logs, and /dev/usb/lp0 exists.
I've printed a manual test page by sending text directly to /dev/usb/lp0, and it worked! yay!
I've installed cups, footmatic, ghostscript, and hpijs with no errors.
But, I'm having problems from there. I've started cupsd:
Code: | # /etc/init.d/cupsd start
* Starting cupsd... [ok]
# tail /var/log/cups/error_log
I [15/Sep/2003:16:25:04 -0400] Full reload complete.
E [15/Sep/2003:17:00:32 -0400] Scheduler shutting down due to SIGTERM.
I [15/Sep/2003:17:00:34 -0400] Listening to a000801:631
I [15/Sep/2003:17:00:34 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [15/Sep/2003:17:00:34 -0400] Configured for up to 100 clients.
I [15/Sep/2003:17:00:34 -0400] Allowing up to 100 client connections per host.
I [15/Sep/2003:17:00:34 -0400] Full reload is required.
I [15/Sep/2003:17:00:37 -0400] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs...
I [15/Sep/2003:17:00:37 -0400] LoadPPDs: No new or changed PPDs...
I [15/Sep/2003:17:00:37 -0400] Full reload complete.
# netstat -anp --inet
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
...
tcp 0 0 10.0.8.1:631 0.0.0.0:* LISTEN 24601/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:*
... |
But foomatic and lpstat cannot seem to find it:
Code: | # foomatic-configure -s cups -p "HP-DeskJet_930C" -c /dev/usb/lp0 -n deskjet -d hpijs
lpadmin: Unable to connect to server: Connection refused
Could not set up/change the queue "deskjet"!
# lpstat -t
lpstat: Unable to connect to server: Connection refused |
Any ideas? |
|