Hi,

On Sat, Mar 29, 2008 at 10:24:51PM +0100, www.tiri.li high availability wrote:
> Hello list,
> 
> When trying to start this resource the message
> 
> crmd: [1643]: info: do_lrm_rsc_op: Performing op=R_httpd:0_start_0  
> key=31:16:ef45528d-4c06-43a7-a2ed-20498544cfa8)
> apache[14613]: [14622]: ERROR: Cannot parse config file  
> [/etc/apache2/httpd.conf]
> 
> occurs. Why is my configfile option not recognized ?
> 
> I have following clone for the apache ocf resource:
> 
>   <clone id="C_apache">
>      <meta_attributes id="C_apache_meta_attrs">
>        <attributes>
>          <nvpair id="C_apache_metaattr_target_role"  
> name="target_role" value="started"/>
>          <nvpair id="C_apache_metaattr_clone_max" name="clone_max" 
>          value="4"/>
>          <nvpair id="C_apache_metaattr_clone_node_max"  
> name="clone_node_max" value="1"/>
>        </attributes>
>      </meta_attributes>
>      <primitive class="ocf" provider="heartbeat" id="R_httpd" 
>      type="apache"/>

Remove "/":

        type="apache">

>      <instance_attributes id="R_httpd_instance_attrs">
>        <attributes>
>          <nvpair id="R_httpd_configfile" name="configfile"  
> value="/etc/httpd/conf/httpd.conf"/>
>          <nvpair id="R_httpd_binary" name="httpd" value="/usr/sbin/httpd"/>
>        </attributes>
>      </instance_attributes>

Add

</primitive>

Looks like the attributes went to the clone instead of thr apache
primitive. Interesting case.

Thanks,

Dejan

>   </clone>
> 
> Thanks for your help in advance.
> 
> Thomas.
> 
> -- 
> www.tiri.li - www.1-search.de - www.linkarchiv.at
> 
> 
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
Dejan
_______________________________________________
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