LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS apparently DOA (https://www.linuxquestions.org/questions/linux-software-2/cups-apparently-doa-451191/)

expatCM 06-03-2006 08:59 AM

CUPS apparently DOA
 
Running kubuntu 5.10 (breezy) out of the box. New install. Standard repositories.

Here is the challenge I am facing-

go to http://localhost:631 and the following message appears

"Firefox can't establish a connection to the server at localhost:631."

Run kdesu konqueror and then System Settings / Hardware / Printers and the following message appears

"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."

What I have done to try and fix this -

First used Adept to remove CUPS with a view to reinstalling it. Not a very good idea since the KDE desktop is trashed as part of the process. Quite a surprise that one ... but reinstalled without any problem...

Then switched to Synaptec and reinstalled anything to do with CUPS except bluez-cups which is some bluetooth printer driver. The problem is that removal of this file takes out the desktop.

I am told that localhost is important here and I have checked to make sure it is working and ... it is.

So I am stuck. Any suggestions as to what to do next?

bulliver 06-03-2006 06:02 PM

Dumb question: you did start cups after installing right?

expatCM 06-03-2006 07:16 PM

Good to cover the ground ..... not as a specific act no. But I have rebooted and it is set to start as a service on system load...........

bulliver 06-03-2006 09:23 PM

Ok, well:

# ps aux | grep cupsd | grep -v grep
will confirm if it's running, and:

# netstat -an | grep :631
will tell you if it is listening on port 631.

expatCM 06-03-2006 11:17 PM

In theory perhaps but .....

I entered each command individually ...

after hitting return the command prompt was returned. No output / messages ...

I have another computer also running Breezy and I do not have the same problem. The only general difference I can see between the two computers is that the one with the problem dual boots to Windows 2000 and the one without any problem simply runs Linux. But I guess that is a red herring ...

J.W. 06-03-2006 11:27 PM

I assume you already are familiar with LinuxPrinting.org but if not it contains many useful HOWTO's and tutorials. Good luck with it

bulliver 06-04-2006 02:08 AM

Quote:

after hitting return the command prompt was returned. No output / messages ...
So it's not running then. Try to start cupsd from the cli, and see if it is throwing errors. Usually the default cupsd.conf file will work but you may have to tweak it...


All times are GMT -5. The time now is 10:51 AM.