On Tue, 20 May 2008, Nuno Covas wrote:

> On Tue, May 20, 2008 at 10:50 AM, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > On Mon, May 19, 2008 at 04:59:43PM +0100, Joao Ferreira wrote:
> >> Hello all,
> >>
> >> I'm getting this error:
> >>
> >>  Heartbeat failure [rc=139]. Failed.
> >>
> >> I've searched a bit but couldn't understand just what the problem is.
> >>
> >> can anyone point me to some docs explaining this error or tell me what
> >> is happening.
> >
> > Heartbeat can't start for whatever reason (don't know what rc
> > 139). Hopefully the logs would give more information.
> > [...]
> >
>
> The return code 139 means Segmentation Fault.
> See 
> http://www.slac.stanford.edu/BFROOT/www/Computing/Environment/Tools/Batch/exitcode.html
>  - Exit code 139: Segmentatation violation.
>
> You've probably made changes to the source code and didn't handle all
> the possible failures.

I think rc=139 could also happen when a shared library is missing.
Heartbeat often tries to invoke other heartbeat-related programs and those
other programs themselves require various "*.so" files.  If such a ".so"
file is absent this might cause rc=139.

The command "ldd {program-name}" should list the ".so"  requirements of a
particular {program-name} and where they are on your system. So try that
"ldd ..." with the various heartbeat binaries on your system, and look for
indications of "not found" or similar.

If this is the case then it suggests an error in the packaging of your
heartbeat package.  Let us (the list) know your findings (including your
package version, where your package came from etc.).

(The packaging can, in principle, ensure that all dependencies are
fulfilled.  But the actual practice (by the packager) of doing this can
sometimes accidentally miss a dependency.)

Hope that helps.

-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:  UNIX Team Leader                         Durham University     :
:                                           South Road            :
:  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to