CUPS will not start
05022006 1240 GMT-6
I am running 5.10 Ubuntu. Last week I went to print and nothing happened. I went to the print control panel and it said CUPS failed to start. I asked for help in the ubuntu forums and it really lead nowhere. One guy who did help had me run Code:
netstat -tan|grep 63 Then he had me run Code:
sudo tail -f /var/log/cups/error_log Code:
I [29/Apr/2006:13:02:35 -0500] Listening to c0a80002:631 My printer is a Epson Stylus C61. It happened earlier last week. Now Im really in a bind print wise. Can someone give me a hand. Wade |
Well, its all there:
If it says it can't open /etc/cups/classes.conf, my first questions would be: Did it succeed to open it before? (scroll up in the error log to last week) Where does this file come from? try dpkg -S classes.conf Is there a backup? (./classes.conf~)? |
I only see classes.conf in /usr/share/doc/cupsys/examples.
I dont see any error log |
I found the error log but it only went back to April 26 and it says:
Code:
I [26/Apr/2006:07:35:25 -0500] Listening to 7f000001:631 |
Probably logrotate zipped the previous entries - any similarly named files?
|
There are only 8 total entries, seven are zipped and one unzipped. The one I posted above was the furthest back in date.
/var/log/cups/error_log7.gz is the oldest in date |
Solved!
I have a working printer now!!!!! GREAT!!!
|
How did you do it?
Btw.: I only use cups for network attached printers. Do you have an idea how to tell cups to not check LPT1 every now and then and create lots of 'FIFO timeout' garbage messages in dmesg? |
In my particular case, CUPS would not start because the line that says what address to listen for, there were two addresses. I dont know how a second address go there (I didnt put it there) but after removing it cups started right up and its been just fine since.
I have no idea on your LPT1 question. Im getting though it has something to do with the listening to address ports - same as mine. wade |
To whom it may concern:
If you don't have a printer attached at your parallel port and want to get rid of the kernel FIFO timeout messages in dmesg and xconsole, you'll have to tell lpd (had no relevance to cups this time) not to monitor it. Open /etc/lpd.conf and place a hash here & there. How to find such an issue? lsof | grep /dev/lp |
All times are GMT -5. The time now is 01:59 AM. |