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

Bug#465604: apache2 does not start on IPv4-only system



Package: apache2
Version: 2.2.8-1
Severity: important


A fresh install of apache2 does not work on a self-compiled kernel which has only IPv4 enabled.
It does not work on the stock debian kernel either when IPv6 is blacklisted.

The following are the error messages:

A) With default config

$ /etc/init.d/apache2 start
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for snoopy
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
 failed!


B) With Listen 0.0.0.0:80 in /etc/apache2/ports.conf

$ /etc/init.d/apache2 start
Starting web server: apache2[Wed Feb 13 16:01:22 2008] [crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed to set up sockaddr for 0.0.0.0
Syntax error on line 1 of /etc/apache2/ports.conf:
Listen setup failed
 failed!


Regards,
  Holger


-- Package-specific info:
Config file syntax check failed.
List of /etc/apache2/mods-enabled/*.load:
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgid dir env mime negotiation
  setenvif status

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (50, 'experimental'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-4-snoopy-a (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-mpm-worker            2.2.8-1    High speed threaded model for Apac

apache2 recommends no packages.

-- no debconf information



Reply to: