[Linux-ha-dev] Re: [Linux-ha] Re: [Linux-HA] 1.2.3 on Solaris 8, now 1.99.1 ?

mustang4 at free.fr mustang4 at free.fr
Wed Feb 16 15:19:59 MST 2005




> >>Hi all,
> >>
> >>heartbeat 1.2.3 now work on my Solaris 8 Sparc server.
> >>If the first node dies (power off, or all links unpluged) the second node
> >
> > become
> >
> >>the master. ok
> >>
> >>if i use hb_standby, it's work. the second node become master. ok
> >>
> >>But, if i try to test connectivity, unplug my primary interface... link
> become
> >>dead in log... but heartbeat doesn't switch... ko
> >>
> >>Ipfail run well, no ERROR message in log...
> >
> >
> >>IPfail requires redundant connectivity to work.  You probably don't have
> that.
> >
> >
> > I ve redundant connectivity.
> > I 've a null modem serial, an ethernet crossover cable.
> > And an ethernet cable for the exterior...
> >
> > i followed the GettingStarted.html ...
> > i ve ping node candidate, i've auto_failback on, respawn hacluster
> > /usr/lib/heartbeat/ipfail ...
> > i tried to bcast eri0 and er1, eri0
> > many configurations...
> >
> > but heartbeat never switch when i've a IP connection failure...
> >
> >
> >
> >
> >>If i try to lauch manualy :
> >>/usr/local/heartbeat/bin/cl_status status
> >>i ve a segmentation fault. ....
> >>?
> >>
> >>I try also to compile heartbeat 1.99.1 without success, i ve a :
> >>configure:37001: error: cannot compute sizeof (char), 77
> >>See `config.log' for more details
> >
> >
> >
> >>Don't mess with 1.99 or above at this time on Solaris.  Wait until Matt has
> >>it working.
> >
> >
> > so, in futur 2.0 version, ipfail will not work with heartbeat ?
> >
> > Note i found the probleme of my "cannot compute sizeof (char)":
> > If i make the configure with :
> > CFLAGS="-I/opt/csw/include -I/workdir/e2fsprogs/lib/"
> LDFLAGS="-L/opt/csw/lib
> > -L/workdir/e2fsprogs/lib -lintl" CC="/opt/csw/gcc3/bin/gcc"
> > CXX="/opt/csw/gcc3/bin/g++" ./configure
> >
> > I ve my "cannot compute sizeof (char)"
> >
> > If i make the configure with :
> > CFLAGS="-I/opt/csw/include -I/workdir/e2fsprogs/lib/"
> LDFLAGS="-L/opt/csw/lib
> > -lintl" CC="/opt/csw/gcc3/bin/gcc" CXX="/opt/csw/gcc3/bin/g++" ./configure
> >
> > checking size of char pass weel , but i 've:
> > Configuration error: The following required components noted earlier are
> missing
> > : e2fsprogs uuid library, uuid capability...
>
> The -I is probably wrong.  I don't know where the headers from e2fsprogs
> go, but I bet it isn't in the same directory as its libraries.  We don't
> use the C++ compiler, so that should be irrelevant.
>
> --

headers (uuid.h) are in /workdir/e2fsprogs/lib/uuid and lib also in
/workdir/e2fsprogs/lib/uuid, you must specify /workdir/e2fsprogs/lib for both
in your configure option because heartbeat configure jump in uuid
directory.!?..

I found the probleme : i compiled ef2sprogs without the same CC and CCX option
like i use with heartbeat.
So i compile again ef2sprogs with good option and heartbeat configure finished
well...
but make stop with an error : missing header getopt.h
getopt.h is in /workdir/e2fsprogs/include/nonunix directory.

I had this : -I/workdir/e2fsprogs/include/nonunix  and make heartbeat again.

and i ve another error with 1.99.1 tarball and the same with CVS version :

:-(

tdl.c:2174: warning: "struct direct" declared inside parameter list
ltdl.c: In function `find_handle_callback':
ltdl.c:2766: error: `R_OK' undeclared (first use in this function)
ltdl.c:2766: error: (Each undeclared identifier is reported only once
ltdl.c:2766: error: for each function it appears in.)
ltdl.c: In function `lt_argz_insertdir':
ltdl.c:3591: error: dereferencing pointer to incomplete type
ltdl.c:3591: error: dereferencing pointer to incomplete type
ltdl.c:3596: error: dereferencing pointer to incomplete type
ltdl.c:3607: error: dereferencing pointer to incomplete type
ltdl.c:3616: error: dereferencing pointer to incomplete type
ltdl.c:3626: error: dereferencing pointer to incomplete type
ltdl.c: In function `list_files_by_dir':
ltdl.c:3644: error: `DIR' undeclared (first use in this function)
ltdl.c:3644: error: `dirp' undeclared (first use in this function)
ltdl.c:3657: warning: assignment makes pointer from integer without a cast
ltdl.c:3658: error: dereferencing pointer to incomplete type
ltdl.c:3659: confused by earlier errors, bailing out
gmake[2]: *** [ltdl.lo] Error 1
gmake[2]: Leaving directory `/export/home/sources/heartbeat-1.99.1/libltdl'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/export/home/sources/heartbeat-1.99.1/libltdl'


More information about the Linux-HA-Dev mailing list