2010/1/21 Alexander King <chenyapu1...@qq.com>: > sys-man snmp # /usr/local/sbin/snmpd -f -L > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state.
> Can anybody tell me where maybe I am wrong? This error message tells you exactly what is wrong. There is no access control in the snmpd.conf file that this agent is using. > sys-man snmp # /usr/local/sbin/snmpd -f -Le -c > /usr/local/share/snmp/mibs/snmpd.conf > Turning on AgentX master support. This file does at least contain some form of access control. Though it's unclear why you are putting the config file into a MIB directory. It would more naturally go into /usr/local/share/snmp or /usr/local/etc/snmp > NET-SNMP version 5.4.2.1 > Segmentation fault Hmmm.... that shouldn't be happening. And it's not clear exactly where things are falling over. Does this happen immediately when you start the agent, or after a short delay? Try starting the agent using snmpd -f -Le -c .../snmpd.conf -Dread_config That should at least give some indication of whether the agent is failing while processing the config file (and if so, where). Perhaps try with a minimal snmpd.conf file e.g. containing *just* a "rocommunity public" line (and nothing else). If that works, then you can build up to the full configuration, and see exactly what introduces the crash. If that minimal config also fails, then the problem lies elsewhere.... Dave ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users