[Pacemaker] ocf apache problem [SOLVED]
Dejan Muhamedagic
dejanmm at fastmail.fm
Mon Sep 21 10:04:30 UTC 2009
Hi,
On Sat, Sep 19, 2009 at 09:52:31PM -0400, E-Blokos wrote:
>
> ----- Original Message ----- From: "Serge Dubrouski" <sergeyfd at gmail.com>
> To: <pacemaker at clusterlabs.org>
> Sent: Tuesday, September 15, 2009 2:23 PM
> Subject: Re: [Pacemaker] ocf apache problem
>
>
>> To help out with pgsql and apache I'll need log files and xml or crm
>> configuration.
>>
>> On Tue, Sep 15, 2009 at 12:20 PM, E-Blokos <infos at e-blokos.com> wrote:
>>>
>>> ----- Original Message ----- From: "Andrew Beekhof" <andrew at beekhof.net>
>>> To: <pacemaker at clusterlabs.org>
>>> Sent: Tuesday, September 15, 2009 1:43 PM
>>> Subject: Re: [Pacemaker] ocf apache problem
>>>
>>>
>>> Based on?
>>>
>>> On Tue, Sep 15, 2009 at 5:46 PM, J. Davin Flatten <jflatten at iso-ne.com>
>>> wrote:
>>>>
>>>> I am having the exact same issue. Any ideas?
>>>>
>>>>
>>>> On 09/15/2009 10:21 AM, E-Blokos wrote:
>>>>
>>>> Hi,
>>>>
>>>> Tried to load OCF RA apache (last version)
>>>> as clone for 4 nodes but apache2 starts
>>>> and fails infinitely.
>>>> in log
>>>> INFO: apache not running
>>>> Sep 15 10:19:21 node132 apache[28428]: INFO: waiting for apache
>>>> /usr/local/apache/conf/httpd.conf to come up
>>>>
>>>> Thanks
>>>>
>>>> Franck Chionna
>>>> --
>>>> This message has been scanned for viruses and
>>>> dangerous content by MailScanner, and is
>>>> believed to be clean.
>>>>
>>>> ________________________________
>>>> _______________________________________________
>>>> Pacemaker mailing list
>>>> Pacemaker at oss.clusterlabs.org
>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>>
>>>>
>>>> --
>>>> System Administrator
>>>> ISO New England
>>>> 1 Sullivan Road
>>>> Holyoke, MA 01040
>>>> 1-413-535-4087
>>>>
>>>> _______________________________________________
>>>> Pacemaker mailing list
>>>> Pacemaker at oss.clusterlabs.org
>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>>
>>>>
>>>
>>> Sorry i'ts FEDORA 10.
>>> I tried also other OCF RA like pgsql and it's the same.
>>> stop-> ok restart-> failed infinitely
>>>
>>> Thanks
>>>
>>> Franck Chionna
>>>
>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>>
>>> _______________________________________________
>>> Pacemaker mailing list
>>> Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>
>>
>>
>> --
>> Serge Dubrouski.
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>
>
> Ok guys, after fighted hours on apache OCF script
> my problem was coming simply by the fact that PidFile directive was not on
> the httpd.conf
> So for people who can't start OCF apache to check their apache conf file to
> see if PidFile directive exists.
> If not OCF script will fail.
Glad you fixed the problem yourself. Though apache should be able
to manage even when there is no pidfile directive.
> also I removed all options as -f and -DSTATUS since apache already manage
> them.
Why would you do that? And you just changed the file which does
not belong to the configuration so it is going to be overwritten
on the next upgrade.
> to start SSL only put in options (with pacemaker-gui) -DSSL
> For who has compiled apache from sources don't forget that the path is
> /usr/local/apache2 or /usr/local/apache if you didn't compile with --prefix
That's why there is the httpd parameter.
Thanks,
Dejan
More information about the Pacemaker
mailing list