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

Bug#742668: cups: Fails to install because can't listen to sockets



Hello Didier,

On Mon, May 12, 2014 at 6:38 PM, Didier 'OdyX' Raboud <odyx@debian.org> wrote:
>> # Matches 'Listen localhost:631' from cupsd.conf
>> ListenStream=127.0.0.1:631
>> ListenStream=[::1]:631
>> # Matches 'Port 631' from cupsd.conf
>> ListenStream=0.0.0.0:631
>> ListenStream=[::]:631
>
> Ha. So apparently you have two overlapping instructions in
> /etc/cups/cupsd.conf: 'Port 631' and 'Listen localhost:631'.
>
> Can you try to remove the three last lines of the
> /etc/systemd/system/cups.socket.d/cupsd-listen.conf file and try to
> restart CUPS?

I've removed the first three (the ones derived from Listen
localhost:631) instead, in case listening only on 127.0.0.1 would
prevent other computers in the network from connecting to the CUPS
server, and now it starts and configuring finishes, so the problem was
indeed due to the doubled ListenStream specification.

-- 
Giuseppe "Oblomov" Bilotta


Reply to: