[Pkg-cups-devel] Bug#343279: new cupsys fails to start,
claiming can't bind port 631
vitko at post.cz
vitko at post.cz
Sat May 13 16:13:04 UTC 2006
Seems like regression, cupsys 1.1.23-15 (AMD64) won't start; dpkg says:
...
Setting up cupsys (1.1.23-15) ...
Starting Common Unix Printing System: cupsdcupsd: Child exited with status 98!
invoke-rc.d: initscript cupsys, action "start" failed.
dpkg: error processing cupsys (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
cupsys
E: Sub-process /usr/bin/dpkg returned an error code (1)
...
There is something familiar in error_log:
$ tail /var/log/cups/error_log
...
I [13/May/2006:17:52:31 +0200] Full reload complete.
D [13/May/2006:17:52:31 +0200] StartListening: NumListeners=1
D [13/May/2006:17:52:31 +0200] StartListening: address=7f000001 port=631
E [13/May/2006:17:52:31 +0200] StartListening: Unable to bind socket for address 7f000001:631 - Požadovanou adresu nelze přiřadit.
...
When I comment out 631 port line in /etc/cups/cups.d/ports.conf
$ cat /etc/cups/cups.d/ports.conf
# Port 631
, cupsys starts _fine_. Problem lives somewhere in post-install script, when I do
apt-get install -f, then /etc/cups/cups.d/ports.conf gets modified again
$ cat /etc/cups/cups.d/ports.conf
Port 631
and cupsys won't start. Sorry for long story on simple issue, I tried to be as exact as possible.
More information about the Pkg-cups-devel
mailing list