Hi,

On Thu, Feb 21, 2008 at 09:44:57AM -0500, Jason Erickson wrote:
> I added the path for httpd to the apache file and every instance that had 
> to do with that path but it still does not work. Is there another spot I 
> need to change?

I really wouldn't know. Just look for ERROR: strings in the logs
for clues.

> Also what file did you see ?

Sorry, don't understand this.

Thanks,

Dejan

> Feb 20 09:29:39 postit apache[9744]: [9751]: ERROR: No valid httpd found! 
> Please revise your <HTTPDLIST> item
>
> After I changed the apache file I could not see that error. But i might of 
> been looking in the wrong spot that is always a possibility. Thanks once 
> again.
>
>
>
> Jason Erickson
>
>
>
>
> Dejan Muhamedagic wrote:
>> Hi,
>>
>> On Wed, Feb 20, 2008 at 09:44:26AM -0500, Jason Erickson wrote:
>>   
>>> I rearranged my setup a little. Now I have a virtual Ip address and then 
>>> one Apache resource I do not need the NFS share anymore. Apache will not 
>>> start. I configured the path for Apache but that is the only parameter 
>>> that I did.
>>>     
>>
>> This is the problem:
>>
>> Feb 20 09:29:39 postit apache[9744]: [9751]: ERROR: No valid httpd found! 
>> Please revise your <HTTPDLIST> item
>>
>> Check the apache meta-data for correct parameter settings:
>>
>> $ export OCF_ROOT=/usr/lib/ocf
>> $ $OCF_ROOT/resource.d/heartbeat/apache meta-data
>>
>>
>>   
>>> I took out the NFS resource.  Ip  and Apache are in a group Webserver. 
>>> The resource Ip is above Apache in the order of starting up. What else do 
>>> I need to do to get Apache up and running? Attached is the folder for 
>>> hb_reports plus my config file.  To answer your last question i am using 
>>> OCF. Hopefully that will help. Thanks
>>>     
>>
>> hb_report collects everything and that usually includes the
>> configuration as well.
>>
>> Thanks,
>>
>> Dejan
>>
>>   
>>> Jason
>>>
>>>
>>>
>>>
>>>
>>>
>>> Dejan Muhamedagic wrote:
>>>     
>>>> Hi,
>>>>
>>>> On Tue, Feb 19, 2008 at 12:12:24PM -0500, Jason Erickson wrote:
>>>>         
>>>>> I am trying to set up Heartbeat with an virtual Ip, NFS share and an 
>>>>> Apache web server.  The virtual Ip and NFS share work but for some 
>>>>> reason the Apache server wants to run on 2 nodes and will not start. It 
>>>>> comes up as being unmanaged.
>>>>>             
>>>> I guess that the monitor operation succeeds on both nodes.
>>>>
>>>>         
>>>>> I configured collocation and order so they would be on the same node as 
>>>>> the Ip address and NFS and also the webserver would start after the 
>>>>> share was mounted and Ip was set. The one parameter that i set for the 
>>>>> webserver was the config file. This should be the only one that I need 
>>>>> to configure. I do not have an init script for Apache since we built it 
>>>>> from source.
>>>>>             
>>>> Which resource agent do you use? LSB or OCF?
>>>>
>>>>         
>>>>> We are running HA 2.1.3 and am configuring it through the GUI. Do I 
>>>>> need stonith working? Any help would be appreciated.  Thanks
>>>>>             
>>>> Stonith is desirable. It's mandatory if you have shared storage.
>>>>
>>>> Please supply logs and configuration (hint: use hb_report).
>>>>
>>>> Thanks,
>>>>
>>>> Dejan
>>>>
>>>>         
>>
>>
>>   
>>>  <cib generated="true" admin_epoch="0" epoch="24" have_quorum="true" 
>>> ignore_dtd="false" ccm_transition="7" num_peers="2" 
>>> cib_feature_revision="2.0" dc_uuid="aaed2ff6-07cd-476f-8d98-259570a5480e" 
>>> num_updates="1" cib-last-written="Tue Feb 19 18:27:13 2008">
>>>    <configuration>
>>>      <crm_config>
>>>        <cluster_property_set id="cib-bootstrap-options">
>>>          <attributes>
>>>            <nvpair id="cib-bootstrap-options-dc-version" 
>>> name="dc-version" value="2.1.3-node: 
>>> 552305612591183b1628baa5bc6e903e0f1e26a3"/>
>>>            <nvpair id="cib-bootstrap-options-last-lrm-refresh" 
>>> name="last-lrm-refresh" value="1203463617"/>
>>>          </attributes>
>>>        </cluster_property_set>
>>>      </crm_config>
>>>      <nodes>
>>>        <node id="aaed2ff6-07cd-476f-8d98-259570a5480e" 
>>> uname="postit.mtu.edu" type="normal"/>
>>>        <node id="488d1100-f844-4e7b-a726-44cf37cb3d0b" 
>>> uname="linux.mtu.edu" type="normal"/>
>>>      </nodes>
>>>      <resources>
>>>        <group id="Webserver">
>>>          <meta_attributes id="Webserver_meta_attrs">
>>>            <attributes>
>>>              <nvpair id="Webserver_metaattr_ordered" name="ordered" 
>>> value="true"/>
>>>              <nvpair id="Webserver_metaattr_collocated" name="collocated" 
>>> value="true"/>
>>>            </attributes>
>>>          </meta_attributes>
>>>          <primitive id="IP" class="ocf" type="IPaddr2" 
>>> provider="heartbeat">
>>>            <instance_attributes id="IP_instance_attrs">
>>>              <attributes>
>>>                <nvpair id="adacda48-02dc-4127-9371-543ea7d79a87" 
>>> name="ip" value="192.168.1.30"/>
>>>              </attributes>
>>>            </instance_attributes>
>>>          </primitive>
>>>          <primitive id="Apache" class="ocf" type="apache" 
>>> provider="heartbeat">
>>>            <instance_attributes id="Apache_instance_attrs">
>>>              <attributes>
>>>                <nvpair id="92d737eb-81ad-40c7-a330-788425a64b6a" 
>>> name="configfile" value="/opt/apache-2.0.61/conf/httpd.conf"/>
>>>              </attributes>
>>>            </instance_attributes>
>>>            <meta_attributes id="Apache_meta_attrs">
>>>              <attributes>
>>>                <nvpair id="Apache_metaattr_target_role" 
>>> name="target_role" value="started"/>
>>>              </attributes>
>>>            </meta_attributes>
>>>          </primitive>
>>>        </group>
>>>      </resources>
>>>      <constraints/>
>>>    </configuration>
>>>  </cib>
>>> _______________________________________________
>>> 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
_______________________________________________
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