Maybe someone knows better, but i don't think is a good idea to manually start or stop the services controlled by the cluster manager.
On Fri, Oct 16, 2009 at 2:22 PM, dembi <[email protected]> wrote: > > Thanks > I am sorry I have made a mistake instead of apache I should set > type=”apache2”. > Now I can see that Apache is started. > > But I have one very important question. > At this moment Apache has started on node aps-3 > > apache (lsb:apache2): Started aps-3 > > If I have stopped the Apache resource via init.d script. Apache didn’t > restart. > And I still could see that Apache is started on node of aps-3 > > What I should do in order to Apache in such case automatically restarting? > > > > Stratos Zolotas wrote: > > > > This is wrong. > > > > You must have <primitive class="lsb" id="apache" type="apache2"/> > > > > and do not edit the xml file by hand (at least that says the > > documentation). > > > > On Fri, Oct 16, 2009 at 2:04 PM, dembi <[email protected]> wrote: > > > >> > >> I have changed ocf on lsb script: > >> > >> <primitive id="apache" class="lsb" provider="heartbeat" type="apache"/> > >> > >> But it is not help. I still received time out error and Apache does not > >> start. > >> > >> > >> > >> Malte Geierhos-2 wrote: > >> > > >> > Lets see what he got. > >> > > >> > I for myself prefer ocf-agents over lsb scripts... > >> > for various reasons. But i agree it might be easier or sufficient > >> > sometimes to > >> > stay with lsb scripts. > >> > > >> > > >> >> I think is better to use lsb:apache2 and not ocf:heartbeat:apache. At > >> >> least > >> >> i don't have any problem with lsb:apache. > >> >> > >> >> On Fri, Oct 16, 2009 at 1:50 PM, Malte Geierhos<[email protected]> > >> >> wrote: > >> >> > >> >> > >> >>> Hi, > >> >>> > >> >>> do you've enabled mod_status on your apache and allowed for > localhost > >> ? > >> >>> such as > >> >>> > >> >>> <Location /server-status> > >> >>> SetHandler server-status > >> >>> Order Deny,Allow > >> >>> Deny from all > >> >>> Allow from 127.0.01 > >> >>> </Location> > >> >>> > >> >>> in your apache.conf ? > >> >>> Because ocf:heartbeat:apache needs it... > >> >>> > >> >>> > >> >>> > >> >>> Am 16.10.09 11:07, schrieb dembi: > >> >>> > >> >>>> Anybody can help me to solve my problem. > >> >>>> I will be very thankful for any help. > >> >>>> > >> >>>> > >> >>>> > >> >>> > >> >>> _______________________________________________ > >> >>> Linux-HA mailing list > >> >>> [email protected] > >> >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> >>> See also: http://linux-ha.org/ReportingProblems > >> >>> > >> >>> > >> >> _______________________________________________ > >> >> Linux-HA mailing list > >> >> [email protected] > >> >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> >> See also: http://linux-ha.org/ReportingProblems > >> >> > >> > > >> > _______________________________________________ > >> > Linux-HA mailing list > >> > [email protected] > >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> > See also: http://linux-ha.org/ReportingProblems > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Problem-with-starting-Apache-and-MySQL-tp25905739p25923588.html > >> Sent from the Linux-HA mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> Linux-HA mailing list > >> [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> See also: http://linux-ha.org/ReportingProblems > >> > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > > > > -- > View this message in context: > http://www.nabble.com/Problem-with-starting-Apache-and-MySQL-tp25905739p25923786.html > Sent from the Linux-HA mailing list archive at Nabble.com. > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
