Problem with cups

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
april

Problem with cups

#1 Post by april »

I am unable to get cups to load "http://localhost:631/" with this message
Failed to Connect

The connection was refused when attempting to contact localhost:631.

Though the site seems valid, the browser was unable to establish a connection.

Could the site be temporarily unavailable? Try again later.
Are you unable to browse other sites? Check the computer's network connection.
Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
This request "http://localhost:2605/index.html" loads OSbitmeter fine

So can anyone suggest what might be blocking cups?

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#2 Post by Galbi »

While waiting for a better answer.... :)
I wonder if CUPS is really running.
In a console:

Code: Select all

#ps ax |grep cups
would be my first intent.

Saludos.
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#3 Post by watchdog »

I would try to uninstall the most recent package installed in PPM... Sometimes, for permissions problems, installing a package breaks cups. You can restart cups with:

Code: Select all

/etc/init.d/cups restart

april

#4 Post by april »

Thanks watchdog ,running that gave me a missing link to the cups engine . So I'll go trace that now

I'm getting lots of cups related files and directories .
The link is pointing to /lib/init/upstart-job but I find there is no /lib/init/ files whatever .
can anyone suggest a fix . I have reinstalled some of the cups packages just now to try to remedy this but nothing has worked so far
Attachments
Cups check.png
(122.67 KiB) Downloaded 248 times

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#5 Post by watchdog »

Cups broken by missing libs and files? I never had success reinstalling cups. I suggest to backup important data and start again with a fresh frugal install.

april

#6 Post by april »

Galbi wrote:While waiting for a better answer.... :)
I wonder if CUPS is really running.
In a console:

Code: Select all

#ps ax |grep cups
would be my first intent.
Saludos.
Yes it was but it would not stop restart from a terminal Thanks

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#7 Post by perdido »

Assuming you are still running precise 5.7.1 , the box-stock cups file in /etc/init.d/ on my precise 5.7.1 is not a sym-link, it is a real executable that is 3942 Bytes dated 19 nov, 2009

Seems yours updated to a sym-link.

Just mentioning because it is different from mine.

april

#8 Post by april »

Yes thanks , something weird has gone on . I picked that up myself so I opened the precise5.7.1.sfs file and copied the right file into the above directory . That improved the situation but now I have an unfound literal so i'm presently trying to track that down or get all the cups files in the sfs copied into my directories. I guess it must be some script running in the savefile that changed my files and it probably comes from an update I must have done .

april

#9 Post by april »

Icouldn't find a way around that so I looked through and got rid of a latter version of cups I had tried to install when the error surfaced . Then with the copied file in place cups is back to normal I think.

Post Reply