[Xorp-users] failed to re-start xorpsh
ramkumar.ch03 at gmail.com
Fri Mar 26 11:35:36 PDT 2010
I could not run gdb. i got following message.
-bash-3.2# ps -ef |grep xorp
root 16774 7592 0 Mar25 ? 00:00:00 ./xorp_rtrmgr -b
/root/xorp1.config -l /tmp/xorp_log.txt
root 16775 16774 0 Mar25 ? 00:00:00 xorp_fea
root 16776 16774 0 Mar25 ? 00:00:00 xorp_rib
root 16777 16774 0 Mar25 ? 00:00:00 xorp_policy
root 16778 16774 0 Mar25 ? 00:00:00 xorp_ospfv2
root 17251 12608 0 Mar25 ? 00:00:00 grep xorp
-bash-3.2# gdb xorp_rtrmgr
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
xorp_rtrmgr: No such file or directory.
(gdb) break bind
No symbol table is loaded. Use the "file" command.
The program is not being run.
On Fri, Mar 26, 2010 at 12:59 PM, Ben Greear <greearb at candelatech.com>wrote:
> 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
> Then start your second xorpsh
> Hopefully gdb will hit the bind breakpoint. At that point, grab the
> backtrace in gdb:
> Post the backtrace text..maybe it will give me a clue.
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xorp-users