Eric J. Bowser wrote: > Hello list! > > I've followed through the Getting Started guide for v2 on the > linux-ha.org site, and can't get it to run. Whenever I try starting, it > only logs the following two lines, which don't really help: > heartbeat[17690]: 2008/03/28_14:28:44 ERROR: Heartbeat not started: > configuration error. > heartbeat[17690]: 2008/03/28_14:28:44 ERROR: Configuration error, > heartbeat not started. > > I'm running heartbeat 2.0.7 on Fedora from Fedora's official RPM > release. The 192.168.42.x subnet is on eth0, eth1 is a dedicated private > link between the two HA hosts. Node names are taken from uname -n as > instructed. > > Here is my /etc/had/ha.cf: > use_logd off > logfile /var/log/ha-log > debugfile /var/log/ha-debug > keepalive 1 > deadtime 5 > initdead 60 > udpport 694 > ping 192.168.42.8 > bcast eth1 > auto_failback off > node ha1 ha2 > crm respawn > > Here is my /var/lib/heartbeat/crm/cib.xml: > <cib> > <configuration> > <crm_config/> > <nodes/> > <resources> > <primitive id="ip_resource" class="ocf" type="IPaddr" > provider="heartbeat"> > <instance_attributes> > <attributes> > <nvpair name="ip" value="192.168.42.10"/> > </attributes> > </instance_attributes> > </primitive> > </resources> > <constraints> > <rsc_location id="run_ip_resource" rsc="ip_resource"> > <rule id="pref_run_ip_resource" score="100"> > <expression attribute="#uname" operation="eq" value="ha1"/> > </rule> > </rsc_location> > </constraints> > </configuration> > <status/> > </cib> > > And finally, /etc/ha.d/authkeys: > auth 1 > 1 sha1 foofoofoofoo > > Any pointers? I'm completely lost since both the debug file and logfile > have no specific errors in them. > > Thanks! > > ~Eric
Hi Eric, Just a quick suggestion, add debug 1 to your ha.cf file And maybe a running /usr/sbin/crm_verify -x /var/lib/heartbeat/crm/cib.xml will turn up something. regards, Johan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
