[Xorp-users] xorpsh exiting due to an init error

naresh raga naresh_raga at yahoo.co.in
Thu Aug 6 14:27:15 PDT 2009



-



> Hi friends,
> I have successfully cross-compiled xorp-1.4 using
> crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2 and following the
> steps in BUILD_NOTES.This is cross-compiler for TS-7300 arm-kit provided
> by the board manufacturers.The kit had 2.4.26 kernel running on it.My
> host machine is x86 running ubuntu 8.04. When I am running
> ./xorp_rtrmgr(on kit) I am getting an error :\
>
> [ERROR xorp_rtrmgr:9803 RTRMGR +210 main_rtrmgr.cc run] Shutting down
> due to an init error:Error reading XRL directory
> /usr/local/xorp/xrl/targets:No such file or directory.
>
> There is no problem with the cross-compiler because I have checked it
> with a
 cross-compiled hello.c program.The executable succesfully runs on
> the kit.
> I am unable to understand the error.

Well, does that directory exist?

[root at lanforge-D0-20 ~]# ls /usr/local/xorp/xrl/targets/
bgp4_mib.xrls          ospfv2.xrls          static_routes.xrls
bgp.xrls               ospfv3.xrls          test_fea_ifmgr_mirror.xrls
cli.xrls               pim.xrls             test_fea_rawlink.xrls
coord.xrls             policy.xrls          test_finder_events.xrls
fea_ifmgr_mirror.xrls  profiler.xrls        test_peer.xrls
fea.xrls               ribclient.xrls   
    test_socket4.xrls
fib2mrib.xrls          rib.xrls             test_socket6.xrls
finder_client.xrls     ripng.xrls           test.xrls
finder.xrls            rip.xrls             test_xrls.xrls
mfea.xrls              rtrmgr.xrls          vrrp.xrls
mld6igmp.xrls          show_distances.xrls  xorp_if_mib.xrls
olsr4.xrls             show_routes.xrls     xorpsh.xrls

Ben

 I have cross-compiled xorp.I am unable to find /usr/local/xorp/ neither on my host system nor on my target kit.What I have done is copied the xrl folder in xorp-1.4(cross-compiled) to /usr/local/xorp/xrl/ on
 my target kit..But now I am facing new error when I run ./xorp_rtrmgr

[ERROR xorp_rtrmgr:4671 XRL +634 xrl_router.cc wait_until_xrl_router_is_ready] XrlRouter failed. No Finder?

What is meant by this?

Thanks,
Naresh.



       



      Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090807/882dbc4d/attachment.html 


More information about the Xorp-users mailing list