Hy guys, I installed net-snmp-5.7_3 on several FreeBSD 8.1-RELEASE machines without any problem, but, when I try to start it with default config /usr/local/share/snmp/snmpd.conf (copy by snmpd.conf.sample) it gave me the following error:
There are no other snmpd.conf anywhere on the paths that it looking for. If I start it from [cmd=]/usr/local/etc/rc.d/snmpd start[/cmd] it gave me the following error:
Thank you guys for the help.
Code:
snmpd -V -c ./snmpd.conf
Turning on AgentX master support.
./snmpd.conf: line 87: Error: Already have an entry for this process.
./snmpd.conf: line 89: Error: Already have an entry for this process.
./snmpd.conf: line 91: Error: Already have an entry for this process.
./snmpd.conf: line 103: Error: includeAllDisks already specified.
./snmpd.conf: line 103: Error: ignoring: includeAllDisks 10%
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
error on subcontainer 'mteObjectsTable' insert (-1)
./snmpd.conf: line 17: Error: duplicate trigger name
./snmpd.conf: line 19: Error: duplicate trigger name
./snmpd.conf: line 19: Error: duplicate trigger name
duplicate table data attempted to be entered. row exists
Failed to register extend entry 'test1' - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry 'test2' - possibly duplicate name.
Turning on AgentX master support.
Error opening specified endpoint "udp:192.168.0.254:161"
Server Exiting with code 1
There are no other snmpd.conf anywhere on the paths that it looking for. If I start it from [cmd=]/usr/local/etc/rc.d/snmpd start[/cmd] it gave me the following error:
Code:
Starting snmpd.
Turning on AgentX master support.
Error opening specified endpoint "udp:192.168.0.254:161"
Server Exiting with code 1
/usr/local/etc/rc.d/snmpd: WARNING: failed to start snmpd
Thank you guys for the help.