Re: Install net-snmp into Ubuntu
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGazxud-OA66hii1Da=Ai3YvO0XS6CHiVWOMVsBb6V4=hw@mail.gmail.com> |
On 16 November 2011 15:38, francisco moreno <[email protected]> wrote: > I solved the install problem. The problem was that some "scripts" using the > "sh shell" and others the "bash shell". I changed the symbolic link /bin/sh > -> /bin/dash to /bin/sh -> /bin/bash. Then the intallation was successfull. Do you know which scripts were being affected by this? This is something that we should try to fix if possible. > I run the "snmpd" daemon that it is on "/usr/local/sbin/snmpd" > and it show this message: > error while loading shared libraries: libnetsnmpagent.so.15: > cannot open shared object file: No such file or directory Does this library exist anywhere? (Probably as /usr/local/lib/libnetsnmpagent.so.15) What does 'ldd /usr/local/sbin/snmpd' report? Try running the command 'ldconfig' (as root) What does 'ldd /usr/local/sbin/snmpd' report? If it's still complaining about missing libraries, then is there a directory /etc/ld.conf.d ? If so, then try creating a file /etc/ld.conf.d/net-snmp.conf containing /usr/local/lib and then run 'ldconfig' again. What does ldd report now? Does the agent start or not? > My other problem is the "agentx" not start and my application doesn't work > >> - the "agentx" wasn't into "/var" directory As I already said, this will be created automatically when you run the agent. If the agent is not able to run (because of the missing library problem), then of course, it won't be creating this folder! Concentrate on fixing the agent first Dave ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users