I am having major problems getting anywhere with cups. I have
occasionally and randomly been able to have the cupsd allow me to
to administration via the web. That's how I added a printer.
However, most of the time, I start the daemon and then when I try to
user either lpstat -t, or lpinfo -v I get this error
root@andromeda:/usr/sbin# lpinfo -v
lpinfo: cups-get-devices failed: server-error-service-unavailable
root@andromeda:/usr/sbin# lpstat -t
lpstat: Unable to connect to server: Connection refused
....and then the cups daemon is gone!
Randomly I have been able to get it _not_ to die, like last night
at 2am, but I have no idea how. Today, nothing.
Here's my system
Slackware Linux 9.0
Kernel 2.4.20
Cups v1.2.0b1
Ghostscript 7.07.1
Canon BJC-210c using the Gimp-Print driver
PPD's are in the right place
I have the cups server set to localhost
Error log, the last time I started the daemon
I [23/Jan/2004:12:00:30 -0800] Listening to 0.0.0.0:631
D [23/Jan/2004:12:00:30 -0800] AddLocation: added location '/'
D [23/Jan/2004:12:00:30 -0800] DenyIP: / deny 0:0:0:0/0:0:0:0
D [23/Jan/2004:12:00:30 -0800] AllowIP: / allow
7f:0:0:1/ffffffff:ffffffff:ffffffff:ffffffff
D [23/Jan/2004:12:00:30 -0800] AddLocation: added location '/admin'
D [23/Jan/2004:12:00:30 -0800] DenyIP: /admin deny 0:0:0:0/0:0:0:0
D [23/Jan/2004:12:00:30 -0800] AllowIP: /admin allow
7f:0:0:1/ffffffff:ffffffff:ffffffff:ffffffff
I [23/Jan/2004:12:00:30 -0800] Loaded configuration file
"/etc/cups/cupsd.conf"
I [23/Jan/2004:12:00:30 -0800] Configured for up to 100 clients.
I [23/Jan/2004:12:00:30 -0800] Allowing up to 100 client connections per
host.
I [23/Jan/2004:12:00:30 -0800] Full reload is required.
D [23/Jan/2004:12:00:30 -0800] LoadAllPrinters: Loading printer Fussy...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "canon:/dev/lp0"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "epson:/dev/lp0"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "ipp"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "lpd"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device
"parallel:/dev/lp0"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "scsi"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device
"serial:/dev/ttyS0?baud=115200"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device
"serial:/dev/ttyS1?baud=115200"...
..
..
..
removed some lines here
..
..
..
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device
"usb:/dev/usb/lp14"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device
"usb:/dev/usb/lp15"...
D [23/Jan/2004:12:00:30 -0800] LoadDevices: Added device "http"...
I [23/Jan/2004:12:00:30 -0800] LoadPPDs: Read "/etc/cups/ppds.dat", 3386
PPDs...
I [23/Jan/2004:12:00:30 -0800] LoadPPDs: No new or changed PPDs...
D [23/Jan/2004:12:00:30 -0800] LoadAllJobs: Scanning /var/spool/cups...
D [23/Jan/2004:12:00:30 -0800] LoadAllJobs: Loading attributes for job 1...
I [23/Jan/2004:12:00:30 -0800] Full reload complete.
D [23/Jan/2004:12:00:30 -0800] StartListening: NumListeners=1
D [23/Jan/2004:12:00:30 -0800] StartListening: address=0.0.0.0 port=631
D [23/Jan/2004:12:00:30 -0800] ResumeListening: Setting input bits...
This line is at the bottom of the log when I run lpinfo -v
D [23/Jan/2004:12:04:09 -0800] AcceptClient: 5 from localhost:631.
Also, the first time I try to login to localhost:631 after starting the
daemon I get Document contains no data. Subsequent attempts result in
Connection Refused.
The random times when the daemon does allow me to access the web-admin
interface, upon trying to print a test page it says everything is fine,
but nothing prints. Then, when
I check jobs it says job stopped. When I restart it, it says
"client-error blah blah" (I'd give the exact output, but once again I
can't even get to the web-admin page)
Ideas? I'm at my wit's end
Thanks