I wish to attach gdb, but i never used gdb before. So I need to look into it before i try.<div><br></div><div> Can you give some directions?<div><br></div><div>Thanks,</div><div>--Ram<br><br><div class="gmail_quote">On Fri, Mar 26, 2010 at 12:45 PM, Ben Greear <span dir="ltr"><<a href="mailto:greearb@candelatech.com">greearb@candelatech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 03/26/2010 10:41 AM, Ram wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ben,<br>
<br>
I can connect to local host through telnet at 19999 ( the output is<br>
exactly as yours).<br>
<br>
There is no log related to xorp in /var/log/ folder, even nothing in<br>
message file (please let me know you think some where else).<br>
Strace on rtrmgr (strace -o str1.txt ./xorp_rtrmgr) while trying to run<br>
xorpsh in another window. I got the following error.<br>
<br>
getsockname(4, {sa_family=AF_INET, sin_port=htons(0),<br>
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0<br>
bind(4, {sa_family=AF_INET, sin_port=htons(19999),<br>
sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EADDRINUSE (Address already<br>
in use)<br>
</blockquote>
<br></div>
Any chance you can attach gdb and add a breakpoint on 'bind' to try to<br>
figure out the backtrace to where this is happening at?<div><div></div><div class="h5"><br>
<br>
Thanks,<br>
Ben<br>
<br>
-- <br>
Ben Greear <<a href="mailto:greearb@candelatech.com" target="_blank">greearb@candelatech.com</a>><br>
Candela Technologies Inc <a href="http://www.candelatech.com" target="_blank">http://www.candelatech.com</a><br>
<br>
</div></div></blockquote></div><br></div></div>