[Linux-HA] cl_status causes errors to be printed in
/var/log/messages
Beatty, Gregory
gregory.beatty at lmco.com
Thu Aug 11 15:33:42 MDT 2005
All-
We are working on setting up heartbeat and to create an HA NFS server.
We seem to have the basics down but are having trouble with logging. We
are using a script that runs cl_status to monitor heartbeat and it is
filling /var/log/messages with errors.
Every time I run "cl_status rscstatus" it returns the expected results
but the following shows up in /var/log/messages:
Aug 11 20:54:22 4003a6 cl_status[4736]: info: start:optind: 1
argv[optind+1]: (null)
Aug 11 20:54:22 4003a6 cl_status[4736]: info: End: optind: 1
argv[optind+1]: (null)
Aug 11 20:54:22 4003a6 cl_status[4736]: ERROR: return value:0
Aug 11 20:54:22 4003a6 heartbeat[29873]: info: Client pid 4736 died
(input)
Aug 11 20:54:22 4003a6 heartbeat[29873]: info: EOF from client pid 4736
Aug 11 20:54:22 4003a6 heartbeat[29873]: info: Client pid 4736 died
(input)
Aug 11 20:54:22 4003a6 heartbeat[29873]: info: api_send_client: client
4736 died
Is this the expected result or is it a symptom of having something
misconfigured?
/etc/ha.d/ha.cf is as follows on both nodes:
-- Begin ha.cf --
#bcast eth0 #ethernet port heart beat goes over
logfacility syslog
keepalive 1.0 # Time in seconds between
heartbeat
warntime 3.0 # Time in seconds before issuing
a warning
deadtime 6.0 # Time in seconds before a node
is considered dead
initdead 6.0 # Time network starts working after boot
ucast eth0 10.2.3.6
ucast eth0 10.2.4.6
updport 694 # Port that heartbeat talks over
apiauth cl_status uid=root,idp,haclient
auto_failback off # Set so when master comes back online
it takes back everything
node 4003a6 # hostname of box 'uname -a'
node 4004a6 # hostname of box 'uname -a'
respawn hacluster /usr/lib/heartbeat/ipfail
ping 10.2.3.2 10.2.4.2
-- End ha.cf --
I have tried running with and without the apiauth line and have run
"cl_status" as several different users always with similar (different
pids) output in messages.
We are using heartbeat v1.2.3 and linux 2.4.29.
Thanks in advance,
Gregory M. Beatty
Systems Engineer
Lockheed-Martin, Maritime Systems & Sensors
More information about the Linux-HA
mailing list