LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS gives host not found error (http://www.linuxquestions.org/questions/linux-software-2/cups-gives-host-not-found-error-464795/)

dinolinux 07-17-2006 06:48 AM

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.

ugenn 07-17-2006 06:53 AM

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?

dinolinux 07-17-2006 08:04 AM

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. :(

chess 04-18-2007 05:42 PM

Did you ever find a fix for this? I have the same problem on Debian Etch and it's driving me crazy.

dinolinux 04-24-2007 05:54 PM

iirc, I fixed it by downgrading to the previous cups version. Unfortunately, it's long ago, so I'm not completely sure.


All times are GMT -5. The time now is 06:30 PM.