LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-26-2010, 08:25 PM   #1
Doug Hutcheson
Member
 
Registered: Jun 2009
Location: Queensland
Distribution: Fedora 19 i686
Posts: 143

Rep: Reputation: 17
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" =
192.168.122.1:631',
'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "lo" = localhost:631',
'D [10/Apr/2010:09:01:11 +1000] cupsdNetIFUpdate: "eth0" =
fe80::20a:48ff:fe07:499d%eth0:631',

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.
 
Old 04-27-2010, 12:17 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Does the machine have itself listed as localhost in /etc/hosts ?
What does /etc/host.conf look like?
 
Old 04-27-2010, 01:19 AM   #3
Doug Hutcheson
Member
 
Registered: Jun 2009
Location: Queensland
Distribution: Fedora 19 i686
Posts: 143

Original Poster
Rep: Reputation: 17
Hi, Tinkster.
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
Quote:
/multi on
order hosts,bind
The machines have only the 127.0.0.1 and ::1 entries for themselves in /etc/hosts. These entries have the name and name.domain of the computer, for example:
Quote:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 cardraeh cardraeh.farm.home
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 cardraeh cardraeh.farm.home
The /etc/hosts files do not have an entry for the local machine at its IP address, so, for example, machine cardraeh does not have an entry '192.168.0.150 cardraeh cardraeh.farm.home'
 
Old 05-08-2010, 04:35 AM   #4
Doug Hutcheson
Member
 
Registered: Jun 2009
Location: Queensland
Distribution: Fedora 19 i686
Posts: 143

Original Poster
Rep: Reputation: 17
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!
Cheers, Doug.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO install packages w/o interaction on ubuntu server? Skaperen Ubuntu 3 01-18-2010 11:06 AM
[SOLVED] xmbc sshfs takes about 1 minute to navigate directories schneidz Linux - Server 3 07-02-2009 02:01 AM
xmms takes about one minute before playing a file bliblu Linux - Software 3 05-13-2006 12:25 PM
cups takes forever to print images mimithebrain Linux - Software 6 02-24-2006 09:48 PM
Modem takes more than a minute to dial out with kppp jimdaworm Slackware 2 02-25-2004 07:21 PM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration