You are not logged in.

#1 2007-03-30 23:21:46

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Can't Install Printer - Can't Access Cups

I installed Arch 0.8 Voodoo from the base iso. Everything went well. Base install, xorg install, xfce4 install. Then I installed Firefox and samba and hplip. Again, everything looks OK, I can browse the Internet. I can see WinXP shares. BUT, when I try to install my network printer as I have done many times, I hit a brick wall. Cups and Samba are running. When I try to access the Cups web pages by opening Firefox and entering: http://localhost:631, it times out. I have done this routine many times on Arch and other distros with no problems.  I must be missing a required package, but I have no clue which package is missing.

Any help will be appreciated, jimbo

Offline

#2 2007-03-31 07:03:30

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't Install Printer - Can't Access Cups

Check the wiki - you need to set up cups as one of your daemons to run at boot.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2007-03-31 14:05:12

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: Can't Install Printer - Can't Access Cups

Yup, cups and samba are set up to start at boot via entries in the DAEMONS section of /etc/rc.conf.

The network is OK, because I can access shared folders on a WinXP PC on my local network.

BUT, I can't get to the cups pages to set up my printer. When I enter the URL, localhost:631, in Firefox, it just times out. No error messages, just a time out after about 60 seconds.

Thanks for any help, jimbo

Offline

#4 2007-03-31 14:08:29

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't Install Printer - Can't Access Cups

Sorry, yes, you already said cups was running roll.

Did you try 127.0.0.1:631 instead of the localhost thing?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2007-03-31 14:28:38

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: Can't Install Printer - Can't Access Cups

Using 127.0.0.1:631 works! Now tell me why localhost:631 won't work and 127.0.0.1:631 does work.

Thanks, jimbo

Offline

#6 2007-03-31 15:06:51

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: Can't Install Printer - Can't Access Cups

OK, OK, I setup the local host as archhost. Sooo, the correct URL is; /http://archhost:631, (Which translates to 127.0.0.1:631). But, I thought I had tried archhost in my efforts.

Anyway, everything is working now.

Thanks, jimbo

Offline

#7 2007-03-31 17:14:00

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Can't Install Printer - Can't Access Cups

FYI: you can also add archhost after localhost in your /etc/hosts:

127.0.0.1        localhost.localdomain    localhost archhost

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#8 2007-03-31 18:53:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Can't Install Printer - Can't Access Cups

True smile. That line in the /etc/hosts file is probably missing:

[stijn@hephaistos ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1               localhost.localdomain   localhost
127.0.0.1               hehpaistos.borromini.net        hephaistos

# End of file

Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2007-03-31 19:50:54

jimbo-62
Member
From: Utah
Registered: 2005-07-31
Posts: 72

Re: Can't Install Printer - Can't Access Cups

Thanks guys. That clears some of the fog.

jimbo

Offline

#10 2007-04-04 18:47:16

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: Can't Install Printer - Can't Access Cups

Sorry to highjack this thread. I just installed Arch on my girlfriends pc and want to set up her printer and - I can't access localhost:631 (or 127.0.0.1) either. Actually, I can access localhost:631 but whenever I click on "add printer" it times out and I can't do anything. It seems to me as if cups was dying but ps -A |grep cupsd shows that cupsd is still running.

Furthermore it is strange, that I don't see any error messages in /var/log/cups/error_log or /var/log/cups/access_log.

I followed the wiki article, installed cups and gutenprint, modprobed lp, parport and parport_pc (and adden them to the modules array), added cups to the daemons_array and restarted.

Anyone who may help me?

Offline

Board footer

Powered by FluxBB