[Xorp-users] failed to re-start xorpsh

Ben Greear greearb at candelatech.com
Fri Mar 26 09:23:54 PDT 2010


On 03/26/2010 08:24 AM, Ram wrote:
> Thank you Ben.
>
> May be you are correct about " ./xorpsh -v", in my system xorpsh  failed
> to start.
>
>   I already straced ./xorpsh, and sent to the xorp mailing list. But my
> mail is not posted to mailing list ( due to big size waiting for admin
> approval).
>
> First, i did not set any port while installation.
>
>   In trace, i checked with Port number as you mentioned. Xorpsh is
> trying to bind to same port which finder is listening.
>
> -bash-3.2# netstat -n -l -p -t -u
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address               Foreign Address
>      State       PID/Program name
> tcp        0      0 127.0.0.1:19999 <http://127.0.0.1:19999>
> 0.0.0.0:*                   LISTEN      12118/xorp_fea
>
>
> getsockname(24, {sa_family=AF_INET, sin_port=htons(0),
> sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
> connect(24, {sa_family=AF_INET, *sin_port=htons(19999)*,
> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in
> progress)
> After some time it (xorpsh) is terminating.

That's good information.  Either xorpsh isn't handling delayed
accept (ie, EINPROGRESS) or maybe the rtrmgr isn't accepting new
connections properly.

Can you telnet to that port to see of rtrmgr properly allows
connection?:

telnet localhost 19999

Maybe also strace on rtrmgr while you are attempting xorpsh connect to
see if it ever sees the connection and accepts it?

Here's what I get (I'm running rtrmgr on port 4501 in this case):

[root at ct503-10G-09 lanforge]# telnet localhost 4501
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hello
Connection closed by foreign host.

Here is what I see in the logs:
[ 2010/03/26 09:21:47.581267  ERROR xorp_rtrmgr:18204 FINDER libxipc/finder_tcp.cc:170 read_callback ] Bad input buffer size (1751477356 bytes) from wire, 
dropping connection


Please check to see if you get similar results.


> In strace output i found many "no such file or directory" errors. For
> sample, few lines are below ( if you need any thing let me know).

Those are probably not the problem.

Thanks,
Ben

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



More information about the Xorp-users mailing list