On Wed, Sep 10, 2008 at 12:35:07PM +0200, Franck Huet wrote:
> Dejan Muhamedagic a ?crit :
>> On Mon, Sep 08, 2008 at 02:54:08PM +0200, Franck Huet wrote:
>>   
>>> Dejan Muhamedagic a ?crit :
>>>     
>>>> On Fri, Sep 05, 2008 at 11:42:34AM +0200, Franck Huet wrote:
>>>>         
>>>>> Dejan Muhamedagic a ?crit :
>>>>>             
>>>>>> Hi,
>>>>>>
>>>>>> On Thu, Sep 04, 2008 at 09:48:14AM +0200, Franck Huet wrote:
>>>>>>                   
>>>>>>> Thanks Lars
>>>>>>>
>>>>>>> It's works better now (with corrected mistakes ..) but I have now 2 ip
>>>>>>> (192.168.4.4 mounted) and 2 apache server ....
>>>>>>>
>>>>>>> and this which is flooding my logs on my 2 nodes :
>>>>>>>
>>>>>>> apache[3428]:   2008/09/03_15:09:57 INFO: apache not running
>>>>>>> apache[3428]:   2008/09/03_15:09:58 INFO: waiting for apache
>>>>>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>>>>>> apache[3428]:   2008/09/03_15:09:59 INFO: apache not running
>>>>>>> apache[3428]:   2008/09/03_15:09:59 INFO: waiting for apache
>>>>>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>>>>>> apache[3428]:   2008/09/03_15:10:00 INFO: apache not running
>>>>>>> apache[3428]:   2008/09/03_15:10:00 INFO: waiting for apache
>>>>>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>>>>>>                         
>>>>>> This means that the monitor operation's constantly failing. You
>>>>>> need to make sure that the status module is loaded and that
>>>>>> access to it is allowed from localhost.
>>>>>>
>>>>>>                   
>>>>> Well. Stupid question : What is the status module ? How to load it ?
>>>>>             
>>>> Read the apache documentation. It is typically commented out in
>>>> the default httpd.conf.
>>>>
>>>>         
>>> Ok. I added mod_status. Apache works fine when it's in standalone.
>>>
>>> But when I use ha, I still have :
>>>
>>> apache[5179]:   2008/09/08_14:50:27 INFO: apache not running
>>> apache[5179]:   2008/09/08_14:50:27 INFO: waiting for apache 
>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>> apache[5179]:   2008/09/08_14:50:28 INFO: apache not running
>>> apache[5179]:   2008/09/08_14:50:28 INFO: waiting for apache 
>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>> apache[5179]:   2008/09/08_14:50:29 INFO: apache not running
>>> apache[5179]:   2008/09/08_14:50:29 INFO: waiting for apache 
>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>> apache[5179]:   2008/09/08_14:50:30 INFO: apache not running
>>> apache[5179]:   2008/09/08_14:50:30 INFO: waiting for apache 
>>> /usr/local/apache-preprod/conf/httpd.conf to come up
>>>     
>>
>> Did you try with ocf-tester? If that doesn't pass, there's still
>> something wrong.
>>
>> Thanks,
>>
>> Dejan
>>
>>   
> I tried with ocf-tester as following :
>
> [EMAIL PROTECTED] ~]# ocf-tester -n apache -o 
> installdir=/usr/local/apache-preprod/ -o 
> configfile=/usr/local/apache-preprod/conf/httpd.conf -o 
> binary=/usr/local/apache-preprod/bin/httpd -o 
> pid=/var/run/apache-preprod.pid /usr/lib/ocf/resource.d/heartbeat/apache
> Beginning tests for /usr/lib/ocf/resource.d/heartbeat/apache...
> * rc=2: Validation failed.  Did you supply enough options with -o ?
> Aborting tests
>
> And with another -o options, it fails.
>

You don't need more -o options, doesn't look like it. Did you try
to look at the apache logs?

Thanks,

Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to