Subject: prayer: fails to start if no IPv6 Routers present
Package: prayer
Version: 1.3.3-dfsg1-2
Severity: normal

*** Please type your report below this line ***

after installing a new debian squeeze system, prayer fails to start with this error message:
> > #/etc/init.d/prayer start
  Error was: [os_bind_inet_socket()] bind() failed: Address already in use
Aborted
 failed!

but according to netstat, the http and https ports are free.

Config in /etc/prayer/prayer.cf
> use_http_port       80
> use_https_port      443

a deep inspection shows that the problem is that no IPv6 Routers are (in my environment) present.

So the prayer was not able to bring the IPv6 Ports up.

As a lot of people have an "only IPv4 LAN", this error is hard to find.

Solution:
In the prayer.cf add after:
# Define a single HTTP port to bind to:
#
# You can define an arbitary list of ports of both kinds by using a series
# of separate "use_http_port" and "use_https_port" directives, with one
# port on each line. Format: "interface:port" or "ipaddr:port" to bind to a
# single interface, "port" to bind to all interfaces.

The lines:
# If you bind to all interfaces, prayer will bind to IPv6 and IPv4
# parallel and fails if one of this is not present. If you have
# only IPv4 (or only IPv6), you should use # the "ipaddr:port"
# format.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages prayer depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  libc-client2007e        8:2007e~dfsg-3.1 c-client library for mail protocol
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libdb4.8                4.8.30-2         Berkeley v4.8 Database Libraries [
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libssl0.9.8             0.9.8o-3         SSL shared libraries
ii  libtidy-0.99-0          20091223cvs-1    HTML syntax checker and reformatte
ii  logrotate               3.7.8-6          Log rotation utility
ii  nullmailer [mail-transp 1:1.04-1.2       simple relay-only mail transport a
ii  ssl-cert                1.0.26           simple debconf wrapper for OpenSSL
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime
prayer recommends no packages.

Versions of packages prayer suggests:
ii  aspell                        0.60.6-4   GNU Aspell spell-checker
pn  imap-server                   <none>     (no description available)
ii  ispell                        3.1.20.0-7 International Ispell (an interacti
pn  prayer-accountd               <none>     (no description available)
pn  prayer-templates-src          <none>     (no description available)

-- Configuration Files:
/etc/default/prayer changed [not included]
/etc/prayer/prayer.cf changed [not included]




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to