[Xorp-users] failed to re-start xorpsh

Ram ramkumar.ch03 at gmail.com
Fri Mar 26 10:55:16 PDT 2010


 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?

Thanks,
--Ram

On Fri, Mar 26, 2010 at 12:45 PM, Ben Greear <greearb at candelatech.com>wrote:

> On 03/26/2010 10:41 AM, Ram wrote:
>
>> Hi Ben,
>>
>>  I can connect to local host  through telnet at 19999 ( the output  is
>> exactly as yours).
>>
>>  There is no log related to xorp in /var/log/ folder, even nothing in
>> message file (please let me know you think some where else).
>> Strace on rtrmgr (strace -o str1.txt ./xorp_rtrmgr) while trying to run
>> xorpsh in another window. I got the following error.
>>
>> getsockname(4, {sa_family=AF_INET, sin_port=htons(0),
>> sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
>> bind(4, {sa_family=AF_INET, sin_port=htons(19999),
>> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address already
>> in use)
>>
>
> Any chance you can attach gdb and add a breakpoint on 'bind' to try to
> figure out the backtrace to where this is happening at?
>
>
> 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/b3ac49c7/attachment.html 


More information about the Xorp-users mailing list