|
我在solaris8上用pkgadd装了net-snmp-5.0.7-sol8-sparc-local,同时也装了openssl,libgcc和zlib,可是在作snmpconf -g basic_setup这一步时总是提示:No such file or directory;然后我自己重新建了一个snmp.conf后出现下列信息:
bash-2.03# /usr/local/sbin/snmpd -f -L
/usr/local/share/snmp/snmp.conf: line 1: Warning: Unknown token: com2sec.
/usr/local/share/snmp/snmp.conf: line 3: Warning: Unknown token: group.
/usr/local/share/snmp/snmp.conf: line 4: Warning: Unknown token: group.
/usr/local/share/snmp/snmp.conf: line 6: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 7: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 8: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 10: Warning: Unknown token: access.
/usr/local/share/snmp/snmp.conf: line 12: Warning: Unknown token: syslocation.
/usr/local/share/snmp/snmp.conf: line 13: Warning: Unknown token: syscontact.
Warning: no access control information configured.
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 this agent.
NET-SNMP version 5.0.7
现在snmp就是起不来,我郁闷了 : ( |
|