[warn] (101)Network is unreachable: connect to listener on [::]:443

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

 



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:
http://kimmo.suominen.com/archives/2006/05/ipv6-is-here/

Listen [::]:80
Listen 0.0.0.0:80
Listen [::]:443
Listen 0.0.0.0:443

The specification suggests using "disable-v4-mapped" configure option when using separate Listen directives like above, so tried that too.
http://httpd.apache.org/docs/2.0/bind.html#ipv6

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"


[admin@chief-sh137 ~]# uname -a
Linux 2.6.32 #1 SMP Fri Jul 27 07:59:24 PDT 2012 x86_64 x86_64 x86_64 GNU/Linux

httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_filter.c
  mod_deflate.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_version.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_autoindex.c
  mod_cgi.c
  mod_dir.c
  mod_actions.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c


Thanks, 
Abhiraj


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux