[Pacemaker] ocf apache problem [SOLVED]

E-Blokos infos at e-blokos.com
Sat Sep 19 21:52:31 EDT 2009


----- 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.
also I removed all options as -f and -DSTATUS since apache already manage 
them.
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

attached the apache OCF I modified

Thanks for your answers

Franck Chionna

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: apache
Type: application/octet-stream
Size: 15382 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090919/502ef176/attachment-0001.obj>


More information about the Pacemaker mailing list