Re: [mpls-linux-general] problem with Fedora 8 and precompiled rpm files mpls 1961
Status: Beta
Brought to you by:
jleu
From: Adrian P. <adr...@gm...> - 2008-07-13 16:42:40
|
In fedora, when you switch to root account by using 'su', it doesn't automatically give you the $PATH variable you would have as root, so /sbin isn't in the path. To get this path, use 'su -' instead... On Sat, Jul 12, 2008 at 8:59 PM, James R. Leu <jl...@mi...> wrote: > Then your path is horked up. Until you fix your path you will need > to specify the full path to it: > > /sbin/mpls nhlfe add key 0 instructions push gen 1000 nexthop eth0 ipv4 > 192.168.1.1 > /sbin/mpls nhlfe show > /sbin/ip route add 10.0.0.0/8 via 192.168.1.1 mpls 0x2 > > On Sat, Jul 12, 2008 at 02:45:54PM +0200, =?ISO-8859-1?Q?Jes=FAs_Nubiola_ > wrote: > > It's listed! > > > > > > output: > > [root@localhost Desktop]# rpm -ql iproute > > /etc/iproute2 > > /etc/iproute2/ematch_map > > /etc/iproute2/rt_dsfield > > /etc/iproute2/rt_protos > > /etc/iproute2/rt_realms > > /etc/iproute2/rt_scopes > > /etc/iproute2/rt_tables > > /etc/sysconfig/cbq > > /etc/sysconfig/cbq/avpkt > > /etc/sysconfig/cbq/cbq-0000.example > > /sbin/cbq > > /sbin/ifcfg > > /sbin/ip > > /sbin/mpls > > /sbin/rtmon > > /sbin/tc > > /usr/lib/tc > > /usr/lib/tc/normal.dist > > /usr/lib/tc/pareto.dist > > /usr/lib/tc/paretonormal.dist > > /usr/sbin/arpd > > /usr/sbin/lnstat > > /usr/sbin/nstat > > /usr/sbin/rtacct > > /usr/sbin/ss > > /usr/share/doc/iproute-2.6.22 > > /usr/share/doc/iproute-2.6.22/README.cbq > > /usr/share/doc/iproute-2.6.22/README.decnet > > /usr/share/doc/iproute-2.6.22/README.iproute2+tc > > /usr/share/doc/iproute-2.6.22/RELNOTES > > /usr/share/doc/iproute-2.6.22/api-ip6-flowlabels.ps > > /usr/share/doc/iproute-2.6.22/arpd.ps > > /usr/share/doc/iproute-2.6.22/examples > > /usr/share/doc/iproute-2.6.22/examples/README.cbq > > /usr/share/doc/iproute-2.6.22/examples/SYN-DoS.rate.limit > > /usr/share/doc/iproute-2.6.22/examples/cbq.init-v0.7.3 > > /usr/share/doc/iproute-2.6.22/examples/cbqinit.eth1 > > /usr/share/doc/iproute-2.6.22/examples/dhcp-client-script > > /usr/share/doc/iproute-2.6.22/examples/diffserv > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge1 > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge2 > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge31-ca-u32 > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge31-cb-chains > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge32-ca-u32 > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge32-cb-chains > > /usr/share/doc/iproute-2.6.22/examples/diffserv/Edge32-cb-u32 > > /usr/share/doc/iproute-2.6.22/examples/diffserv/README > > /usr/share/doc/iproute-2.6.22/examples/diffserv/afcbq > > /usr/share/doc/iproute-2.6.22/examples/diffserv/ef-prio > > /usr/share/doc/iproute-2.6.22/examples/diffserv/efcbq > > /usr/share/doc/iproute-2.6.22/examples/diffserv/regression-testing > > /usr/share/doc/iproute-2.6.22/ip-cref.ps > > /usr/share/doc/iproute-2.6.22/ip-tunnels.ps > > /usr/share/doc/iproute-2.6.22/nstat.ps > > /usr/share/doc/iproute-2.6.22/rtstat.ps > > /usr/share/doc/iproute-2.6.22/ss.ps > > /usr/share/man/man8/ip.8.gz > > /usr/share/man/man8/lnstat.8.gz > > /usr/share/man/man8/rtmon.8.gz > > /usr/share/man/man8/ss.8.gz > > /usr/share/man/man8/tc-bfifo.8.gz > > /usr/share/man/man8/tc-cbq-details.8.gz > > /usr/share/man/man8/tc-cbq.8.gz > > /usr/share/man/man8/tc-htb.8.gz > > /usr/share/man/man8/tc-pfifo.8.gz > > /usr/share/man/man8/tc-pfifo_fast.8.gz > > /usr/share/man/man8/tc-prio.8.gz > > /usr/share/man/man8/tc-red.8.gz > > /usr/share/man/man8/tc-sfq.8.gz > > /usr/share/man/man8/tc-tbf.8.gz > > /usr/share/man/man8/tc.8.gz > > > > > > > > On Sat, Jul 12, 2008 at 4:50 AM, James R. Leu <jl...@mi...> > wrote: > > > > > Do a 'rpm -ql iproute' > > > > > > If it does not list '/sbin/mpls' then something is seriously wrong > > > with your RPM database. > > > > > > On Fri, Jul 11, 2008 at 04:09:51PM +0200, > =?ISO-8859-1?Q?Jes=FAs_Nubiola_ > > > wrote: > > > > Hi all, > > > > > > > > I just have moved to Fedora 8 to avoid some problems with Fedora 9... > > > I've > > > > downloaded all the fc8.rpm files from mpls 1961. I've ionstalled the > new > > > > kernel an all the packets but when I try to launch mpls command it > > > launches > > > > me an error. > > > > > > > > Here is the output: > > > > > > > > > > > > [root@localhost Desktop]# uname -r > > > > 2.6.25.4-10.fc8.mpls.1.961 > > > > [root@localhost Desktop]# rpm -ivh *.rpm --oldpackage > > > > Preparing... > ########################################### > > > > [100%] > > > > package iptables-1.3.8-7.fc8.mpls.1.961.i386 is already > installed > > > > package ebtables-2.0.8-3.fc8.mpls.1.961.i386 is already > installed > > > > package iproute-2.6.22-2.fc8.mpls.1.961.i386 is already > installed > > > > package iptables-devel-1.3.8-7.fc8.mpls.1.961.i386 is already > > > > installed > > > > package iptables-ipv6-1.3.8-7.fc8.mpls.1.961.i386 is already > > > > installed > > > > package kernel-2.6.25.4-10.fc8.mpls.1.961.i686 is already > > > installed > > > > package kernel-devel-2.6.25.4-10.fc8.mpls.1.961.i686 is > already > > > > installed > > > > package kernel-headers-2.6.25.4-10.fc8.mpls.1.961.i386 is > already > > > > installed > > > > [root@localhost Desktop]# rpm -Uvh *.rpm --oldpackage > > > > Preparing... > ########################################### > > > > [100%] > > > > package iptables-1.3.8-7.fc8.mpls.1.961.i386 is already > installed > > > > package ebtables-2.0.8-3.fc8.mpls.1.961.i386 is already > installed > > > > package iproute-2.6.22-2.fc8.mpls.1.961.i386 is already > installed > > > > package iptables-devel-1.3.8-7.fc8.mpls.1.961.i386 is already > > > > installed > > > > package iptables-ipv6-1.3.8-7.fc8.mpls.1.961.i386 is already > > > > installed > > > > package kernel-2.6.25.4-10.fc8.mpls.1.961.i686 is already > > > installed > > > > package kernel-devel-2.6.25.4-10.fc8.mpls.1.961.i686 is > already > > > > installed > > > > package kernel-headers-2.6.25.4-10.fc8.mpls.1.961.i386 is > already > > > > installed > > > > [root@localhost Desktop]# mpls > > > > bash: mpls: command not found > > > > [root@localhost Desktop]# > > > > > > > > > > > > What's wrong? > > > > > > > > ------------------------------------------------------------------------- > > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > > Studies have shown that voting for your favorite open source project, > > > > along with a healthy diet, reduces your potential for chronic > lameness > > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > > _______________________________________________ > > > > mpls-linux-general mailing list > > > > mpl...@li... > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > > > > > -- > > > James R. Leu > > > jl...@mi... > > > > > -- > James R. Leu > jl...@mi... > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > |