Cannot get net-snmp to start!!!
Newbie question...
I have installed net-snmp on a V880 running Solaris 9. The install appeared to complete without issue. However, when I attempt to start snmp, I get the following...
bash-2.05# /etc/init.d/init.snmpdx start
bash-2.05# ./snmpd -f -L
[init_smux] bind failed: Address already in use
Error opening specified endpoint "udp:161"
Server Exiting with code 1
ps -ef confirmes that net-snmp is the only version of snmp running on this machine...
bash-2.05# ps -ef | grep snmp
root 276031 0 10:57:29 ?0:00 /usr/local/sbin/snmpd
root 3953 27727 0 11:01:41 pts/30:00 grep snmp
I don't think that there is anything else occupying this port...
bash-2.05# lsof -i udp:161
COMMANDPID USERFDTYPEDEVICE SIZE/OFF NODE NAME
snmpd27603 root18u IPv4 0x30a267379c00t0 UDP *:161 (Idle)
and snmp seems to be reading in the correct config files...
bash-2.05# /usr/local/sbin/snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u
read_config: Reading configuration /usr/local/share/snmp/snmpd.conf
read_config: Reading configuration /var/net-snmp/snmpd.conf
I am a beginner, so please be merciful...but I would appreciate any advice as to what I'm doing wrong.
Thanks in advance...
Stephen

