Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 00:18:53 +0200
From:      Manon Goo <manon@manon.de>
To:        spe@bsdfr.org, hut@gcu-squad.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: freevrrpd-0.8.7
Message-ID:  <2147483647.1064449133@[192.168.0.20]>

next in thread | raw e-mail | index | archive | help
--==========2147506658==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello,

I am encountering the fllowing error:

when the master(prio 255) is running and the slave(prio 30) is offline I=20
can set the slave online and it detects the master and waits for failover.

When the slave becomes active (by shutting down the master or booting the=20
slave  before the master) and the master starts up later
the slave will not shortly release the addresses switch to being active and =

will not relase the address for ever.

Manon Goo

OS: freebsd 5.1
time is syncronized by ntp

log on the slave:

 Sep 24 23:52:21 gabriel freevrrpd[977]: launching daemon in background =
mode
Sep 24 23:52:22 gabriel freevrrpd[978]: initializing threads and all VRID
Sep 24 23:52:22 gabriel freevrrpd[978]: reading configuration file=20
/usr/local/etc/freevrrpd.conf
Sep 24 23:52:22 gabriel freevrrpd[978]: send ip =3D 10.1.3.254, eth =3D=20
0:80:c8:c9:88:d6
Sep 24 23:52:22 gabriel kernel: Sep 24 23:52:22 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.254, eth =3D 0:80:c8:c9:88:d6
Sep 24 23:52:22 gabriel freevrrpd[978]: server state vrid 3: backup
Sep 24 23:52:22 gabriel freevrrpd[978]: send ip =3D 172.16.132.158, eth =3D =

0:80:c8:c9:88:d5
Sep 24 23:52:22 gabriel kernel: Sep 24 23:52:22 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.158, eth =3D 0:80:c8:c9:88:d5
Sep 24 23:52:22 gabriel freevrrpd[978]: server state vrid 2: backup
Sep 24 23:52:22 gabriel freevrrpd[978]: send ip =3D 172.16.133.252, eth =3D =

0:80:c8:c9:88:d7
Sep 24 23:52:22 gabriel kernel: Sep 24 23:52:22 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.252, eth =3D 0:80:c8:c9:88:d7
Sep 24 23:52:22 gabriel freevrrpd[978]: server state vrid 4: backup
Sep 24 23:52:22 gabriel freevrrpd[978]: send ip =3D 172.16.134.253, eth =3D =

0:80:c8:c9:88:d4
Sep 24 23:52:22 gabriel kernel: Sep 24 23:52:22 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.253, eth =3D 0:80:c8:c9:88:d4
Sep 24 23:52:22 gabriel freevrrpd[978]: server state vrid 1: backup

now I kill the master

Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.134.253, eth =3D =

0:0:5e:0:1:1
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.253, eth =3D 0:0:5e:0:1:1
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.134.241, eth =3D =

0:0:5e:0:1:1
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.241, eth =3D 0:0:5e:0:1:1
Sep 24 23:52:42 gabriel freevrrpd[978]: server state vrid 1: master
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.132.158, eth =3D =

0:0:5e:0:1:2
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.158, eth =3D 0:0:5e:0:1:2
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.132.156, eth =3D =

0:0:5e:0:1:2
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.156, eth =3D 0:0:5e:0:1:2
Sep 24 23:52:42 gabriel freevrrpd[978]: server state vrid 2: master
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 10.1.3.254, eth =3D=20
0:0:5e:0:1:3
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.254, eth =3D 0:0:5e:0:1:3
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 10.1.3.252, eth =3D=20
0:0:5e:0:1:3
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.252, eth =3D 0:0:5e:0:1:3
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.133.252, eth =3D =

0:0:5e:0:1:4
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.252, eth =3D 0:0:5e:0:1:4
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.252, eth =3D 0:0:5e:0:1:4
Sep 24 23:52:42 gabriel freevrrpd[978]: send ip =3D 172.16.133.254, eth =3D =

0:0:5e:0:1:4
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.254, eth =3D 0:0:5e:0:1:4
Sep 24 23:52:42 gabriel kernel: Sep 24 23:52:42 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.254, eth =3D 0:0:5e:0:1:4
Sep 24 23:52:42 gabriel freevrrpd[978]: server state vrid 4: master
Sep 24 23:52:42 gabriel freevrrpd[978]: server state vrid 3: master

restart the master


Sep 24 23:52:59 gabriel freevrrpd[978]: send ip =3D 10.1.3.254, eth =3D=20
0:80:c8:c9:88:d6
Sep 24 23:52:59 gabriel kernel: Sep 24 23:52:59 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.254, eth =3D 0:80:c8:c9:88:d6
Sep 24 23:52:59 gabriel freevrrpd[978]: server state vrid 3: backup
Sep 24 23:52:59 gabriel freevrrpd[978]: send ip =3D 172.16.132.158, eth =3D =

0:80:c8:c9:88:d5
Sep 24 23:52:59 gabriel kernel: Sep 24 23:52:59 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.158, eth =3D 0:80:c8:c9:88:d5
Sep 24 23:52:59 gabriel freevrrpd[978]: server state vrid 2: backup
Sep 24 23:52:59 gabriel freevrrpd[978]: send ip =3D 172.16.133.252, eth =3D =

0:80:c8:c9:88:d7
Sep 24 23:52:59 gabriel kernel: Sep 24 23:52:59 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.252, eth =3D 0:80:c8:c9:88:d7
Sep 24 23:52:59 gabriel freevrrpd[978]: server state vrid 4: backup
Sep 24 23:52:59 gabriel freevrrpd[978]: send ip =3D 172.16.134.253, eth =3D =

0:80:c8:c9:88:d4
Sep 24 23:52:59 gabriel kernel: Sep 24 23:52:59 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.253, eth =3D 0:80:c8:c9:88:d4
Sep 24 23:52:59 gabriel freevrrpd[978]: server state vrid 1: backup

everything looks fine till here

but now the slave starts anouncing its selves again as active !!!!

Sep 24 23:53:02 gabriel freevrrpd[978]: send ip =3D 10.1.3.254, eth =3D=20
0:0:5e:0:1:3
Sep 24 23:53:02 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.254, eth =3D 0:0:5e:0:1:3
Sep 24 23:53:02 gabriel freevrrpd[978]: send ip =3D 10.1.3.252, eth =3D=20
0:0:5e:0:1:3
Sep 24 23:53:02 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 10.1.3.252, eth =3D 0:0:5e:0:1:3
Sep 24 23:53:02 gabriel freevrrpd[978]: server state vrid 3: master
Sep 24 23:53:02 gabriel freevrrpd[978]: send ip =3D 172.16.132.158, eth =3D =

0:0:5e:0:1:2
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.158, eth =3D 0:0:5e:0:1:2
Sep 24 23:53:02 gabriel freevrrpd[978]: send ip =3D 172.16.132.156, eth =3D =

0:0:5e:0:1:2
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 172.16.132.156, eth =3D 0:0:5e:0:1:2
Sep 24 23:53:02 gabriel freevrrpd[978]: server state vrid 2: master
Sep 24 23:53:03 gabriel freevrrpd[978]: send ip =3D 172.16.134.253, eth =3D =

0:0:5e:0:1:1
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:03 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.253, eth =3D 0:0:5e:0:1:1
Sep 24 23:53:03 gabriel freevrrpd[978]: send ip =3D 172.16.134.241, eth =3D =

0:0:5e:0:1:1
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:03 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.241, eth =3D 0:0:5e:0:1:1
Sep 24 23:53:03 gabriel freevrrpd[978]: server state vrid 1: master
Sep 24 23:53:02 gabriel freevrrpd[978]: send ip =3D 172.16.134.241, eth =3D =

0:0:5e:0:1:4
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.241, eth =3D 0:0:5e:0:1:4
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:02 gabriel freevrrpd[978]:=20
send ip =3D 172.16.134.241, eth =3D 0:0:5e:0:1:4
Sep 24 23:53:03 gabriel freevrrpd[978]: send ip =3D 172.16.133.254, eth =3D =

0:0:5e:0:1:4
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:03 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.254, eth =3D 0:0:5e:0:1:4
Sep 24 23:53:03 gabriel kernel: Sep 24 23:53:03 gabriel freevrrpd[978]:=20
send ip =3D 172.16.133.254, eth =3D 0:0:5e:0:1:4
Sep 24 23:53:03 gabriel freevrrpd[978]: server state vrid 4: master
Sep 24 23:53:17 gabriel freevrrpd[978]: restoring real MAC address:=20
00:80:C8:C9:88:D6 for interface dc2
Sep 24 23:53:17 gabriel freevrrpd[978]: restoring real MAC address:=20
00:80:C8:C9:88:D5 for interface dc1
Sep 24 23:53:17 gabriel freevrrpd[978]: restoring real MAC address:=20
00:80:C8:C9:88:D7 for interface dc3
Sep 24 23:53:17 gabriel freevrrpd[978]: select on readfds fd_set failed:=20
Bad file descriptor
Sep 24 23:53:17 gabriel kernel: Sep 24 23:53:17 gabriel freevrrpd[978]:=20
select on readfds fd_set failed: Bad file descriptor
Sep 24 23:53:17 gabriel freevrrpd[978]: select on readfds fd_set failed:=20
Bad file descriptor
Sep 24 23:53:17 gabriel freevrrpd[978]: restoring real MAC address:=20
00:80:C8:C9:88:D4 for interface dc0


so I kill it



--==========2147506658==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/chhOtBA0jepi8kYRAm6YAJ4zdgDCNLJyDS4V9fGgNpdxZXE4uwCgmAj5
BrLa6M6NiPqe2V1H6OjrjO4=
=gMtA
-----END PGP SIGNATURE-----

--==========2147506658==========--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2147483647.1064449133>