Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-03-2005, 05:40 PM   #1
LQ Newbie
Registered: Jul 2004
Location: Kelowna
Posts: 21

Rep: Reputation: 15
CUPS Problem - can not access localhost:631

In Linux-SLAX i cannot access the printer list of CUPS. I want to add a printer "HP Deskjet 890C and I cannot do it without that list.

Here is the path that I'm using:

PATH in SLAX-Live CD-5.0.5: Control Center > Peripherals > Printers >
Change print system to: CUPS (Common UNIX
print system)

ERROR: Unable to retrieve the printer list.
Connection to CUPS server failed (http://localhost:631)
Check that the CUPS server is correctly installed and running.
ERROR: connection refused localhost:631.

If I go to KDEPrint and I click on the "Doc" Web-Site, I can access the
Internet without any problem, so the Internet connection is fine.
Why is CUPS refusing my connection?
I logged on from "ROOT" and typed in the right password.

Your help owould be very much appreciated.

Old 06-06-2005, 11:21 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,110

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
" Check that the CUPS server is correctly installed and running. "

It sounds as though cups is not running. I do not use slack, but the following command should help you:

ps -Al | grep cups

You should see that the cupsd program is running. If not, you'll have to start it. For me it is Control Centre-> System Services-> Enable cups to start at boot. You should have something similar.

Hope this helps.
Old 06-06-2005, 05:32 PM   #3
LQ Newbie
Registered: Jul 2004
Location: Kelowna
Posts: 21

Original Poster
Rep: Reputation: 15
Memo to tredegar: Thank you very much for your answer.
I typed in in my Linux-Slax computer:
pf -Al (is l a small letter l?) | grep cups
The terminal did not show any info.

Instead of Control Centre-> System Services , I have
Control Center-> System-> Kinfocenter, which shows the following:
Devices, IO Ports, Interrupts, Memory, Network Interfaces, Open GL,
PCI, Partitions, Processors, Protocols, SCSI, Samba, Sound, USB devices,x-server,
I do not know how to enable CUPSD.

Now I have another question, if I may asl
The recommended driver for my printer HP-Deskjet-890C is: hpijs.ppd.
In which directory should I download this driver?
Is it in /root/printer/usr/ ??

Thank you for your help.

Charles, Kelowna, Canada.
Old 06-06-2005, 05:56 PM   #4
LQ Newbie
Registered: Jul 2003
Distribution: Slackware 10.0, ArchLinux, FreeBSD 5.3
Posts: 14

Rep: Reputation: 0

If you're using Slax (the live cd) then I'm not sure what to tell you. If it is anything like Slackware (which it should be) then you can start cups by running '/etc/rc.d/rc.cups start' as root. That should take care of cups.

As to the driver: you need to put it into /usr/share/cups/model/

Then restart cups '/etc/rc.d/rc.cups restart'

Hope that helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS problem! "localhost:631, connection refused"!!! robbow52 Debian 5 03-04-2009 01:27 PM
CUPS http://localhost:631/ LUB997 Linux - Software 1 09-26-2005 07:52 PM
Can't Login to localhost:631 (CUPS Printing) in Suse 9.3 Desert Linux - Hardware 3 08-18-2005 08:20 PM
How to connect to http://localhost:631 to install CUPS ch.keller Linux - Hardware 3 06-07-2005 09:25 PM
can't access http://localhost:631 (for cups printing) TheOneAndOnlySM Slackware 4 10-14-2003 08:01 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration