[Xorp-users] failed to re-start xorpsh
Ram
ramkumar.ch03 at gmail.com
Fri Mar 26 11:35:36 PDT 2010
Hi Ben,
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[16774]
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
conditions.
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[16774]: No such file or directory.
(gdb) break bind
No symbol table is loaded. Use the "file" command.
(gdb) continue
The program is not being run.
Thanks,
--Ram
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
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20100326/71be13b9/attachment.html
More information about the Xorp-users
mailing list