[Xorp-hackers] Broken startup

Štefan Gula steweg at ynet.sk
Thu Jul 24 07:20:05 PDT 2008


Well, I was planing to establish BGP sessions with two peers, but I
never get so far. So the answer is no. I even disable any connections

About the backtracing, I tried to backtrace main process (xorp_rtrmgr) with gdb:
(gdb) backtrace
#0  0x00002b395b840a83 in select () from /lib/libc.so.6
#1  0x000000000055a57a in ?? ()
#2  0x0000000000546705 in ?? ()
#3  0x000000000042172f in ?? ()
#4  0x00000000004221e7 in ?? ()
#5  0x00002b395b7a45a4 in __libc_start_main () from /lib/libc.so.6
#6  0x0000000000406359 in ?? ()
#7  0x00007fff4fd74c68 in ?? ()
#8  0x0000000000000000 in ?? ()

and when I tried to backtrace xorp_policy
(gdb) backtrace
#0  0x00002ae3d6201a83 in select () from /lib/libc.so.6
#1  0x000000000050930e in ?? ()
#2  0x00000000004fb6c1 in ?? ()
#3  0x0000000000405507 in ?? ()
#4  0x0000000000405630 in ?? ()
#5  0x00002ae3d61655a4 in __libc_start_main () from /lib/libc.so.6
#6  0x0000000000405339 in ?? ()
#7  0x00007fffd53b3c98 in ?? ()
#8  0x0000000000000000 in ?? ()

and finaly backtrace of xorp_bgp
(gdb) backtrace
#0  0x00002b06d5b64a83 in select () from /lib/libc.so.6
#1  0x000000000067f4f6 in ?? ()
#2  0x000000000066d171 in ?? ()
#3  0x000000000040a625 in ?? ()
#4  0x0000000000419952 in ?? ()
#5  0x00002b06d5ac85a4 in __libc_start_main () from /lib/libc.so.6
#6  0x0000000000405709 in ?? ()
#7  0x00007fffd5a50ca8 in ?? ()
#8  0x0000000000000000 in ?? ()

I also tried to compile with -g flag for debugging but I still get
only ?? in results. (maybe I compile it with wrong flags...)

I am not sure if it helps to troubleshoot the problem but when I tried
to user xorpsh on broken xorp it creates this messages in log file:
[ 2008/07/24 16:15:31  WARNING xorp_rtrmgr:25287 XrlFinderTarget +668
../xrl/targets/finder_base.cc
handle_finder_event_notifier_0_1_register_class_event_interest ]
Handling method for
finder_event_notifier/0.1/register_class_event_interest failed:
XrlCmdError 102 Command failed failed to add watch
[ 2008/07/24 16:15:31  ERROR xorp_rtrmgr:25287 RTRMGR +326
xrl_rtrmgr_interface.cc finder_register_done ] Failed to register with
finder about XRL xorpsh-30780-xyz (err: Command failed)

2008/7/24 Bruce M. Simpson <bms at icir.org>:
> (c)tefan Gula wrote:
>>
>> Ok I tried to disable traceoptions but it doesn't help. So my
>> configuration file looks like this:
>>
>
> ...
>
>
> It looks like it may be policy related, but I can't say for sure. Do you
> have peer(s) which are immediately connecting to the BGP process?
>
> Is it possible for you to attach a debugger to xorp_bgp and obtain a
> backtrace of exactly where the process is blocking?
>
> You could also try completely omitting the traceoptions {} block if it isn't
> being used.
>
> thanks
> BMS
>
>



--
Stefan Gula, CCNP



More information about the Xorp-hackers mailing list