OM / snmpd / smux conflict??

Larsen, Peter PLarsen at CIBER.com
Sun Jun 24 14:56:03 CDT 2007


>Larsen, Peter wrote:
>> Sure - where would you propose getting that particular version?

>http://www.net-snmp.org/download

Well, I wasn't able to compile :(  Is there any specific parameters I need to supply to ./configure ??

My error:
grep: /usr/lib/libbeecrypt.la: No such file or directory
/bin/sed: can't read /usr/lib/libbeecrypt.la: No such file or directory
libtool: link: `/usr/lib/libbeecrypt.la' is not a valid libtool archive
make[1]: *** [libnetsnmpmibs.la] Error 1
make[1]: Leaving directory `/home/oracle/tar/net-snmp-5.4.1.pre3/agent'
make: *** [subdirs] Error 1

I'm not into the details of net-snmp; as a matter of fact this is my first from source compile of it, so I may be missing something. I did a basic ./configure and ran a make. Got quite a bunch of warnings during the compile and then it ends with the above error.

>What about at startup? There should be some output when it parses the
>"smuxpeer" line from snmpd.conf. If it's not there, add "-Dread_config"
>to make sure the agent is reading the right snmpd.conf.

Here's what I get with the read_config:

read_config: reading premib configuration tokens
read_config: config path used:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/var/net-snmp
read_config: /etc/snmp/snmpd.conf: Permission denied
read_config: /etc/snmp/snmpd.local.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.local.conf: No such file or directory
read_config: Reading configuration /var/net-snmp/snmpd.conf
read_config: /var/net-snmp/snmpd.conf:32 examining: engineBoots 21
read_config: /var/net-snmp/snmpd.conf:33 examining: oldEngineID 0x800007e580a68f642c0ed44646
read_config: Found a parser.  Calling it: oldEngineID / 0x800007e580a68f642c0ed44646
read_config: /var/net-snmp/snmpd.local.conf: No such file or directory
read_config: config path used:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/var/net-snmp
read_config: /etc/snmp/snmp.conf: No such file or directory
read_config: /etc/snmp/snmp.local.conf: No such file or directory
read_config: /usr/share/snmp/snmp.conf: No such file or directory
read_config: /usr/share/snmp/snmp.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.local.conf: No such file or directory
read_config: /var/net-snmp/snmp.conf: No such file or directory
read_config: /var/net-snmp/snmp.local.conf: No such file or directory
read_config: reading normal configuration tokens
read_config: config path used:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/var/net-snmp
read_config: /etc/snmp/snmpd.conf: Permission denied
read_config: /etc/snmp/snmpd.local.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.conf: No such file or directory
read_config: /usr/share/snmp/snmpd.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.conf: No such file or directory
read_config: /usr/lib/snmp/snmpd.local.conf: No such file or directory
read_config: Reading configuration /var/net-snmp/snmpd.conf
read_config: /var/net-snmp/snmpd.conf:32 examining: engineBoots 21
read_config: Found a parser.  Calling it: engineBoots / 21
read_config: /var/net-snmp/snmpd.conf:33 examining: oldEngineID 0x800007e580a68f642c0ed44646
read_config: /var/net-snmp/snmpd.local.conf: No such file or directory
read_config: config path used:/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/var/net-snmp
read_config: /etc/snmp/snmp.conf: No such file or directory
read_config: /etc/snmp/snmp.local.conf: No such file or directory
read_config: /usr/share/snmp/snmp.conf: No such file or directory
read_config: /usr/share/snmp/snmp.local.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.conf: No such file or directory
read_config: /usr/lib/snmp/snmp.local.conf: No such file or directory
read_config: /var/net-snmp/snmp.conf: No such file or directory
read_config: /var/net-snmp/snmp.local.conf: No such file or directory
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.

===
  Peter Larsen



More information about the Linux-PowerEdge mailing list