Hi, On Wed, Dec 17, 2008 at 09:26:03AM +0600, Tanveer Chowdhury wrote: > Attached is the ha log from /var/log/ha-log when I start the heartbeat > service.
>From the log: cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Expected: resources cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error parsing token: Mismatching close tag cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error at or before: </configuration> </ cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error parsing token: error parsing child cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error at or before: <resources> cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error parsing token: error parsing child cib[22141]: 1980/02/03_00:19:39 ERROR: parse_xml: Error at or before: <configuration> The CIB contains invalid XML. You can use crm_verify to test the CIB. > >> Then I added these lines with it as follows > >> <resources> > >> <group id="apache_group"> > >> <primitive id="ip_resource_1" class="ocf" type="IPaddr" > >> provider="heartbeat"> > >> <instance_attributes> > >> <attributes> > >> <nvpair name="ip" value="10.10.4.xxx"/> > >> </attributes> > >> </instance_attributes> > >> </primitive> > >> <primitive id="apache" class="heartbeat" type="apache"/> > >> </group> > >> > >> So it became like > >> <cib generated="true" admin_epoch="0" epoch="1" num_updates="1" > >> have_quorum="true" ignore_dtd="false" ccm_transition="1" num_peers="1" > >> cib_feature_revision="2.0" cib-last-written="Fri Dec 15 00:15:48 > >> 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"/> > >> </attributes> > >> </cluster_property_set> > >> </crm_config> > >> <nodes> > >> <node id="d354acf4-568d-4583-9fe9-72eabb2835b1" > >> uname="clusternode2" type="normal"/> > >> </nodes> > >> <resources> > >> <group id="apache_group"> > >> <primitive id="ip_resource_1" class="ocf" type="IPaddr" > >> provider="heartbeat"> > >> <instance_attributes> > >> <attributes> > >> <nvpair name="ip" value="10.10.4.xxx"/> > >> </attributes> > >> </instance_attributes> > >> </primitive> > >> <primitive id="apache" class="heartbeat" type="apache"/> > >> </group> > >> <resources/> This should be </resources> Thanks, Dejan > >> <constraints/> > >> </configuration> > >> </cib> > >> _______________________________________________________ > >> Linux-HA-Dev: [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > >> Home Page: http://linux-ha.org/ > >> > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
