On 13/09/11 00:39, Guillaume Bettayeb wrote:
> Hi there,
>
> This is my first post on this list, so hello everybody :)
>
> I am currently testing the fun of Linux HA Clustering (just for
> personal interest)
> and I have successfully set up a tiny ubuntu virtualbox 2 nodes
> cluster with Ip failover and Apache running as resources.
>
> Right after the install, I tried to move the resources from a node to
> the other (command standby) an everything worked like a charm.
> Then I tried some failure tests, and started with a simple
> /etc/init.d/networking stop on one node, noticed that the other node
> took ownership of the resources automatically, all was fine.
>
> Then I have rebooted the nodes just to see how they would restart the
> cluster, and since I have the following error :
>
> apache_start_0 (node=node1, call=8, rc=1, status=complete): unknown error
>
> For reading convenience,  my outputs are available at
> http://pastebin.com/w1J4TWaG
> Just to clarify, that's :
> - crm configure show command
> - crm_mon status
> - All relevant information into my /var/log/syslog (although I was not
> sure what to look at, I never used corosync before)
>
> I have read on an older post that the apache error usually have
> something to do with either timeout or mod status.
> As you can see on my pastebin, my timeout values are ok :
> op stop interval="60s" timeout="120" \
> op start interval="60s" timeout="120" \
>
> as for mod_status it's already enabled in Apache :
> root@node1:/etc/apache2# a2enmod status
> Module status already enabled
>
> Have I done anything wrong or is there anything else I should check/configure 
> ?
>
> Any help with this matter would be greatly appreciated :)

On a punt, it's probably mod_status.  Check your Apache logs at the time 
the start failed.  If it's whining about a 403 or 404 for /server-status 
(or similar), you need to fix that in your Apache config.

HTH,

Tim
-- 
Tim Serong
Senior Clustering Engineer
SUSE
[email protected]
_______________________________________________
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