[Xorp-users] How to Launching Net-SNMP via the router manager?

jjw0927 jjw0927 at 126.com
Sun May 10 18:58:36 PDT 2009


Hi all,

I have installed XORP-1.6-RC and Net-SNMP-5.4.2.1. And Both of them have been compiled. 
I have configured the Net-snmp and XORP according the files of "${XORP}/mibs/snmpdscripts/README" and "XORP SNMP Agent 1.6.pdf".

And now I want to launch Net-SNMP via the router manager, but it failed. Below is the output when I run the command "sudo ./xorp_rtrmgr -b config.boot" in terminal:

[ 2009/05/11 09:27:59  INFO xorp_rtrmgr:3574 RTRMGR +249 master_conf_tree.cc
execute ] Changed modules: xorp_if_mib
[ 2009/05/11 09:27:59  INFO xorp_rtrmgr:3574 RTRMGR +101 module_manager.cc
execute ] Executing module: xorp_if_mib (mibs/snmpdscripts/startsnmp)
No log handling enabled - turning on stderr logging
registered debug token xorp_if_mib_module, 1
registered debug token dlmod, 1
registered debug token usmUser, 1
dlmod:
register mib
dlmod:
dlmod_path: /usr/local/lib/snmp/dlmod
dlmod:
dlmod_create_module
dlmod:
dlmod_load_module xorp_if_mib_module:
/usr/local/src/xorp-1.6-RC/mibs/.libs/xorp_if_mib_module.so
xorp_if_mib_module:
XorpIfMib created
xorp_if_mib_module:
Initialized...
Turning on AgentX master support.
NET-SNMP version 5.4.2.1
dlmod:
dlmod_create_module
dlmod:
dlmod_load_module bgp4_mib_1657: /usr/local/xorp/mibs/.libs/bgp4_mib_1657.so
[ 2009/05/11 09:28:01 WARNING snmpd XrlXorpIfMibTarget ] Handling method for
xorp_if_mib/0.1/load_mib failed: XrlCmdError 102 Command failed
[ 2009/05/11 09:28:01  ERROR xorp_rtrmgr:3574 RTRMGR +691 master_conf_tree.cc
commit_pass2_done ] Commit failed: 102 Command failed
[ 2009/05/11 09:28:01  ERROR xorp_rtrmgr:3574 RTRMGR +261 master_conf_tree.cc
config_done ] Configuration failed: 102 Command failed
[ 2009/05/11 09:28:01  INFO xorp_rtrmgr:3574 RTRMGR +2233 task.cc run_task ]
No more tasks to run
[ 2009/05/11 09:28:01  INFO xorp_rtrmgr:3574 RTRMGR +176 module_manager.cc
terminate ] Terminating module: xorp_if_mib
[ 2009/05/11 09:28:01  INFO xorp_rtrmgr:3574 RTRMGR +199 module_manager.cc
terminate ] Killing module: xorp_if_mib
Received TERM or STOP signal...  shutting down...
No log handling enabled - turning on stderr logging
xorp_if_mib_module:
Unloaded...
xorp_if_mib_module:
XorpIfMib destroyed
dlmod:
Module xorp_if_mib_module unloaded
[ 2009/05/11 09:28:01  ERROR xorp_rtrmgr:3574 RTRMGR +754 module_manager.cc
done_cb ]Command "/usr/local/src/xorp-1.6-RC/mibs/snmpdscripts/startsnmp":
terminated with signal 15.
[ 2009/05/11 09:28:01  INFO xorp_rtrmgr:3574 RTRMGR +287 module_manager.cc
module_exited ] Module killed during shutdown: xorp_if_mib 

And Below is the content of "config.boot" I used to run rtrmgr:

protocols {
    snmp {
    mib-module bgp4_mib_1657 {
        abs-path: "/usr/local/xorp/mibs/.libs/bgp4_mib_1657.so"
    }
    }
}

I do not know what is wrong in my configuration, your help is appreciated for me.

Thank you very much!

Best Regard
Jianwu Jin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090511/b2c843c7/attachment.html 


More information about the Xorp-users mailing list