Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CUPS, Having problems with CUPS< Next Oldest | Next Newest >
sarge62436 Offline





Group: Members
Posts: 2
Joined: Dec. 2005
Posted: Dec. 14 2005,03:31 QUOTE

When I try to run CUPS, I receive a message in Firefox that states "...the connection was refused....localhost:631". Any suggestions on how to get CUPS working?

Thanks.
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Dec. 20 2005,21:04 QUOTE

I have the same problem. The "...the connection was refused....localhost:631" (and equivalent if using Dillo) is, in my case, because the cupsd daemon is not running.The way to get it running SHOULD be (with root authority) /etc/init.d/cupsys start
but this doesn't work for me  :( .
Also the system should start cupsys anyway as I have the appropriate links in    /etc/rc4.d    and    /etc/rc5.d    but it doesn't start.
Yet the automatic start does work for the ekpd daemon for the ink monitoring of my Epson Printer ???
It may, or may not, be related to the fact that I am using CUPS from Debian Sarge 3.1release0 re-mastered in to the system. Perhaps somebody (better-informed than myself!)  could say whether some special DSL tweak is needed  :) .
My next step is to try cups.dsl instead of a re-mastered installation of Sarge CUPS.
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Dec. 21 2005,12:26 QUOTE

OK - progress update:- Using the cups.dsl I find that it puts myDSL -> Cups ->  into the fluxbox menu, from which I successfully started the cupsd daemon, and then was able to get to printer administration via Cups Admin :) .
(Now we're getting out of scope of System, as distinct from Printer, forum topics but I'll mention some tricky following issues for completeness.)
The CUPS management in Dillo puts up an un-informative (see Eric S.Raymonds 'rant' on the subject !) authorisation login screen.
To let user dsl (rather than root) use this, add dsl to the lpadmin group thus using a root console
Code Sample
adduser dsl lpadmin

and define the dsl password thus
Code Sample
passwd dsl

Good luck :;):  !
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Dec. 22 2005,12:27 QUOTE

Correction to my previous post Dec.21 07:26 :-
Where I wrote "Dillo" I should have written "Firefox". (I was thinking of Feather Linux, where the permissions somewhere must be more relaxed and Dillo can be used as well as Firefox. The set-up in Damn Small Linux is more 'conventional' CUPS in this respect) .  :)
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Dec. 23 2005,21:04 QUOTE

I've now noticed what may have been the cause of the original posted problem; after starting CUPS, for a few minutes the cupsd daemon uses almost 99% CPU.  ???  During this time connections to localhost:631 are refused.
After leaving the system to settle for a while (I don't quantify how long as I expect that it will be dependent on the specific host system) CPU Usage falls back to normal levels, and CUPS Administration is possible.  :)
Back to top
Profile PM 
4 replies since Dec. 14 2005,03:31 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: CUPS

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code