Any interaction with CUPS server takes over minute
This has been raised as redhat bugzilla bug 583054 - see https://bugzilla.redhat.com/show_bug.cgi?id=583054
I am posting here in case anyone else has dealt with a similar problem. In brief, I have a print server running Fedora 12/CUPS dual boot WinXP. The attached printer is a Canon BJC-4100. When the server is booted in F12, it takes over a minute for a networked Fedora 12 box to bring up a print dialog, or for the printer to start after a page has been submitted. When the print server is booted in WinXP, printing is immediate.
Tim Waugh identified the problem in the CUPS Troubleshooter output:
'D [10/Apr/2010:09:00:20 +1000] cupsdNetIFUpdate: "lo" = localhost:631',
'D [10/Apr/2010:09:00:37 +1000] cupsdNetIFUpdate: "eth0" = 192.168.0.199:631',
'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "virbr0" =
'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "lo" = localhost:631',
'D [10/Apr/2010:09:01:11 +1000] cupsdNetIFUpdate: "eth0" =
In other words, the CUPS server is hanging during some network interaction.
I do not run my own DNS. All Fedora machines on the network have their peers named in /etc/hosts. Neither the print server nor any other box on the LAN has any trouble with other network activities like ssh, scp, VNC - all these respond immediately.
I am hoping the answer is in the CUPS server configuration somewhere. I have tried using two different boxes as the print server with the same results. I am using plain-vanilla Fedora 12 tools and localhost:631 to configure the printer.
Any ideas would be gratefully received.
Does the machine have itself listed as localhost in /etc/hosts ?
What does /etc/host.conf look like?
If you can help me find out how to help myself in this I would be delighted! The lesson is likely to stick that way.
The machine is currently booted in WinXP, but it is an out-of-the-box installation of Fedora 12 so should be the same as my other machines...
...in which case, /etc/host.conf is
The problem has been fixed by a very new upgrade to CUPS, plus adding a line for the server at its IP address (in the server's /etc/hosts) like '192.168.0.150 cardraeh cardraeh.farm.home' in addition to the entry for 127.0.0.1. Never needed that line before - go figure!
|All times are GMT -5. The time now is 11:40 PM.|