[Xorp-users] Newbie: trouble getting XORP started

Pavlin Radoslavov pavlin@icir.org
Sat, 22 Jan 2005 03:48:55 -0800


> I think that what is happening is that XORP is trying to access 
> /proc/sys/net/ipv6/conf/all/forwarding file for reading and you need root 
> priviliges for doing it.

If that file is on the system, by default (at least on RedHat) you
don't need root permission to read it.

I guess what happens is that the "./configure" check has decided
that the system has IPv6 enabled (the check is basically a simple
program that tries to create "socket(AF_INET6, SOCK_STREAM, 0)"),
hence the XORP code is compiled with "#define HAVE_IPV6 1".
Assuming that the compiled XORP binaries are run on the same system,
somehow that system doesn't have file
/proc/sys/net/ipv6/conf/all/forwarding.

Hence, please try to find why that file is not there. E.g., do you
have any other files under /proc/sys/net/ipv6?

Regards,
Pavlin

> 
> I hope this would help you.
> 
> El Viernes, 21 de Enero de 2005 18:20, videoip videoip escribió:
> > Hi, I´m trying to run XORP under Mandrake Linux and I get the
> > following errors and warnings:
> >
> > [ 2005/01/21 04:40:15  ERROR xorp_fea:2568 FEA +565 fticonfig.cc
> > unicast_forward ing_enabled6 ] Cannot open file
> > /proc/sys/net/ipv6/conf/all/forwarding for readi ng: No such file or
> > directory
> > [ 2005/01/21 04:40:15  FATAL xorp_fea:2568 FEA +77 fticonfig.cc FtiConfig ]
> > Cann [ 2005/01/21 04:40:16  WARNING xorp_rtrmgr:2567 XrlFinderTarget +406
> > finder_base