error: netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

"Awadhesh Kumar" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I am using net-snmp 5.4.1. When i start snmpd with command
/usr/local/sbin/snmpd -Dread_config -Dagentx -c
/usr/local/share/snmp/snmpd.conf -x tcp:localhost:705

It shows following error/warning

[root@msatgssoam test]# /usr/local/sbin/snmpd -Dread_config -Dagentx -c
/usr/local/share/snmp/snmpd.conf -x tcp:localhost:705
No log handling enabled - turning on stderr logging
registered debug token read_config, 1
registered debug token agentx, 1
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
agentx_register_app_config_handler: registering .conf token for
"agentxsocket"
agentx_register_app_config_handler: registering .conf token for
"agentxperms"
agentx_register_app_config_handler: registering .conf token for
"agentxRetries"
agentx_register_app_config_handler: registering .conf token for
"agentxTimeout"
[root@msatgssoam test]# read_config: reading premib configuration tokens
read_config:  config path used for
snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp
(persistent path:/var/net-snmp)
read_config:  config dir: /usr/local/etc/snmp
read_config:  Directory not present: /usr/local/etc/snmp
read_config:  config dir: /usr/local/share/snmp
read_config: Reading configuration /usr/local/share/snmp/snmpd.conf
read_config: /usr/local/share/snmp/snmpd.conf:21 examining: master  agentx
read_config: /usr/local/share/snmp/snmpd.conf:26 examining: agentuser  root
read_config: /usr/local/share/snmp/snmpd.conf:31 examining: agentgroup  root
read_config: /usr/local/share/snmp/snmpd.conf:48 examining: syslocation
"HNS, USA"
read_config: /usr/local/share/snmp/snmpd.conf:58 examining: syscontact
[email protected]
read_config: /usr/local/share/snmp/snmpd.conf:77 examining: master  agentx
read_config: /usr/local/share/snmp/snmpd.conf:82 examining: agentuser  root
read_config: /usr/local/share/snmp/snmpd.conf:87 examining: agentgroup  root
read_config: /usr/local/share/snmp/snmpd.conf:101 examining: rwcommunity
gss
read_config: /usr/local/share/snmp/snmpd.local.conf: No such file or
directory
read_config:  config dir: /usr/local/lib/snmp
read_config:  Directory not present: /usr/local/lib/snmp
read_config:  config dir: /root/.snmp
read_config: /root/.snmp/snmpd.conf: No such file or directory
read_config: /root/.snmp/snmpd.local.conf: No such file or directory
read_config:  config path used for snmpd:/var/net-snmp (persistent
path:/var/net-snmp)
read_config:  config dir: /var/net-snmp
read_config: Reading configuration /var/net-snmp/snmpd.conf
read_config: /var/net-snmp/snmpd.conf:32 examining: setserialno 832461785
read_config: /var/net-snmp/snmpd.conf:44 examining: ifXTable .1 14:0 18:0x $
read_config: /var/net-snmp/snmpd.conf:45 examining: ifXTable .2 14:0 18:0x $
read_config: /var/net-snmp/snmpd.conf:46 examining: ifXTable .3 14:0 18:0x $

I have reset the MIBS and MIBDIRS environmental variable with blank and also
rename the folder /usr/local/share/snmp/mibs with
/usr/local/share/snmp/mibs1 but still it is giving same error/warning.

Could you please give me solution to fix this problem.

Thanks
Awadhesh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.