2 Replies Latest reply on May 18, 2010 9:18 AM by Martinez pascal

    Config problem with minimal exemple of httpd_conf

    Martinez pascal Newbie

      Hi,

       

      A while ago, I created a mod_jk. Today, I want to upgrade it... and I 'm working on mod_cluster.

       

      I used the "minimal exemple" to config my httpd_conf.

      I got this error :

       

      [error] (EAI 2)Name or service not known: Failed to resolve server name for 192.168.232.138 (check DNS) 
                -- or specify an explicit ServerName

       

      Here id my httpd_conf
      LoadModule proxy_module modules/mod_proxy.so
      LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
      LoadModule slotmem_module modules/mod_slotmem.so
      LoadModule manager_module modules/mod_manager.so
      LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
      LoadModule advertise_module modules/mod_advertise.so

      Listen 0.0.0.0:6666
      <VirtualHost 192.168.232.138:6666>

         <Directory />
            Order deny,allow
            Deny from all
            Allow from 192.168.232.
         </Directory>

      KeepAliveTimeout 60
      MaxKeepAliveRequests 0

      ManagerBalancerName mycluster
      AdvertiseFrequency 5

      </VirtualHost>

       

      I find on internet this is a quite simple error  -.-

      I tried to create a host name (on the top of the conf file but.... no change)   

      Header 1
      ServerName localhost

       

      I have no idea where is my mistake !

       

       

      I work on  : centos ,    JBoss5.1 , Apache 2.2.15, mod_cluster 1.03GA

       

       

      Thanks in advance...