LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-17-2006, 06:48 AM   #1
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
CUPS gives host not found error


Hi

I got CUPS running and it seems to work fine, but when I try to print something, KDE, initializes the printing manager and says:

Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found.


I know it's running, I enabled it trough init and ran cupsd as root. The strange thing was that CUPS was working before, this probably is because of an update.
 
Old 07-17-2006, 06:53 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Run ps and/or netstat and make sure the daemon really is running and listening for connections. Also, check your local localhost interface and make sure it's properly configured?
 
Old 07-17-2006, 08:04 AM   #3
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
ok, i got the error sorted out, but when I try to print, the printing system freezes, error log shows:
Code:
D [17/Jul/2006:14:00:26 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [17/Jul/2006:14:00:26 +0200] cupsdAcceptClient: 10 from localhost:631 (IPv4)
D [17/Jul/2006:14:00:36 +0200] cupsdCloseClient: 9
D [17/Jul/2006:14:00:36 +0200] cupsdReadClient: 10 POST /printers/ HTTP/1.1
D [17/Jul/2006:14:00:36 +0200] cupsdAuthorize: No authentication data provided.
D [17/Jul/2006:14:00:36 +0200] CUPS-Get-Default
D [17/Jul/2006:14:00:36 +0200] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [17/Jul/2006:14:00:36 +0200] cupsdAcceptClient: 9 from localhost:631 (IPv4)
D [17/Jul/2006:14:00:46 +0200] cupsdCloseClient: 10
D [17/Jul/2006:14:00:46 +0200] cupsdReadClient: 9 POST /printers/ HTTP/1.1
D [17/Jul/2006:14:00:46 +0200] cupsdAuthorize: No authentication data provided.
D [17/Jul/2006:14:00:46 +0200] Get-Printer-Attributes ipp://127.0.0.1:631/printers/Deskjet5550
D [17/Jul/2006:14:00:46 +0200] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok)
D [17/Jul/2006:14:00:46 +0200] cupsdCloseClient: 9
D [17/Jul/2006:14:01:52 +0200] cupsdAcceptClient: 9 from localhost:631 (IPv4)
It loops there for a while, then the printing system responds. Then it never prints the file.
 
Old 04-18-2007, 05:42 PM   #4
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
Did you ever find a fix for this? I have the same problem on Debian Etch and it's driving me crazy.
 
Old 04-24-2007, 05:54 PM   #5
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Original Poster
Rep: Reputation: 31
iirc, I fixed it by downgrading to the previous cups version. Unfortunately, it's long ago, so I'm not completely sure.
 
  


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
Samba / Cups: client-error-not-found ramabungle Fedora 0 01-19-2006 12:00 PM
Resolving <www.some remote host>.... failed: Host not found. koodoo Linux - Newbie 2 06-27-2005 09:48 AM
CUPS not printing - client-error-not-found xmnemonic Linux - Hardware 1 05-22-2004 03:31 PM
cups error: "Network host is busy" Duke Pennell Linux - Networking 1 09-24-2003 03:26 PM
Error: host name not found: Comcast(frmr ATt) broadband benmullin Linux - Networking 1 03-20-2003 03:27 PM


All times are GMT -5. The time now is 10:10 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