Reid W. Johnson | 1 Jul 02:24 2004
Picon

Problems compiling Heartbeat 1.2.2 on FreeBSD 4.10 with libnet-devel (1.1.2.1)

Hi everyone,

Well I'm stumped, after running ./ConfigureMe configure I run gmake and get
the error posted below. I am totally lost, any idea?

Thanks,
Reid

OS: FreeBSD 4.10
Autoconf 2.53.1
Automake 1.5.1
libtool 1.5.2_1
libnet-devel 1.1.2.1
heartbeat 1.2.2

Making all in libnet_util
gmake[2]: Entering directory
`/usr/src/heartbeat-1.2.2/heartbeat/libnet_util'
source='send_arp.c' object='send_arp.o' libtool=no \
depfile='.deps/send_arp.Po' tmpdepfile='.deps/send_arp.TPo' \
depmode=gcc /usr/local/bin/bash ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include
 -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../l
ibltdl  -I/usr/local/include -I/usr/local/include/glib12    -g -O2 -fno-stri
ct-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prot
otypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-functi
on-cast -Winline -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-
long -Werror -ggdb3 -DVAR_RUN_D='""' -DVAR_LIB_D='""' -DHA_D='""' -DHALIB='"
/usr/local/lib/heartbeat"' -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_
SOCKADDR_SA_LEN  -g -O2 -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wm
(Continue reading)

Horms | 1 Jul 03:08 2004
Picon

Re: Problems compiling Heartbeat 1.2.2 on FreeBSD 4.10 with libnet-devel (1.1.2.1)

On Wed, Jun 30, 2004 at 06:24:05PM -0600, Reid W. Johnson wrote:
> Hi everyone,
> 
> Well I'm stumped, after running ./ConfigureMe configure I run gmake and get
> the error posted below. I am totally lost, any idea?
> 
> Thanks,
> Reid
> 
> OS: FreeBSD 4.10
> Autoconf 2.53.1
> Automake 1.5.1
> libtool 1.5.2_1
> libnet-devel 1.1.2.1
> heartbeat 1.2.2
> 
> Making all in libnet_util
> gmake[2]: Entering directory
> `/usr/src/heartbeat-1.2.2/heartbeat/libnet_util'
> source='send_arp.c' object='send_arp.o' libtool=no \
> depfile='.deps/send_arp.Po' tmpdepfile='.deps/send_arp.TPo' \
> depmode=gcc /usr/local/bin/bash ../../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include
>  -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../l
> ibltdl  -I/usr/local/include -I/usr/local/include/glib12    -g -O2 -fno-stri
> ct-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prot
> otypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-functi
> on-cast -Winline -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-
> long -Werror -ggdb3 -DVAR_RUN_D='""' -DVAR_LIB_D='""' -DHA_D='""' -DHALIB='"
> /usr/local/lib/heartbeat"' -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_
(Continue reading)

Horms | 1 Jul 03:12 2004
Picon

Re: Problems compiling Heartbeat

On Wed, Jun 30, 2004 at 12:57:59PM -0500, Travis Miller wrote:
> Hello Everyone,
> 
> I am using slackware 10.0 and can't seem to get Heartbeat 1.2.2 to compile.
> 
> Using the following commands:
> 
> wget http://www.linux-ha.org/download/heartbeat-1.2.2.tar.gz &&
> tar zxvf heartbeat-1.2.2.tar.gz &&
> cd heartbeat-1.2.2 &&
> ./ConfigureMe configure
> 
> Script output:
> 
> Configure flags for Generic Linux: --prefix=/usr --sysconfdir=/etc 
> --localstatedir=/var
> Running ./bootstrap --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> aclocal
> /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of 
> PKG_CHECK_MODULES
>   run info '(automake)Extending aclocal'
>   or see 
> http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> autoheader
> configure.in:982: warning: file `config/snmp_subagent.m4' included 
> several times
> libtoolize --ltdl --force --copy
> automake --add-missing --include-deps
> configure.in:982: warning: file `config/snmp_subagent.m4' included 
> several times
(Continue reading)

Horms | 1 Jul 03:14 2004
Picon

Re: send_arp

On Wed, Jun 30, 2004 at 09:35:52AM -0300, Guilherme Dal Pizzol wrote:
> Is it possible to run send_arp as a service in heartbeat configuration?
> 
> Sometimes my router interface get stuck and it does not update the arp 
> table when the service is doing a failover. The lan interface complete 
> freezes and when it backs to service the arp entry is not pointing to the 
> right place (it is still pointing to the primary server, until the entry is 
> squashed).

Yes that is possible. Actually, my original design for the predecesor
of IPaddr did just that. Just be wary of half-dead nodes that
are stuck running send_arp forever. Stonith might not be such a bad idea
here.

--

-- 
Horms
_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha

Reid W. Johnson | 1 Jul 06:36 2004
Picon

Re: Problems compiling Heartbeat 1.2.2 on FreeBSD 4.10 withlibnet-devel (1.1.2.1)

Thanks Horms,

That did the trick.

----- Original Message ----- 
From: "Reid W. Johnson" <rjohnson <at> corenetworksolutions.ca>
To: <linux-ha <at> lists.linux-ha.org>
Sent: Wednesday, June 30, 2004 6:24 PM
Subject: [Linux-HA] Problems compiling Heartbeat 1.2.2 on FreeBSD 4.10
withlibnet-devel (1.1.2.1)

> Hi everyone,
>
> Well I'm stumped, after running ./ConfigureMe configure I run gmake and
get
> the error posted below. I am totally lost, any idea?
>
> Thanks,
> Reid
>
> OS: FreeBSD 4.10
> Autoconf 2.53.1
> Automake 1.5.1
> libtool 1.5.2_1
> libnet-devel 1.1.2.1
> heartbeat 1.2.2
>
> Making all in libnet_util
> gmake[2]: Entering directory
> `/usr/src/heartbeat-1.2.2/heartbeat/libnet_util'
(Continue reading)

Marc Atkins | 1 Jul 10:06 2004
Picon

RE: send_arp

You could just send a ping  -c 1 -i [src_ip_address] to the gateway when
a node takes over. This updates the arp-cache.  I know ..... I had the
same problem.

Marc

-----Original Message-----
From: linux-ha-bounces <at> lists.linux-ha.org
[mailto:linux-ha-bounces <at> lists.linux-ha.org] On Behalf Of Horms
Sent: 01 July 2004 02:15
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] send_arp

On Wed, Jun 30, 2004 at 09:35:52AM -0300, Guilherme Dal Pizzol wrote:
> Is it possible to run send_arp as a service in heartbeat
configuration?
> 
> Sometimes my router interface get stuck and it does not update the arp

> table when the service is doing a failover. The lan interface complete

> freezes and when it backs to service the arp entry is not pointing to
the 
> right place (it is still pointing to the primary server, until the
entry is 
> squashed).

Yes that is possible. Actually, my original design for the predecesor
of IPaddr did just that. Just be wary of half-dead nodes that
are stuck running send_arp forever. Stonith might not be such a bad idea
(Continue reading)

Reid W. Johnson | 1 Jul 10:14 2004
Picon

FreeBsd not realeasing interfaces

Hi again everyone... wow I'm on a role.

So for some reason heartbeat is not releasing IPs from interfaces when I
shut the process down. So I guess I have a few questions:

What should I look for to help determine what the problem is?
Should heartbeat be creating IPs on interfaces as an alias or should it
create a sub interface (em0:0)
does anyone have a list to reference my permissions against, I know some of
them are wrong.

Well thanks in advance to anyone who can spare a few moments to give me a
hand, I really do appriciate it.

Cheers,
Reid

_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha

Soffen, Matthew | 1 Jul 15:49 2004

RE: FreeBsd not releasing interfaces

FreeBSD doesn't create any new devices.  It only creates the alias line:

# ifconfig  dc0
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.195.196 netmask 0xffff0000 broadcast 192.168.255.255
        inet6 fe80::2a0:ccff:fe34:a878%dc0 prefixlen 64 scopeid 0x1 
        inet 192.168.195.186 netmask 0xffffffff broadcast 192.168.195.186
        ether 00:a0:cc:34:a8:78
        media: Ethernet 100baseTX <full-duplex>
        status: active

Also, what are your ha.cf and haresources file ? ( having those can help
greatly).

Matt

-----Original Message-----
From: Reid W. Johnson [mailto:rjohnson <at> corenetworksolutions.ca]
Sent: Thursday, July 01, 2004 4:14 AM
To: General Linux-HA mailing list
Subject: [Linux-HA] FreeBsd not realeasing interfaces

Hi again everyone... wow I'm on a role.

So for some reason heartbeat is not releasing IPs from interfaces when I
shut the process down. So I guess I have a few questions:

What should I look for to help determine what the problem is?
Should heartbeat be creating IPs on interfaces as an alias or should it
create a sub interface (em0:0)
(Continue reading)

Guilherme Dal Pizzol | 1 Jul 16:01 2004

Re: send_arp

I've tried first the "ping" method (even with hping), but unfortunately it has 
not worked in my setup (below I'm sending some logs - tethereal + hping).

It seems that the cisco router does not update its arp table with a simple ping 
request.

[root <at> testes2 root]# hping2 -I eth0:0 -d 20 -1 10.0.1.1
HPING 10.0.0.1 (eth0:0 10.0.0.1): icmp mode set, 28 headers + 20 data bytes
   0.000000 10.0.0.14 -> 10.0.0.1 ICMP Echo (ping) request
   0.992657 10.0.0.14 -> 10.0.0.1 ICMP Echo (ping) request
   1.992736 10.0.0.14 -> 10.0.0.1 ICMP Echo (ping) request

With send_arp it works fine.

Marc, am I missing something?

Regards,

Guilherme.

Marc Atkins wrote:
> You could just send a ping  -c 1 -i [src_ip_address] to the gateway when
> a node takes over. This updates the arp-cache.  I know ..... I had the
> same problem.
> 
> Marc
> 
> -----Original Message-----
> From: linux-ha-bounces <at> lists.linux-ha.org
> [mailto:linux-ha-bounces <at> lists.linux-ha.org] On Behalf Of Horms
(Continue reading)

Jiann-Ming Su | 1 Jul 07:55 2004
Picon

Return code 127?

I get the following message from heartbeat when I try to launch ezproxy:

Jul  1 01:08:14 ezproxy1 heartbeat: info: Running /etc/ha.d/resource.d/ezproxy  start
Jul  1 01:08:14 ezproxy1 heartbeat: debug: Starting /etc/ha.d/resource.d/ezproxy  start
Jul  1 01:08:14 ezproxy1 heartbeat: debug: /etc/ha.d/resource.d/ezproxy start done. RC=127
Jul  1 01:08:14 ezproxy1 heartbeat: ERROR: Return code 127 from /etc/ha.d/resource.d/ezproxy

What does code 127 mean?  Obviously, fails to launch.  What does code
127 mean?  Thanks for any help.

Jiann-Ming Su
"Yeah, Lois, that'll be about as much fun as a lecture on
 				   ontological empiricism."  --Peter Griffin

_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha


Gmane