can't access cups

Jack Byers byersj at hotmail.com
Sun Jan 2 19:36:59 UTC 2005



Jack Byers     byersj at hotmail.com

On Saturday 01 January 2005 19:21, Jack Byers wrote:

>   isnt this last pair of results  inconsistent?
>      --the starting cupsd   says Ok
>      --but the status msg says cupsd is stopped

reply from Stuart:

yes, so something is wrong with your cups configuration.
1) try restarting cups, in another window run
tail -f /var/log/messages /var/log/cups/error_log
what do you see?

2) have you tried to share this printer using the redhat-config-printer gui?
- I've seen this add spurious ListenAddress lines to the 
/etc/cups/cupsd.conf
file in the past, which can prevent startup.

3) post a copy of your /etc/cups/cupsd.conf file here so we can look...

Stuart


---------------------
Thanks much to Stuart,  cups is back !
i had  two additional  'Listen' lines in my  cupsd.conf
evidently these were worse than superfluous, bc the error msg  said address 
already inuse

[root at corni cups]# tail -f /var/log/messages /var/log/cups/error_log
==> /var/log/messages <==
....
D [02/Jan/2005:11:08:09 -0800] StartListening: NumListeners=3
D [02/Jan/2005:11:08:09 -0800] StartListening: address=7f000001 port=631
D [02/Jan/2005:11:08:09 -0800] StartListening: address=c0a80207 port=631
D [02/Jan/2005:11:08:09 -0800] StartListening: address=00000000 port=631
E [02/Jan/2005:11:08:09 -0800] StartListening: Unable to bind socket - 
Address already in use.


just why i added those two Listen lines, i don't really know except trying 
to follow the
documentation......
###Listen 127.0.0.1:631
###Listen 192.168.2.7:631

now with those lines commented out,  i can again get  browser access via 
port 631

and now
[root at corni root]# /etc/init.d/cups status
cupsd (pid 1806) is running...
[root at corni root]#

now i can  get back to the configure job....


that  diagnostic line re  'error_log'  as per Stuart proved really helpful
led me right to the source of my trouble

thanks again
Jack





More information about the redhat-list mailing list