Help ! Subagent crash! (undefined symbol hosts_ctl , libwrap , libnetsnmpagent.so.5)
"Makavy, Erez (Erez)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <AAB4B3D3CF0F454F98272CBE187FDE2F09ACD67A@is0004avexu1.global.avaya.com> |
hey, I've encountered some problems running the net-snmp tutorial example. The problem: ------------------ - I have the Master agent running (with agentx enabled) - I run the subagent from the tutorial (example-demon) - Wwhen I send a get request for the nstAgentSubagentObject, the subagent crashes with error message: "symbol lookup error /usr/lib/libnetsnmpagent.so.5: undefined symbol: hosts_ctl" Analysis & solutions attempted: ----------------------------------------------- - It seems that hosts_ctl is can be used only if the net-snmp if compiled with flag USE_LIBWRAP - I configured and built the net-snmp again with --with-libwrap - I verified that USE_LIBWRAP is defined in include/net-snmp/net-snmp-config.h - and still I get the same problem ! any ideas? ---------------- Thanks, Erez Makavy.