Hello again, I am running on Solaris 9.
I installed net-snmp-5.4.1 a couple of months back, turned off the native snmpdx (sun's native daemon),created snmpd.conf using snmpconf, and then was able to start snmpd without any problems ( snmpd &). However, today, after repeating the steps above, upon attempting to start snmpd and looking in the /var/log/snmpd.log file, I get the following message: "netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 Warning: no access control information configured. (HUH??) It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for th is agent. NET-SNMP version 5.4.1" So, as suggested, I recreated "snmpd.conf", using snmpconf as I did before. Below is the resulting snmpd.conf: ######################################################################## ### # # snmpd.conf # # - created by the snmpconf configuration program # ######################################################################## ### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation Cambridge,MA # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "Randy 5-1901" # Turn on Master Agent X Support master agentx AgentXSocket tcp:localhost:706 ######################################################################## ### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser randy # rouser: a SNMPv3 read-only user # arguments: user [noauth|auth|priv] [restriction_oid] rouser something # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity whatever # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private 127.0.0.1 ######################################################################## ### # SECTION: Trap Destinations # # Here we define who the agent will send traps to. # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] #trap2sink RSMITHD600.corp.emc.com # trapcommunity: Default trap sink community to use # arguments: community-string trapcommunity public # authtrapenable: Should we send traps when authentication failures occur # arguments: 1 | 2 (1 = yes, 2 = no) authtrapenable 2 Could someone please give me some ideas as to what is possibly going wrong here? How can the message in the snmpd.log file possibly tell me that the access control isn't configured when it clearly is? Thanks again, Randy ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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
