Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] Networking CUPS?
  • From: "Hylton Conacher (ZR1HPC)" <hylton@xxxxxxxxxxxx>
  • Date: Sun, 22 May 2005 14:26:07 +0200
  • Message-id: <42907A5F.50606@xxxxxxxxxxxx>
Sid Boyce wrote:
Hylton Conacher (ZR1HPC) wrote:

Sorry to all those helping me with this thread. I started work at a new company and have not had the energy for email when I arrive home late.

Joe Morris (NTM) wrote:

Hylton Conacher (ZR1HPC) wrote:

hylton@Umalusi:~> lpstat -t
lpstat:Unable to connect to server: connection refused

I believe it is refused because the server is not running.

How can I get the server started and running on system boot? I would assume rccups restart would work but see below:

"chkconfig cups" if it says "off", then do "chkconfig cups on".
Thanks Sid. On the server cups is on on the server.

All I get is an error number 98 when I rccups restart. Below is the last
few lines copied and pasted from the SERVERS /var/log/cups/error_log as it was booted. Client brought online after server:
I [07/May/2005:19:41:12 +0200] Listening to 0:631
I [07/May/2005:19:41:12 +0200] Listening to 0:631
I [07/May/2005:19:41:12 +0200] Sending browsing info to c0a800ff:631
E [07/May/2005:19:41:12 +0200] httpGetHostByName("@LOCAL ###### This has to be set") failed - Host name lookup failure!

This needs fixed.

If you've got "HostNameLookups" in /etc/cupsd.conf on the server, comment it out.
It was commented out on the server and not avail on client.

What is causing this and how can I fix this this hostname lookup failure?

E [07/May/2005:19:41:12 +0200] Bad BrowseAddress @LOCAL ###### This has to be set at line 537.
E [07/May/2005:19:41:12 +0200] Unknown directive # on line 801.
E [07/May/2005:19:41:12 +0200] Unknown directive # on line 802.
E [07/May/2005:19:41:12 +0200] Unknown Location directive # on line 833.

You should check each of the bad lines above in your /etc/cups/cupsd.conf

Thanks. I do not understand the Bad BrowseAddress though. The #'s were just comment fields.

My /etc/cups/cupsd.conf is set as follows, but it works for all the clients on my local network.

#BrowseAddress @LOCAL
BrowseAddress @IF(eth0)

BrowseAllow @LOCAL
BrowseDeny All

<Location />
Order Deny,Allow
Deny From All
Allow From
Allow From
Allow From @LOCAL


E [07/May/2005:19:41:16 +0200] StartListening: Unable to find IP address for server name " # Use an IP address as it is less prone to error" - Host name lookup failure

Is this address reachable?

Most definitely! It is the address of my server which I can ping.

Exchange the IP address for the hostname, check also that there is an IP address/hostname pair in /etc/hosts like --- <hostname>
Seems it is looking for a hostname rather than an IP address.
I'm going to skip changing it to the hostname for now as an earlier poster suggested it was better to use IP address, but I will definitely keep it in mind.

Hylton Conacher - Linux user # 229959 at
Currently using SuSE 9.0 Professional with KDE 3.1

< Previous Next >