[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: CUPS Permissions
On Wed, Nov 30, 2005 at 04:59:50PM +0000, Richard Ibbotson wrote:
> I [30/Nov/2005:16:51:05 +0000] LoadPPDs: No new or changed PPDs...
> D [30/Nov/2005:16:51:05 +0000] LoadAllJobs:
> Scanning /var/spool/cups...
> D [30/Nov/2005:16:51:05 +0000] LoadAllJobs: Loading attributes for job
> 396...
> D [30/Nov/2005:16:51:05 +0000] LoadAllJobs: Loading attributes for job
> 397...
> I [30/Nov/2005:16:51:05 +0000] Full reload complete.
> D [30/Nov/2005:16:51:05 +0000] StartListening: NumListeners=2
> D [30/Nov/2005:16:51:05 +0000] StartListening: address=00000000 port=631 <-- *1*
> D [30/Nov/2005:16:51:05 +0000] StartListening: address=c0a80102 port=631 <-- *2*
> E [30/Nov/2005:16:51:05 +0000] StartListening: Unable to bind socket
> for address c0a80102:631 - Address already in use.
It looks like you have a "Port" line AND a "Listen" line in your cupsd.conf,
probably something like:
Port 631
Listen 192.168.1.2:631
These two conflict, as the Port line makes it open up a socket listening on
port 631 on all interfaces (marked *1* in the log above), then the Listen
line makes cups attempt to open up a socket listening on port 631 on the
192.168.1.2 interface (marked *2*). As there is already a socket open
listening on all interfaces, the second call fails.
Just remove one of the Port or Listen lines from your cupsd.conf and try it
again.
--
Chris
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.