Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] Networking CUPS?
  • From: Graham Smith <gqs@xxxxxxxxxxxxxx>
  • Date: Thu, 5 May 2005 04:33:19 +1000
  • Message-id: <200505050433.19300.gqs@xxxxxxxxxxxxxx>
On Tue, 3 May 2005 03:37, Hylton Conacher (ZR1HPC) wrote:
> > Firstly what is the output of
> > lpstat -t
> > on both your server and client.
>
> Server:
> hylton@Umalusi:~> lpstat -t
> lpstat:Unable to connect to server: connection refused
>
> Client:
> hylton@Spy:~> lpstat -t
> lpstat: Unable to connect to server: Resource temporarily unavailable
>
The lpstat command prints the status of the CUPS server. man lpstat will give
you all the options.

From the above it appears that cups is not running properly. I suggest you run
as root
rccups restart
and then see if
lpstat -t
reports the status of Cups. You should get something similar to the following

---------------------------------
lpstat -t
scheduler is running
system default destination: CLP550N
device for CLP550N: lpd://10.212.64.20/lp
device for CLP550N/duplex: lpd://10.212.64.20/lp
device for CLP550N/env: lpd://10.212.64.20/lp
CLP550N accepting requests since Jan 01 00:00
CLP550N/duplex accepting requests since Jan 01 00:00
CLP550N/env accepting requests since Jan 01 00:00
printer CLP550N is idle. enabled since Jan 01 00:00
Data file sent successfully
printer CLP550N/duplex is idle. enabled since Jan 01 00:00
Data file sent successfully
printer CLP550N/env is idle. enabled since Jan 01 00:00
Data file sent successfully
---------------------------------------

If you cannot get a similar output, then cups is not starting. Have a look at
the error messages in /var/log/cups/error_log It should give you a reason
why it is failing. If you can't work out what is wrong send me the last part
of the log.

<SNIPPED>
> The server I not worry about but I am wondering about your servername
> entry in the client.conf file as it seems to have 2 full stops after the
> IP ie 192.168.0.1 .. before your comment. I assume those should be deleted?
>

I just checked the '..' are actually tab stops that your editor displays as a
'.' You will notice them everywhere I have added comments.

The other thing I just thought of, if you have been using the printing manager
in KDE it can corrupt the /etc/cups/cupsd.conf file. If that is the case have
a look at the end of the file and check to see there are no extraneous lines
been added to the file.


--
Regards,

Graham Smith

< Previous Next >