On 12/06/2011 11:14 AM, frank hu wrote:
>
> Thanks for the kind help!
> It still has the same error even after I switched to use "xorp_install.bash" 
> script. My bad in my earlier email not clearly saying the usage of "sudo" in
> "chmod" and "chown". I did run "chmod" and "chown" as super user. otherwise, 
> the command will just fail.
> I tried to use xorp_install script and found that it has some extra info. It 
> tried to add the user "lanforge" to the group "xorp". I didn't see that it was
> documented anywhere in xorp.net <http://xorp.net/>. So is it really 
> necessary?  I also saw the script tried to add the user "xorp" to the root 
> group. Is that
> necessary as well?

The lanforge user is not needed by general users...but the xorp user and xorp 
group is.

> $xorpsh
> .... many errors...
> [ 2011/12/06 08:44:04.691433  ERROR xorpsh:16580 XRL 
> libxipc/xrl_router.cc:478 lookup_sender ] Could not create XrlPFSender for 
> protocol = "unix" address =
> ":var:tmp:xrl.NZn6th"
> [ 2011/12/06 08:44:04.691746  ERROR xorpsh:16580 LIBCOMM 
> libcomm/comm_user.c:886 comm_connect_unix ] Error connecting to unix socket.  
> Path:
> /var/tmp/xrl.iE6G21.  Error: Permission deniedKilled
> "
> I checked the unix socket file /var/tmp/xrl.iE6G21.
> "
> $ ls -l /var/tmp/xrl.iE6G21
> srwxrwxr-x 1 root xorp 0 2011-12-06 08:39 /var/tmp/xrl.iE6G21
> $ cat /etc/group | grep xorp
> root:x:0:xorp
> xorp:x:1001:feng,root,xorp,lanforge
> feng@feng-desktop:~$ <mailto:feng@feng-desktop:~$>
> "
>
> Anyway, I figured out a possible way to get xorp to work.... Instead of 
> running xorpsh as a normal user "feng", I tried to run it as a normal user 
> "xorp" and
> then it gave me the CLI interfaces..

Yes.  Whatever runs xorpsh must be in the xorp group and have permissions to 
read/write
in the /var/tmp/ directory.  You could try adding 'feng' to the xorp group...

Thanks,
Ben



-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to