[Xorp-hackers] XORP beginner question: xorpsh has some connect problem

frank hu frank.1975.hu at gmail.com
Mon Dec 5 23:31:43 PST 2011


Hi, XORP hackers,

This is Frank. I am new to XORP and plan to look into its multicast routing
implementation. I got the current 1.8.4 source code and did the following
on my pc running Ubuntu 10.04 LTS.

1. scons

2. sudo scons install

3. Followed the "Getting Started" guide to prepare the system to run xorp.
sudo groupadd xorp
sudo usermod -a -G xorp root

4. edit a simple /etc/xorp/config.boot as below
$ cat /etc/xorp/config.boot
interfaces {
}
rtrmgr {
    config-directory: "/etc/xorp/"
}
5. sudo /usr/local/xorp/sbin/xorp_rtrmgr -d -P /var/run/xorp.pid -l
/var/log/xorp -b /etc/xorp/config.boot
I noticed that the xorp_rtrmgr daemon was running after step 5 is done.

6.     chmod 775 /var/tmp/xrl.*
    chown root:xorp /var/tmp/xrl.*
7. /usr/local/xorp/sbin/xorpsh but got the following errors.
ERROR: Failed chown on path: /var/tmp/xrl.iz5lxV error: Operation not
permitted
ERROR: Failed chown on path: /var/tmp/xrl.cw43Rc error: Operation not
permitted
[ 2011/12/05 22:28:15.420771 WARNING xorpsh RTRMGR ] [Operational Command
File: /usr/local/xorp/share/xorp/templates/misc.cmds line 29]: Executable
file not found: traceroute
[ 2011/12/05 22:28:15.432103 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0  total-len: 4 error: Connection refused
[ 2011/12/05 22:28:15.532117 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0  total-len: 4 error: Connection refused
[ 2011/12/05 22:28:15.632228 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0  total-len: 4 error: Connection refused
Any hints? I think that I created the necessary group "xorp" and added the
user "root" to that group. Also the normal user "feng" is added to the
group "xorp". "xorpsh" is launched as the normal user.

"
cat /etc/group | grep xorp
xorp:x:1001:feng,root
"

Thanks a lot for any help!!

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20111205/a15b84e5/attachment.html 


More information about the Xorp-hackers mailing list