Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-290

mod_cluster's mod_advertise can not start on IPv6-only box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.2.1.Beta1
    • 1.2.0.Final
    • None
    • None

      With the following network configuration on Fedora 15:

      lo        Link encap:Local Loopback
                inet6 addr: ::1/128 Scope:Host
                UP LOOPBACK RUNNING  MTU:16436  Metric:1
      +++
      eth0      Link encap:Ethernet  HWaddr 08:00:27:2F:DD:4A
                inet6 addr: fe80::a00:27ff:fe2f::dd4a/64 Scope:Link
                inet6 addr: 1:0:0:1::11/128 Scope:Global
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      +++
      

      and this Apache/2.2.21 (Unix) mod_cluster/1.2.0.Final config:

      httpd.conf
      +++
      Listen [1:0:0:1::11]:8000
      +++
      <IfModule manager_module>
        Listen  [1:0:0:1::11]:6666
        ManagerBalancerName mycluster
        <VirtualHost  [1:0:0:1::11]:6666>
          <Location />
           Order deny,allow
           Deny from all
           Allow from all
          </Location>
      
          KeepAliveTimeout 300
          MaxKeepAliveRequests 0
          ServerAdvertise on http://[1:0:0:1::11]:6666
          AdvertiseFrequency 5
          AdvertiseGroup [ff01::1]:23364
          EnableMCPMReceive
      
          <Location /mcm>
             SetHandler mod_cluster-manager
             Order deny,allow
             Deny from all
             Allow from all
          </Location>
      
        </VirtualHost>
      </IfModule>
      

      I get the undermentioned error:

      httpd/logs/error_log
      [Mon Mar 05 13:47:26 2012] [notice] Digest: generating secret for digest authentication ...
      [Mon Mar 05 13:47:26 2012] [notice] Digest: done
      [Mon Mar 05 13:47:27 2012] [error] (EAI 9)Address family for hostname not supported: mod_advertise: ma_group_join apr_sockaddr_info_get(ff01::1:23364) failed
      [Mon Mar 05 13:47:27 2012] [error] (EAI 9)Address family for hostname not supported: mod_advertise: multicast join failed for ff01::1:23364.
      [Mon Mar 05 13:47:27 2012] [notice] Advertise initialized for process 2157
      [Mon Mar 05 13:47:27 2012] [notice] Apache/2.2.21 (Unix) mod_cluster/1.2.0.Final DAV/2 mod_jk/1.2.30 configured -- resuming normal operations
      

      , Apache carries on and http://[1:0:0:1::11]:8000/ displays "It works!".

      What should one do in order to enable IPv6 in apr (apr_sockaddr_info_get) ?
      Do you see any configuration errors? Please, share your ideas and tips...

              rhn-engineering-jclere Jean-Frederic Clere
              mbabacek1@redhat.com Karm Karm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: