LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 05: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, 05: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, 07: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, 04:42 PM   #4
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
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, 04: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 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
Open Source Consulting | Domain Registration