I believe I'm starting to know more about CUPS than I really want to.
If the following solves your problem, we both need to RTFM better ;-)

On Tue, Jul 27, 2004 at 12:09:56PM +1000, Tim Connors wrote:
[...]
> Nothing interesting, but I did notice one more line of output that I
> didn't before:
> 
> I [27/Jul/2004:12:04:46 +1000] Listening to 0:631
> I [27/Jul/2004:12:04:46 +1000] Listening to c0a80102:631

I believe this is a configuration error in your cupsd.conf
I can replicate this error with the following:
        Port 631
        Listen 192.168.1.2:631

I think the Port directive binds to *any* address on 631.  The second
directive tries to bind 192.168.1.2 on port 631, but that is already
taken with the *any* address on 631.  So I *think* you can either let it
bind to *any* address and not have a listen directive.  Or remove the
port directive and list the address/ports you want it to listen on (you
may need to allow it to listen on 127.0.0.1)

> I [27/Jul/2004:12:04:46 +1000] Sending browsing info to c0a801ff:631
> I [27/Jul/2004:12:04:46 +1000] Loaded configuration file "/etc/cups/cupsd.conf"
> I [27/Jul/2004:12:04:46 +1000] Configured for up to 100 clients.
> I [27/Jul/2004:12:04:46 +1000] Allowing up to 100 client connections per host.
> I [27/Jul/2004:12:04:46 +1000] Full reload is required.
> I [27/Jul/2004:12:04:47 +1000] LoadPPDs: Read "/etc/cups/ppds.dat", 2402 PPDs...
> I [27/Jul/2004:12:04:49 +1000] LoadPPDs: Wrote "/etc/cups/ppds.dat", 2402 PPDs...
> I [27/Jul/2004:12:04:49 +1000] Full reload complete.
> E [27/Jul/2004:12:04:49 +1000] StartListening: Unable to bind socket for address 
> c0a80102:631 - Addre
> ss already in use.

For what it's worth, a successful start in my logs looks the same up to
the "StartListening: Unable ..."

> 
> The start line says listening. Has it opened the port for listen yet,
> or does it defer the actual open until the E line, where it fails? Or
> is it indeed trying to open the port twice?

The latter I believe.

HTH

-- 
Chris Harris <[EMAIL PROTECTED]>
-------------------------------------------
GNU/Linux --- The best things in life are free.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to