[Xorp-users] failed to re-start xorpsh

Ben Greear greearb at candelatech.com
Fri Mar 26 10:59:16 PDT 2010


On 03/26/2010 10:55 AM, Ram wrote:
>   I wish to attach gdb, but i never used gdb before. So I need to look
> into it before i try.
>
>   Can you give some directions?

Set up PATH to for /usr/local/xorp/sbin

Start up xorp as normal.

use 'ps' to find the PID for xorp_rtrmgr

gdb xorp_rtrmgr [pid]
# Inside gdb:
  break bind
  continue

Then start your second xorpsh

Hopefully gdb will hit the bind breakpoint.  At that point, grab the
backtrace in gdb:

bt

exit

Post the backtrace text..maybe it will give me a clue.

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list