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

[Sheflug] Re: CUPS Permissions



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.


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 :)



-- 
Richard
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.