[Xorp-users] Help with router manager

Emmanuel A. Adigun eadigun at cs.up.ac.za
Tue Jul 3 09:37:02 PDT 2007


i get an even longer, uglier error message...:

[ 2007/07/03 18:16:28  INFO xorp_rtrmgr:7686 RTRMGR +239
master_conf_tree.cc execute ] Changed modules: interfaces, fea, mfea4,
rib, fib2mrib, igmp, pimsm4, policy, rip, static_routes, bgp, ospf4, ospf6
[ 2007/07/03 18:16:29  INFO xorp_rtrmgr:7686 RTRMGR +96 module_manager.cc
execute ] Executing module: interfaces (fea/xorp_fea)
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] MFEA enabled
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] CLI enabled
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] CLI started
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] MFEA enabled
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] CLI enabled
[ 2007/07/03 18:16:29 INFO xorp_fea MFEA ] CLI started
[ 2007/07/03 18:16:31  ERROR xorp_fea:7687 FEA +665 ifconfig_set.cc
push_vif_address ] Interface/Vif/Address error on eth0/eth0/169.254.8.11:
Failed to configure address: AF_NETLINK NLMSG_ERROR message: Operation not
permitted
[ 2007/07/03 18:16:31  ERROR xorp_fea:7687 FEA +578 ifconfig_set.cc
push_vif_address ] Interface/Vif/Address error on eth0/eth0/169.254.8.11:
Failed to delete address: AF_NETLINK NLMSG_ERROR message: Operation not
permitted
[ 2007/07/03 18:16:31  ERROR xorp_fea:7687 FEA +291 ifconfig_set.cc
push_interface_end ] Interface error on eth0: Failed to configure
interface: Permission denied
[ 2007/07/03 18:16:31 WARNING xorp_fea XrlFeaTarget ] Handling method for
ifmgr/0.1/commit_transaction failed: XrlCmdError 102 Command failed
Interface/Vif/Address error on eth0/eth0/169.254.8.11: Failed to configure
address: AF_NETLINK NLMSG_ERROR message: Operation not permitted [Also,
failed to reverse-back to the previous config: Interface/Vif/Address error
on eth0/eth0/169.254.8.11: Failed to delete address: AF_NETLINK
NLMSG_ERROR message: Operation not permitted]
[ 2007/07/03 18:16:31  ERROR xorp_rtrmgr:7686 RTRMGR +675
master_conf_tree.cc commit_pass2_done ] Commit failed: 102 Command failed
Interface/Vif/Address error on eth0/eth0/169.254.8.11: Failed to configure
address: AF_NETLINK NLMSG_ERROR message: Operation not permitted [Also,
failed to reverse-back to the previous config: Interface/Vif/Address error
on eth0/eth0/169.254.8.11: Failed to delete address: AF_NETLINK
NLMSG_ERROR message: Operation not permitted]
[ 2007/07/03 18:16:31  ERROR xorp_rtrmgr:7686 RTRMGR +251
master_conf_tree.cc config_done ] Configuration failed: 102 Command failed
Interface/Vif/Address error on eth0/eth0/169.254.8.11: Failed to configure
address: AF_NETLINK NLMSG_ERROR message: Operation not permitted [Also,
failed to reverse-back to the previous config: Interface/Vif/Address error
on eth0/eth0/169.254.8.11: Failed to delete address: AF_NETLINK
NLMSG_ERROR message: Operation not permitted]
[ 2007/07/03 18:16:31  INFO xorp_rtrmgr:7686 RTRMGR +2228 task.cc run_task
] No more tasks to run
[ 2007/07/03 18:16:31  INFO xorp_rtrmgr:7686 RTRMGR +171 module_manager.cc
terminate ] Terminating module: interfaces
[ 2007/07/03 18:16:31  INFO xorp_rtrmgr:7686 RTRMGR +194 module_manager.cc
terminate ] Killing module: interfaces
[ 2007/07/03 18:16:31  ERROR xorp_rtrmgr:7686 RTRMGR +747
module_manager.cc done_cb ] Command
"/home/ayowole/Desktop/xorp-1.4/fea/xorp_fea": terminated with signal 15.
[ 2007/07/03 18:16:31  INFO xorp_rtrmgr:7686 RTRMGR +282 module_manager.cc
module_exited ] Module killed during shutdown: interfaces

Is it possible to set permissions in the config file?
Does it matter if the computer is a standalone computer, that is, if i 
manually type in an IP address-and the address is used in the config file?
I'm connected to a LAN but i found out that if i use my DHCP assigned IP
address when i run the router manager my computer acts as a router on our
network!

> try commenting out the discard interface setting
>
> adam
>
> On 7/3/07, Emmanuel A. Adigun <eadigun at cs.up.ac.za> wrote:
>> Basic Config file used is attached below:
>>
>> interfaces {
>>     restore-original-config-on-shutdown: false
>>     interface eth0 {
>>         description: "data interface"
>>         disable: false
>>         /* default-system-config */
>>         vif eth0 {
>>             disable: false
>>             address 169.254.8.11 {
>>                 prefix-length: 24
>>                 broadcast: 169.254.255.255
>>                 disable: false
>>             }
>>         }
>>     }
>>
>>     interface discard0 {
>>         description: "discard interface"
>>         disable: false
>>         discard: true
>>         vif discard0 {
>>             disable: false
>>             address 169.254.8.12 {
>>                 prefix-length: 32
>>                 disable: false
>>             }
>>         }
>>     }
>> }
>>
>> fea {
>>     unicast-forwarding4 {
>>         disable: false
>>         forwarding-entries {
>>             retain-on-startup: false
>>             retain-on-shutdown: false
>>         }
>>     }
>> }
>>
>> protocols {
>>     static {
>>         route 169.254.0.0/16 {
>>             next-hop: 169.254.8.1
>>             metric: 1
>>
>>         }
>>         mrib-route 169.254.0.0/16 {
>>             next-hop: 169.254.8.30
>>             metric: 1
>>         }
>>
>>     }
>> }
>>
>> Thanks
>>
>>
>> > I think you need to attach your config file to a post to the list.
>> >
>> > adam
>> >
>> > On 7/3/07, Emmanuel A. Adigun <eadigun at cs.up.ac.za> wrote:
>> >> I have but seem to come up with the same error message and I'm also
>> >> running
>> >> under the XORP UNIX group.
>> >>
>> >> -----Original Message-----
>> >> From: adam.greenhalgh at gmail.com [mailto:adam.greenhalgh at gmail.com] On
>> >> Behalf
>> >> Of Adam Greenhalgh
>> >> Sent: 03 July 2007 04:45 PM
>> >> To: Emmanuel A. Adigun
>> >> Cc: xorp-users at xorp.org
>> >> Subject: Re: [Xorp-users] Help with router manager
>> >>
>> >> Have you tried running as root ? It seems to fail when it tries to
>> >> config the interfaces .
>> >>
>> >> Adam
>> >>
>> >> On 7/3/07, Emmanuel A. Adigun <eadigun at cs.up.ac.za> wrote:
>> >> > Hi,
>> >> >
>> >> > I just started using XORP and i've read all the accompanying
>> >> documentation
>> >> > but i just can't seem to start the router manager. The log is
>> attached
>> >> > below.
>> >> >
>> >> > I've modified the configuration file to work in my network
>> environment
>> >> as
>> >> > specified in the the manual and getting started docs but i get the
>> >> same
>> >> > error message and it looks like the XORPSH won't start unless the
>> >> router
>> >> > manager is running.
>> >> > Another thing is i don't know what the xrlrouter has to do with it?
>> Is
>> >> > there a seperate config file for the xrl router that must be
>> modified?
>> >> >
>> >> > Thanks in anticipation.
>> >> > Emmanuel
>> >> >
>> >> > The logs are as follows:
>> >> >
>> >> > *starting up routing manager by invoking-xorp_rtrmgr*
>> >> >
>> >> > [ 2007/07/03 16:18:34  INFO xorp_rtrmgr:5894 RTRMGR +239
>> >> > master_conf_tree.cc execute ] Changed modules: interfaces, fea,
>> mfea4,
>> >> > rib, fib2mrib, igmp, pimsm4, policy, rip, static_routes, bgp,
>> ospf4,
>> >> ospf6
>> >> > [ 2007/07/03 16:18:34  INFO xorp_rtrmgr:5894 RTRMGR +96
>> >> module_manager.cc
>> >> > execute ] Executing module: interfaces (fea/xorp_fea)
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] MFEA enabled
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] CLI enabled
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] CLI started
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] MFEA enabled
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] CLI enabled
>> >> > [ 2007/07/03 16:18:35 INFO xorp_fea MFEA ] CLI started
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_fea:5895 FEA +665 ifconfig_set.cc
>> >> > push_vif_address ] Interface/Vif/Address error on
>> >> eth0/eth0/169.254.8.11:
>> >> > Failed to configure address: AF_NETLINK NLMSG_ERROR message:
>> Operation
>> >> not
>> >> > permitted
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_rtrmgr:5894 RTRMGR +747
>> >> > module_manager.cc done_cb ] Command
>> >> > "/home/ayowole/Desktop/xorp-1.4/fea/xorp_fea": terminated with
>> signal
>> >> 11;
>> >> > aborted with a core dump.
>> >> > [ 2007/07/03 16:18:36  INFO xorp_rtrmgr:5894 RTRMGR +291
>> >> module_manager.cc
>> >> > module_exited ] Module coredumped: interfaces
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_rtrmgr:5894 RTRMGR +1400 task.cc
>> >> > execute_done ] 210 Transport failed
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_rtrmgr:5894 RTRMGR +1998 task.cc
>> >> > task_fail ] Shutting down fatally wounded process (interfaces)
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_rtrmgr:5894 RTRMGR +675
>> >> > master_conf_tree.cc commit_pass2_done ] Commit failed: 210
>> Transport
>> >> > failed
>> >> > [ 2007/07/03 16:18:36  ERROR xorp_rtrmgr:5894 RTRMGR +251
>> >> > master_conf_tree.cc config_done ] Configuration failed: 210
>> Transport
>> >> > failed
>> >> > [ 2007/07/03 16:18:36  INFO xorp_rtrmgr:5894 RTRMGR +2228 task.cc
>> >> run_task
>> >> > ] No more tasks to run
>> >> >
>> >> > *Starting up XORPSH*
>> >> >
>> >> > [ 2007/07/03 16:19:06 WARNING xorpsh RTRMGR ] [Operational Command
>> >> File:
>> >> > /home/ayowole/Desktop/xorp-1.4/etc/templates/misc.cmds line 29]:
>> >> > Executable file not found: traceroute
>> >> > Waiting for xorp_rtrmgr...
>> >> > [ 2007/07/03 16:19:35  ERROR xorpsh:5898 RTRMGR +90 xorpsh_main.cc
>> >> > wait_for_xrl_router_ready ] XrlRouter failed.  No Finder?
>> >> > [ 2007/07/03 16:19:35  ERROR xorpsh:5898 RTRMGR +897 xorpsh_main.cc
>> >> main ]
>> >> > xorpsh exiting due to an init error: Failed to connect to the
>> router
>> >> > manager
>> >> >
>> >> > _______________________________________________
>> >> > Xorp-users mailing list
>> >> > Xorp-users at xorp.org
>> >> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>> >> >
>> >>
>> >>
>> >>
>> >
>>
>>
>> _______________________________________________
>> Xorp-users mailing list
>> Xorp-users at xorp.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>>
>




More information about the Xorp-users mailing list