SCIENTIFIC-LINUX-USERS Archives

September 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jon Peatfield <[log in to unmask]>
Reply To:
Jon Peatfield <[log in to unmask]>
Date:
Fri, 18 Sep 2009 11:11:16 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (41 lines)
On Fri, 18 Sep 2009, g wrote:

> greetings
<snip>
> ---
> from /var/log/cups/error, errors are;
>
> E [17/Sep/2009:12:42:43 +0000] Unable to bind socket for address \
> 127.0.0.1:631 - Cannot assign requested address.

So cupsd can't bind to 127.0.0.1:631 which usually means that something 
else is already listening on that port.

On the occasions we have seen that it has usually turned out to be a 
random rpc service which has already picked port 631 so restarting that 
will usually free up the port...

Running

   netstat -anp| grep 631

as root will probably show what is listening on the port...

> X [17/Sep/2009:12:42:43 +0000] No Listen or Port lines were found to \
> allow access via localhost!

The default cupsd.conf versions I've seen would have listed lines so I'm 
not sure what you have in the config...

> E [17/Sep/2009:13:08:04 +0000] File or directory for "ServerCertificate \
> /etc/cups/ssl/server.crt" on line 145 does not exist!
> E [17/Sep/2009:13:08:04 +0000] File or directory for "ServerKey \
> /etc/cups/ssl/server.key" on line 156 does not exist!

You are pointing cupsd at an ssl/tls certificate/key but those files arn't 
found.  If you arn't doing ipp over ssl/tls then just comment out the 
ServerCertificate and ServerKey lines and SSLListen/SSLPort directives in 
the cupsd.conf file.

  -- Jon

ATOM RSS1 RSS2