[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Re: CUPS Permissions



On Wed, 2005-11-30 at 16:59 +0000, Richard Ibbotson wrote:
> Seb
> 
> > LogLevel debug
> 
> Done that
> 
> > /usr/sbin/cupsd -f -C /etc/cups/cupsd.conf
> 
> Yes.  This is correct.
> 
> > Then in another terminal tail your system log. That should tell you
> > why cupsd is exiting.
> >
> > tail -n 300 -f /var/log/messages
> 
> in my case it's....  tail -n 300 -f /var/log/cups/error_log .... and 
> it says...
> 
> I [30/Nov/2005:16:51:04 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 
> 2996 PPDs...
> 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
> D [30/Nov/2005:16:51:05 +0000] StartListening: address=c0a80102 
> port=631
> E [30/Nov/2005:16:51:05 +0000] StartListening: Unable to bind socket 
> for address c0a80102:631 - Address already in use.

Here's your line. Unable to bind to socket for address c0a80102:631.
Something is already using that address/port. Odd.

> 
> Which says that the port is already bound to something else. So, I've 
> tried..  'ps -aux | grep cups' and it says.... 
> 
> root      5893  0.0  0.2   2072   604 pts/3    S+   16:52   0:00 tail 
> -n 300 -f /var/log/cups/error_log
> root      5925  0.0  0.2   1860   624 pts/1    S+   16:55   0:00 grep 
> cups
> 
> 
> So, what is bound to port 631 ?  Can't remember how to sort that out 
> by command line ?  Bit of help with the debug on what's on port 631 
> might be good :)

Try netstat and see what nmap tells you. 

Seb

-- 
Embedded Software Foundry Ltd. 'Embedded Linux Development'
Tel: +44 (0)845 4580277   Web: http://www.esfnet.co.uk/
Axiom Tech Open Source Member: http://www.axiomtech.co.uk/
Gpg key: http://www.esfnet.co.uk/ssl/seb.gpg

Attachment: signature.asc
Description: This is a digitally signed message part