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

Ray Soucy rps at maine.edu
Tue Dec 6 13:45:40 PST 2011


Writing an RC script that cleans up file permissions might help, example:

http://soucy.org/xorp/xorp-1.7-pre/rc.xorp

Also, of interest (though out of date) might be the INSTALL notes for
Ubuntu LTS if you back up a directory.

On Tue, Dec 6, 2011 at 2:31 AM, frank hu <frank.1975.hu at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>



-- 
Ray Soucy

Epic Communications Specialist

Phone: +1 (207) 561-3526

Networkmaine, a Unit of the University of Maine System
http://www.networkmaine.net/



More information about the Xorp-hackers mailing list