Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
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.
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?
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.