Hello,
I am seeing following warning message in logs multiple times:
httpd: [Mon Jun 11 16:38:48 2012] [warn] (101)Network is unreachable: connect to listener on [::]:443
I looked up online for this, and everywhere they suggest changing the Listen directive in httpd.conf from "Listen 443" to "Listen
0.0.0.0:443" . Doing this helps, but it is not useful because we also need to support IPv6.
Tried reordering the Listen directives in httpd.conf as mentioned below, but it did not help either:
Listen [::]:80
Listen [::]:443
The specification suggests using "disable-v4-mapped" configure option when using separate Listen directives like above, so tried that too.
But then I see following error in logs:
httpd: [Mon Jul 30 11:11:23 2012] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
Any ideas why this could be happening?
Following are the details:
httpd -V
Server version: Apache/2.2.22 (Unix)
Server built: Jul 19 2012 12:01:27
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.5, APR-Util 1.4.1
Compiled using: APR 1.4.5, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/tms"
-D SUEXEC_BIN="/opt/tms/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"