[Xorp-users] failed to re-start xorpsh

Ram ramkumar.ch03 at gmail.com
Fri Mar 26 08:24:37 PDT 2010


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             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.

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).

stat64("/usr/local/xorp/lib/xorp/bin/ping", 0xbfbb1f80) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/xorp/ping", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/kerberos/sbin/ping", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/kerberos/bin/ping", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/sbin/ping", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/bin/ping", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/sbin/ping", 0xbfbb1f80)        = -1 ENOENT (No such file or
directory)
stat64("/bin/ping", {st_mode=S_IFREG|S_ISUID|0755, st_size=36264, ...}) = 0
stat64("/usr/local/xorp/lib/xorp/bin/ping6", 0xbfbb1f80) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/xorp/ping6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/kerberos/sbin/ping6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/kerberos/bin/ping6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/sbin/ping6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/bin/ping6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/sbin/ping6", 0xbfbb1f80)       = -1 ENOENT (No such file or
directory)
stat64("/bin/ping6", {st_mode=S_IFREG|S_ISUID|0755, st_size=31292, ...}) = 0
stat64("/usr/local/xorp/lib/xorp/bin/traceroute", 0xbfbb1f80) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/xorp/traceroute", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/usr/kerberos/sbin/traceroute", 0xbfbb1f80) = -1 ENOENT (No such
file or directory)
stat64("/usr/kerberos/bin/traceroute", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/sbin/traceroute", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/bin/traceroute", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)
stat64("/sbin/traceroute", 0xbfbb1f80)  = -1 ENOENT (No such file or
directory)
stat64("/bin/traceroute", {st_mode=S_IFREG|0755, st_size=47752, ...}) = 0
stat64("/usr/local/xorp/lib/xorp/bin/traceroute6", 0xbfbb1f80) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/xorp/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/usr/kerberos/sbin/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such
file or directory)
stat64("/usr/kerberos/bin/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/sbin/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/bin/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such file
or directory)
stat64("/sbin/traceroute6", 0xbfbb1f80) = -1 ENOENT (No such file or
directory)

In my Vhost, there is no above files.  Does  any one have any idea what all
these?

FYI
-bash-3.2# find / -name ping*
/usr/sbin/ping6
/bin/ping
/bin/ping6
-bash-3.2# find / -name *tracerou*
/bin/traceroute6
/bin/traceroute

Thanks,
-- Ram

On Thu, Mar 25, 2010 at 1:24 PM, Ben Greear <greearb at candelatech.com> wrote:

> On 03/25/2010 01:23 AM, Ram wrote:
>
>> Hi All,
>>
>>  I have couple of questions.
>>
>> 1.If i changed the configuration by entering into configure mode by
>> using SET and DELETE commands, In which file these changes save after
>> commit command?
>>     In case if i need to restart rtrmgr, Can i point rtrmgr to load
>> that changed file?
>>
>
> Looks like you can do 'configure' from within xorpsh and
> then do 'save foo.conf'.
>
>
>  2.  How can use -v (verbose) option for "./xorpsh" and "./xorp_rtrmgr"
>> commands?
>>    I tried "./xorpsh -v". Nothing got different in output from ./xorpsh
>> command.
>>
>
> I have lots of output in 'xorpsh -v' on my system.
>
> If it can't connect to the rtrmgr, it probably won't print anything
> out though.
>
> Please compare the environment variables.  Maybe you are setting
> the XORP_FINDER_SERVER_PORT differently?
>
> You can try strace to see if it's attempting to open the socket with the
> same port on the instance that works and the one that doesn't.
>
> 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/96bb7668/attachment.html 


More information about the Xorp-users mailing list