[Linux-HA] v2 ha-log messages?

Alan Robertson alanr at unix.sh
Fri Sep 30 14:49:04 MDT 2005


Jonathan Auerbach wrote:
> I have HB 2.02 successfully running with OCF RA's and monitoring (with
> successful failovers between hosts and restarts of failed, single
> resources on the primary host... cool stuff!). But... the following
> messages are pretty frequently occurring in the ha-log (without
> consequence it seems):
> 
> 
> crmd[12223]: 2005/09/30_19:26:18 WARN: lrm_get_rsc(653): got a return
> code HA_FAIL from a reply message of getrsc with function get_ret_from_msg.

This is something Andrew will have to comment on.
> 
> 
> lrmd[12222]: 2005/09/30_19:26:20 ERROR: Process 12332 failed to redirect
> stdout for its background child (daemon) processes. This will likely
> cause those processes to die mysteriously at some later time (terminated
> by signal SIGPIPE).

I know exactly what this one is.

Do you know what resource agent was running when this message came out?


What it means is that the main resource action (start, stop, etc) has 
finished, but that for some reason, a child process of that resource 
action is still running, and has not redirected its stdout/stderr to 
something else (like /dev/null), and it's still running.

Since the main process has died, we closed our end of the pipe, and if 
anyone else in one of these still-running child processes tries to write 
to their end of it in the future (like this child process which is still 
running), then it will not be able to, and will get a SIGPIPE signal 
which will likely kill it.

It is related to this bug:
	http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=475

The "right" system-wide fix for this problem is described here:
	http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=756

The observant will notice that this problem is not yet marked as fixed.

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the Linux-HA mailing list