On 15 May 2012 15:25, Jérôme BELLEGARDE
<[email protected]> wrote:
> Now the file is like this :
> export PATH=/usr/local/sbin
Argh!
That's why you're having problems.
You only needed to change the references to
/usr/sbin/snmpd to read /usr/local/sbin/snmpd
(and similarly for snmptrapd).
You shouldn't have changed the PATH setting.
Now the script is *only* looking in /usr/local/sbin
and hence can't find any of the usual Linux commands.
Put this line back to the way it was before
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
and try again
Dave
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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