On 2008-09-03T10:54:12, Franck Huet <[EMAIL PROTECTED]> wrote:

> Ok.
>
> I use the orginal apache in /etc/ha.d/resources.apache
>
> Here is now my haresources :
>
> /noeud1 IPaddr::192.168.4.4 
> apache::/usr/local/apache-preprod/conf/httpd.conf/

If that is indeed cut & paste, you have several errors. the "/" at the
beginning and at the end of the lines, for example.

> ResourceManager[28132]: 2008/09/03_10:35:54 info: Running 
> /etc/ha.d/resource.d/apache /usr/local/apache-preprod/conf/httpd.conf start
> apache[28433]:  2008/09/03_10:35:55 INFO: apache not running

It's not working. It's calling "start", but a later "monitor" isn't
working.

Try "ocf-tester -n test -o
configfile=/usr/local/apache-preprod/conf/httpd.conf
/usr/lib/ocf/resource.d/heartbeat/apache" and see whether that passes
with your configuration.

> ResourceManager[3680]:  2008/09/03_10:37:19 ERROR: Cannot locate resource 
> script noeud1

You have a typo in haresources. Make sure that the file is indeed
exactly the same on both nodes.


> ResourceManager[3680]:  2008/09/03_10:37:19 info: Releasing resource group: 
> noeud1 IPaddr::192.168.4.4 noeud1 IPaddr::192.168.4.4 
> apache::/usr/local/apache-preprod/conf/httpd.conf

You have "noeud1" appear twice.


> Well. What is wrong now ?

Your configuration ;-)


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
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