DLH n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Jan 2003 Posts: 5
|
Posted: Sun Jan 05, 2003 8:04 pm Post subject: cupsd requires restart before printing will work |
|
|
I'm having trouble getting my printer working consistently under Cups.
cupsd is started sucessfully upon boot. If I browse to localhost:631, the appropriate page is loaded. However, something is wrong with the service.
If I try to print, I get the following in the error log:
I [05/Jan/2003:11:29:38 -0800] Job 35 queued on 'Hyakuna' by 'user'.
I [05/Jan/2003:11:29:38 -0800] Started filter /usr/lib/cups/filter/pstops (PID 6241) for job 35.
I [05/Jan/2003:11:29:38 -0800] Started filter /usr/lib/cups/filter/cupsomatic (PID 6242) for job 35.
I [05/Jan/2003:11:29:38 -0800] Started backend /usr/lib/cups/backend/ipp (PID 6243) for job 35.
E [05/Jan/2003:11:29:38 -0800] PID 6241 stopped with status 22!
E [05/Jan/2003:11:29:38 -0800] PID 6242 stopped with status 22!
W [05/Jan/2003:11:29:38 -0800] Toner low.
If I try to select any relevant links on the admin page at localhost:631, I also have problems. I get the following in the error log:
W [05/Jan/2003:11:29:38 -0800] Toner low.
I [05/Jan/2003:11:42:17 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=6284)
E [05/Jan/2003:11:42:17 -0800] PID 6284 stopped with status 13!
I [05/Jan/2003:11:42:47 -0800] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=6285)
E [05/Jan/2003:11:42:47 -0800] PID 6285 stopped with status 13!
I [05/Jan/2003:11:43:10 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=6286)
E [05/Jan/2003:11:43:11 -0800] PID 6286 stopped with status 13!
However, if I restart the daemon:
>> cd /etc/init.d
>> runscript cupsd restart
It restart sucessfully, and printing works as it should.
Other items to note:
- I'm printing over the LAN.
- cupsd is starting after eth0 comes up upon boot.
- When the print fails, the kprinter taskbar icon never comes up.
I can restart the service manually after logging in, and probably get a script to do it for me, but this shouldn't be necessary.
Is there a service that must be started before cups that I'm missing?
What needs to be done to have the cupsd service work correctly upon boot?
Thanks for the help. |
|