Michael,
I managed to resolve this by compiling libnet from source first (not
sure why this helped)
Heartbeat installs fine from source but now when I run it I get the
exact same error as I did with the rpms.
Basic Sanity Check Does this:
[EMAIL PROTECTED] heartbeat]# ./BasicSanityCheck
Using interface: eth0
Starting base64 and md5 algorithm tests
base64 and md5 algorithm tests succeeded.
Starting Resource Agent tests
Testing RA: Dummy
Testing RA: IPaddr
ERROR: IPaddr RA failed
Starting IPC tests
Starting heartbeat
logd is already running
Starting High-Availability services:
2008/03/17_16:30:24 INFO: Resource is stopped
But a manual test works:
[EMAIL PROTECTED] resource.d]# ./IPaddr2 192.168.2.71 start
2008/03/17_16:31:51 INFO: ip -f inet addr add 192.168.2.71/24 brd
192.168.2.255 dev eth0
2008/03/17_16:31:51 INFO: ip link set eth0 up
2008/03/17_16:31:51 INFO: /usr/local/lib/heartbeat/send_arp -i 200 -r 5
-p /usr/local/var/run/heartbeat/rsctmp/send_arp/send_arp-192.168.2.71
eth0 192.168.2.71 auto not_used not_used
2008/03/17_16:31:51 INFO: Success
INFO: Success
Log still shows nothing:
heartbeat[20717]: 2008/03/17_16:10:23 info: Version 2 support: false
heartbeat[20717]: 2008/03/17_16:10:23 WARN: Logging daemon is disabled
--enabling logging daemon is recommended
heartbeat[20717]: 2008/03/17_16:10:23 info: **************************
heartbeat[20717]: 2008/03/17_16:10:23 info: Configuration validated.
Starting heartbeat 2.1.3
heartbeat[20718]: 2008/03/17_16:10:23 info: heartbeat: version 2.1.3
heartbeat[20718]: 2008/03/17_16:10:23 info: Heartbeat generation: 1205769557
heartbeat[20819]: 2008/03/17_16:10:35 info: Version 2 support: false
heartbeat[20819]: 2008/03/17_16:10:35 WARN: Logging daemon is disabled
--enabling logging daemon is recommended
heartbeat[20819]: 2008/03/17_16:10:35 info: **************************
heartbeat[20819]: 2008/03/17_16:10:35 info: Configuration validated.
Starting heartbeat 2.1.3
Michael Brennen wrote:
On Mon, 17 Mar 2008, Malcolm wrote:
Compiling from source on Centos 5 and I get the following error:
libxml2 IS instlled (as I saw this posted on the same error earlier
in the list.)
Am I missing some more XML type things?
PIC -o .libs/raexeclsb.o
raexeclsb.c:47:29: error: libxml/entities.h: No such file or directory
cc1: warnings being treated as errors
raexeclsb.c: In function 'get_resource_meta':
raexeclsb.c:522: warning: implicit declaration of function
'xmlEncodeEntitiesReentrant'
raexeclsb.c:522: error: 'BAD_CAST' undeclared (first use in this
function)
raexeclsb.c:522: error: (Each undeclared identifier is reported only
once
Is the -devel package installed?
-- Michael
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
--
Malcolm Turnbull
Loadbalancer.org
+44 (0)870 4438779
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems