[Xorp-users] problem with starting xorp_rtrmgr

Luca Belforte luca.belforte at student.uclouvain.be
Thu Nov 26 14:09:33 PST 2009


hello,

you need to check the click part (or disable it if you don't want to use it)




Luca Belforte


On Thu, Nov 26, 2009 at 9:04 PM, Miroslav Todorovic <
miro_todorovic at yahoo.com> wrote:

>  Hello,
>
> You were right, there was missing fea part. I've changed the config.boot
> file, and now used click.boot file from the rtrmgr/config, as a config.boot
> file. But I encounter anther problem now. Output message is following:
>
>
> [ 2009/11/26 19:20:40  INFO xorp_rtrmgr:4063 RTRMGR +249
> master_conf_tree.cc execute ] Changed modules: interfaces, firewall, fea
> [ 2009/11/26 19:20:40  INFO xorp_rtrmgr:4063 RTRMGR +101 module_manager.cc
> execute ] Executing module: interfaces (fea/xorp_fea)
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] MFEA enabled
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] CLI enabled
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] CLI started
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] MFEA enabled
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] CLI enabled
> [ 2009/11/26 19:20:41 INFO xorp_fea MFEA ] CLI started
> [ 2009/11/26 19:20:42  INFO xorp_rtrmgr:4063 RTRMGR +101 module_manager.cc
> execute ] Executing module: firewall (fea/xorp_fea)
> [ 2009/11/26 19:20:46  INFO xorp_rtrmgr:4063 RTRMGR +101 module_manager.cc
> execute ] Executing module: fea (fea/xorp_fea)
> [ 2009/11/26 19:20:50  ERROR xorp_fea:4064 LIBCOMM +610 comm_sock.c
> comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr =
> 127.0.0.1, remote_port = 13000): Connection refused
> [ 2009/11/26 19:20:50 WARNING xorp_fea FEA ] Could not open user-level
> Click socket: Connection refused. Trying again...
> [ 2009/11/26 19:20:50  ERROR xorp_fea:4064 LIBCOMM +610 comm_sock.c
> comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr =
> 127.0.0.1, remote_port = 13000): Connection refused
> [ 2009/11/26 19:20:50 WARNING xorp_fea FEA ] Could not open user-level
> Click socket: Connection refused. Trying again...
> [ 2009/11/26 19:20:51  ERROR xorp_fea:4064 LIBCOMM +610 comm_sock.c
> comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr =
> 127.0.0.1, remote_port = 13000): Connection refused
> [ 2009/11/26 19:20:51 WARNING xorp_fea FEA ] Could not open user-level
> Click socket: Connection refused. Trying again...
> [ 2009/11/26 19:20:51  ERROR xorp_fea:4064 LIBCOMM +610 comm_sock.c
> comm_sock_connect4 ] Error connecting socket (family = 2, remote_addr =
> 127.0.0.1, remote_port = 13000): Connection refused
> [ 2009/11/26 19:20:51 WARNING xorp_fea XrlFeaTarget ] Handling method for
> fea_click/0.1/start_click failed: XrlCmdError 102 Command failed Could not
> open user-level Click socket: Connection refused
> [ 2009/11/26 19:20:51  ERROR xorp_rtrmgr:4063 RTRMGR +691
> master_conf_tree.cc commit_pass2_done ] Commit failed: 102 Command failed
> Could not open user-level Click socket: Connection refused
> [ 2009/11/26 19:20:51  ERROR xorp_rtrmgr:4063 RTRMGR +261
> master_conf_tree.cc config_done ] Configuration failed: 102 Command failed
> Could not open user-level Click socket: Connection refused
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +2233 task.cc run_task
> ] No more tasks to run
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +176 module_manager.cc
> terminate ] Terminating module: fea
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +176 module_manager.cc
> terminate ] Terminating module: firewall
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +176 module_manager.cc
> terminate ] Terminating module: interfaces
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +199 module_manager.cc
> terminate ] Killing module: interfaces
> [ 2009/11/26 19:20:51  ERROR xorp_rtrmgr:4063 RTRMGR +754 module_manager.cc
> done_cb ] Command "/usr/local/xorp/fea/xorp_fea": terminated with signal 15.
> [ 2009/11/26 19:20:51  INFO xorp_rtrmgr:4063 RTRMGR +287 module_manager.cc
> module_exited ] Module killed during shutdown: interfaces
> root at miroslav-desktop:/home/miroslav#
>
> Are you maybe close to this one?
>
> Thank you a lot!
> Miroslav
>
> From: Luca Belforte <luca.belforte at student.uclouvain.be>
> Subject: Re: [Xorp-users] problem with starting xorp_rtrmgr
> To: "Miroslav Todorovic" <miro_todorovic at yahoo.com>
> Date: Wednesday, November 25, 2009, 4:46 AM
>
>
> try using the exemple included in the config folder in xorp/rtrmgr/config
>
> i think you need to add a "fea" part
>
> Miroslav Todorovic wrote:
> > This is config file that I've used:
> >
> > interfaces {
> >     interface eth0 {
> >         description: "data interface"
> >         disable: false
> >         /* default-system-config */
> >         vif eth0 {
> >             disable: false
> >             address 192.168.40.1 {
> >                 prefix-length: 24
> >                 broadcast:192.168.40.255
> >                 disable: false
> >             }
> >         }
> >     }
> > }
> >
> > When I'm starting virtual machine for the first time, and run
> > xorp_rtrmgr, I am always getting output like this:
> >
> > [ 2009/11/25 13:06:41  INFO xorp_rtrmgr:4234 RTRMGR +249
> > master_conf_tree.cc execute ] Changed modules: interfaces
> > [ 2009/11/25 13:06:41  INFO xorp_rtrmgr:4234 RTRMGR +101
> > module_manager.cc execute ] Executing module: interfaces (fea/xorp_fea)
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] MFEA enabled
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] CLI enabled
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] CLI started
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] MFEA enabled
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] CLI enabled
> > [ 2009/11/25 13:06:42 INFO xorp_fea MFEA ] CLI started
> > [ 2009/11/25 13:06:43  INFO xorp_rtrmgr:4234 RTRMGR +2233 task.cc
> > run_task ] No more tasks to run
> >
> >
> > Thank you!
> >
> >     From: Luca Belforte <luca.belforte at student.uclouvain.be<http://mc/compose?to=luca.belforte@student.uclouvain.be>
> >
> >     Subject: Re: [Xorp-users] problem with starting xorp_rtrmgr
> >     To: "Miroslav Todorovic" <miro_todorovic at yahoo.com<http://mc/compose?to=miro_todorovic@yahoo.com>
> >
> >     Date: Tuesday, November 24, 2009, 10:48 AM
> >
> >     send your config file.
> >     The error appear when a program already use a port. Exemple xorp
> >     already
> >     launched. (or if you use it, click)
> >
> >     Luca
> >
> >     Miroslav Todorovic wrote:
> >     > Thank you!
> >     >
> >     > Actually, I was running  '/usr/local/xorp/bin/xorp_rtrmgr -b
> >     > /usr/local/xorp/config.boot'
> >     > as a superuser. I was running as a root. I've also tried with sudo
> >     > command, but result is the same.
> >     > When I try to use another config.boot file, or to change IP
> >     address in
> >     > config.boot, I also used to get error massagee like this:
> >     >
> >     >  ERROR xorp_rtrmgr:4565 LIBCOMM +312 comm_sock.c comm_sock_bind4 ]
> >     > Error binding socket (family = 2, my_addr = 127.0.0.1, my_port =
> >     > 19999): Address already in use
> >     > [ 2009/11/24 17:37:16  ERROR xorp_rtrmgr:4565 RTRMGR +259
> >     > main_rtrmgr.cc run ] Address already in use: a finder may already
> be
> >     > running.
> >     >
> >     > I'm in doubt if I use a correct config.boot file, or something else
> >     > goes wrong.
> >     >
> >     > Thank you very much for your answer!
> >     > Regards!
> >     > Miroslav
> >     >
> >     >
> >     >
> >     >
> >     >     From: Luca Belforte <luca.belforte at student.uclouvain.be<http://mc/compose?to=luca.belforte@student.uclouvain.be>
> >     </mc/compose?to=luca.belforte at student.uclouvain.be<http://mc/compose?to=luca.belforte@student.uclouvain.be>
> >>
> >     >     Subject: Re: [Xorp-users] problem with starting xorp_rtrmgr
> >     >     To: "Miroslav Todorovic" <miro_todorovic at yahoo.com<http://mc/compose?to=miro_todorovic@yahoo.com>
> >     </mc/compose?to=miro_todorovic at yahoo.com<http://mc/compose?to=miro_todorovic@yahoo.com>
> >>
> >     >     Cc: xorp-users at xorp.org<http://mc/compose?to=xorp-users@xorp.org></mc/compose?to=
> xorp-users at xorp.org <http://mc/compose?to=xorp-users@xorp.org>>
> >     >     Date: Tuesday, November 24, 2009, 4:30 AM
> >     >
> >     >     Hello,
> >     >
> >     >     you need to start it in sudo mode:
> >     >
> >     >     sudo /usr/local/xorp/bin/xorp_rtrmgr -b
> >     /usr/local/xorp/config.boot
> >     >
> >     >     ;)
> >     >     Luca
> >     >
> >     >     Miroslav Todorovic wrote:
> >     >     > Hi everyone!
> >     >     >
> >     >     > I'm new in Xorp and encaunter a problem with starting
> >     xorp_rtrmgr.
> >     >     > I use VMware for virtualisation and I've installed Ubuntu
> >     9.04,
> >     >     kernel
> >     >     > version 2.6.28-11,  as virtual machine.I want to try xorp
> >     on this
> >     >     > Ubuntu virtual machine. After I download xorp-1.6, and
> >     compile it, I
> >     >     > encouter a problem when I try to start xorp_rtrmgr.
> >     >     > I used this file as config.boot:
> >     >     >
> >     >     > interfaces {
> >     >     >     interface eth0 {
> >     >     >         description: "data interface"
> >     >     >         disable: false
> >     >     >         /* default-system-config */
> >     >     >         vif eth0 {
> >     >     >             disable: false
> >     >     >             address 192.168.40.1 {
> >     >     >                 prefix-length: 24
> >     >     >                 broadcast: 192.168.40.255
> >     >     >                 disable: false
> >     >     >             }
> >     >     >         }
> >     >     >     }
> >     >     > }
> >     >     > pe
> >     >     > when i type
> >     >     >
> >     >     > /usr/local/xorp/bin/xorp_rtrmgr -b
> /usr/local/xorp/config.boot
> >     >     >
> >     >     > to start xorp_rtrmgr proces, i get massage like this:
> >     >     >
> >     >     > [ 2009/11/24 12:50:26  INFO xorp_rtrmgr:8533 RTRMGR +249
> >     >     > master_conf_tree.cc execute ] Changed modules: interfaces
> >     >     > [ 2009/11/24 12:50:26  INFO xorp_rtrmgr:8533 RTRMGR +101
> >     >     > module_manager.cc execute ] Executing module: interfaces
> >     >     (fea/xorp_fea)
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] MFEA enabled
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] CLI enabled
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] CLI started
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] MFEA enabled
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] CLI enabled
> >     >     > [ 2009/11/24 12:50:27 INFO xorp_fea MFEA ] CLI started
> >     >     > [ 2009/11/24 12:50:28  INFO xorp_rtrmgr:8533 RTRMGR +2233
> >     task.cc
> >     >     > run_task ] No more tasks to run
> >     >     > ^C[ 2009/11/24 12:51:25  INFO xorp_rtrmgr:8533 RTRMGR
> >     +1024 task.cc
> >     >     > shutdown ] Shutting down module: interfaces
> >     >     > [ 2009/11/24 12:51:25 INFO xorp_fea MFEA ] CLI stopped
> >     >     > [ 2009/11/24 12:51:25 INFO xorp_fea MFEA ] CLI stopped
> >     >     > [ 2009/11/24 12:51:25  INFO xorp_rtrmgr:8533 RTRMGR +280
> >     >     > module_manager.cc module_exited ] Module normal exit:
> >     interfaces
> >     >     > [ 2009/11/24 12:51:26  WARNING xorp_rtrmgr:8533
> >     XrlFinderTarget +407
> >     >     > ../xrl/targets/finder_base.cc handle_finder_0_2_resolve_xrl ]
> >     >     Handling
> >     >     > method for finder/0.2/resolve_xrl failed: XrlCmdError 102
> >     Command
> >     >     > failed Target "fea" does not exist or is not enabled.
> >     >     > [ 2009/11/24 12:51:27  INFO xorp_rtrmgr:8533 RTRMGR +2233
> >     task.cc
> >     >     > run_task ] No more tasks to run
> >     >     >
> >     >     > Could anyone give some advice?
> >     >     > Do I need to use another config.boot file, or to change
> >     >     something else...?
> >     >     > Thank you!
> >     >     >
> >     >     >
> >     >     >
> >     >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >     >
> >     >     > _______________________________________________
> >     >     > Xorp-users mailing list
> >     >     > Xorp-users at xorp.org<http://mc/compose?to=Xorp-users@xorp.org></mc/compose?to=
> Xorp-users at xorp.org <http://mc/compose?to=Xorp-users@xorp.org>>
> >     </mc/compose?to=Xorp-users at xorp.org<http://mc/compose?to=Xorp-users@xorp.org>
> >     </mc/compose?to=Xorp-users at xorp.org<http://mc/compose?to=Xorp-users@xorp.org>
> >>
> >     >     > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> >     >     >
> >     >
> >     >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20091126/d9736cc5/attachment-0001.html 


More information about the Xorp-users mailing list