Unix Technical Forum

RADVD stops sending advertisements without crashing...

This is a discussion on RADVD stops sending advertisements without crashing... within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi folks, I have a strange issue with my RADVD. It did work, but lately I am experiencing problems ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 09:42 AM
Johnny Doe
 
Posts: n/a
Default RADVD stops sending advertisements without crashing...


Hi folks,

I have a strange issue with my RADVD. It did work, but lately I am
experiencing problems with RADVD, causing my client machines on the LAN to
loose their IPv6 connectivity because they forget about their default route.

I don't have a clue where to look for it since I am not sure exactly when it
started, it did work correctly earlier. Restarting RADVD always solves the
issue since RADVD then starts sending out router advertisements. I have also
been running RADVD with debugging switched on, which clearly shows RADVD
stopping with sending out router advertisements. Pressing Ctrl-C has RADVD
quit cleanly and restarting using the init script also goes without
problems, brining me under the impression that RADVD does not segfault or
some kind of crash like that.

Might there by anyone who has an idea why my RADVD always stops sending
router advertisements after an undetermined period of time? (Usually about
1-2 hours or so)

I'm currently running hardened-sources 2.6.11-r1 with RADVD 0.7.3 (latest
from CVS). I've also had the same issue with RADVD 0.7.3 (tar.gz) and RADVD
0.7.2-r1 (ebuild).

It might have to do with me having switched to a hardened kernel, but it can
also be another kernel option I might have changed or yet something
completely else. So if anyone has a clue as to what I might try next, I
would be quite thankfull.


Many thanks in advance,
Kind regards,


Guido


-----------------
RADVD Debugging
-----------------

[Apr 17 20:41:47] radvd: version 0.7.3 started
[Apr 17 20:41:47] radvd: inet_pton returned 1
[Apr 17 20:41:47] radvd: hardware type for eth0 is 1
[Apr 17 20:41:47] radvd: link layer token length for eth0 is 48
[Apr 17 20:41:47] radvd: prefix length for eth0 is 64
[Apr 17 20:41:47] radvd: using Mobile IPv6 extensions
[Apr 17 20:41:47] radvd: interface definition for eth0 is ok
[Apr 17 20:41:47] radvd: sending RA on eth0
[Apr 17 20:41:47] radvd: setting timer: 10.00 secs
[Apr 17 20:41:47] radvd: calling alarm: 9 secs, 999978 usecs
[Apr 17 20:41:47] radvd: recvmsg len=56
[Apr 17 20:41:47] radvd: if_index 2
[Apr 17 20:41:47] radvd: found Interface: eth0
[Apr 17 20:41:57] radvd: timer_handler called for eth0
[Apr 17 20:41:57] radvd: sending RA on eth0
[Apr 17 20:41:57] radvd: setting timer: 4.34 secs
[Apr 17 20:41:57] radvd: calling alarm: 4 secs, 342869 usecs
[Apr 17 20:41:57] radvd: calling alarm: 4 secs, 342765 usecs
[Apr 17 20:41:57] radvd: recvmsg len=56
[Apr 17 20:41:57] radvd: if_index 2
[Apr 17 20:41:57] radvd: found Interface: eth0
[Apr 17 20:42:02] radvd: timer_handler called for eth0
[Apr 17 20:42:02] radvd: sending RA on eth0
[Apr 17 20:42:02] radvd: setting timer: 9.51 secs
[Apr 17 20:42:02] radvd: calling alarm: 9 secs, 509754 usecs
[Apr 17 20:42:02] radvd: calling alarm: 9 secs, 509648 usecs
[Apr 17 20:42:02] radvd: recvmsg len=56
[Apr 17 20:42:02] radvd: if_index 2
[Apr 17 20:42:02] radvd: found Interface: eth0

<SNIP>

[Apr 17 23:06:30] radvd: timer_handler called for eth0
[Apr 17 23:06:30] radvd: sending RA on eth0
[Apr 17 23:06:30] radvd: setting timer: 4.54 secs
[Apr 17 23:06:30] radvd: calling alarm: 4 secs, 538128 usecs
[Apr 17 23:06:30] radvd: calling alarm: 4 secs, 538026 usecs
[Apr 17 23:06:30] radvd: recvmsg len=56
[Apr 17 23:06:30] radvd: if_index 2
[Apr 17 23:06:30] radvd: found Interface: eth0
[Apr 17 23:06:35] radvd: timer_handler called for eth0
[Apr 17 23:06:35] radvd: sending RA on eth0
[Apr 17 23:06:35] radvd: setting timer: 4.78 secs
[Apr 17 23:06:35] radvd: calling alarm: 4 secs, 783134 usecs
[Apr 17 23:06:35] radvd: calling alarm: 4 secs, 783031 usecs
[Apr 17 23:06:35] radvd: recvmsg len=56
[Apr 17 23:06:35] radvd: if_index 2
[Apr 17 23:06:35] radvd: found Interface: eth0
[Apr 17 23:06:40] radvd: timer_handler called for eth0
[Apr 17 23:06:40] radvd: sending RA on eth0
[Apr 17 23:06:40] radvd: setting timer: 4.87 secs
[Apr 17 23:06:40] radvd: calling alarm: 4 secs, 867027 usecs
[Apr 17 23:06:40] radvd: calling alarm: 4 secs, 866923 usecs
[Apr 17 23:06:40] radvd: recvmsg len=56
[Apr 17 23:06:40] radvd: if_index 2
[Apr 17 23:06:40] radvd: found Interface: eth0
[Apr 17 23:06:44] radvd: timer_handler called for eth0
[Apr 17 23:06:44] radvd: sending RA on eth0
[Apr 17 23:06:44] radvd: setting timer: 3.89 secs
[Apr 17 23:06:44] radvd: calling alarm: 3 secs, 887116 usecs
[Apr 17 23:06:44] radvd: calling alarm: 3 secs, 887014 usecs
[Apr 17 23:06:44] radvd: recvmsg len=56
[Apr 17 23:06:44] radvd: if_index 2
[Apr 17 23:06:44] radvd: found Interface: eth0
[Apr 17 23:06:48] radvd: timer_handler called for eth0
[Apr 17 23:06:48] radvd: sending RA on eth0
[Apr 17 23:06:48] radvd: setting timer: 3.84 secs
[Apr 17 23:06:48] radvd: calling alarm: 3 secs, 839217 usecs
[Apr 17 23:06:48] radvd: calling alarm: 3 secs, 839118 usecs
[Apr 17 23:06:48] radvd: recvmsg len=56
[Apr 17 23:06:48] radvd: if_index 2
[Apr 17 23:06:48] radvd: found Interface: eth0
[Apr 17 23:06:52] radvd: calling alarm: 0 secs, 273 usecs
[Apr 17 23:06:52] radvd: timer_handler called for eth0
[Apr 17 23:06:52] radvd: sending RA on eth0
[Apr 17 23:06:52] radvd: setting timer: 7.16 secs
[Apr 17 23:06:52] radvd: calling alarm: 7 secs, 162317 usecs
[Apr 17 23:06:52] radvd: calling alarm: 7 secs, 162215 usecs
[Apr 17 23:06:52] radvd: recvmsg len=56
[Apr 17 23:06:52] radvd: if_index 2
[Apr 17 23:06:52] radvd: found Interface: eth0

<< Ctrl-C >>

[Apr 17 23:15:37] radvd: sigint_handler called
[Apr 17 23:15:37] radvd: sending RA on eth0


----

The end of an strace looks like this:


open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
rt_sigaction(SIGPIPE, {0x400ce960, [], 0}, {SIG_DFL}, 8) = 0
send(3, "<31>Apr 17 20:08:50 radvd[25847]"..., 44, 0) = 44
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
time([1113761330]) = 1113761330
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
close(5) = 0
rt_sigaction(SIGPIPE, {0x400ce960, [], 0}, {SIG_DFL}, 8) = 0
send(3, "<31>Apr 17 20:08:50 radvd[25847]"..., 55, 0) = 55
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
select(5, [4], NULL, NULL, NULL


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com