NetSnmp issue on AIX5.2

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OFCCE1C271.4D5D8A0A-ON48257075.002BB455-48256F08.002BA2FA@wesoft.com>
Dear sirs:

Has anyone had good luck getting snmp setup and running smooth on AIX5.2?

Our AIX version is 5.2 and with default snmp, it works fine. Now I want to 
replace the default snmp with NetSnmp.

I have downloaded the NetSnmp installation package for AIX from :
http://aixpdslib.seas.ucla.edu/packages/net-snmp.html

I install it to my AIX5.2 system, it is success with no error.
But when I stop the AIX default snmp and try to start the netsnmp. 
I get no error but the netsnmp can not be started.
bash-2.05b# lssrc -s snmpd
bash-2.05b# cd /usr/local/sbin
bash-2.05b# ./snmpd
bash-2.05b# ps -ef|grep snmp --not snmpd is ruuning.
bash-2.05b#


(Before that I have used the /usr/local/bin/snmpconf to create a 
snmpd.conf and copy to /usr/local/share/snmp/
Attached please find the snmpd.conf.)


Yet the snmpd is not started. check the /var/log/snmpd.log, there is no a 
error.

Do I miss some steps or I need do more..?
Any comments or suggestion will be high appreciated!


Best Regards,
Tango
snmpd.conf (application/octet-stream, 2.4 KB)
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  private



###########################################################################
# SECTION: Agent Operating Mode
#
#   This section defines how the agent will operate when it
#   is running.

# agentaddress: The IP address and port number that the agent will listen on.
#   By default the agent listens to any and all traffic from any
#   interface on the default SNMP port (161).  This allows you to
#   specify which address, interface, transport type and port(s) that you
#   want the agent to listen on.  Multiple definitions of this token
#   are concatenated together (using ':'s).
#   arguments: [transport:]port[@interface/address],...

agentaddress  161



###########################################################################
# 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  "rushroom office"

# 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  "contract admin"
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.