Re: Problem installing a MIB

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGaAvaMPaSHuJMUmf48_6Awo1GNCprPe5PVq90b4msT+rA@mail.gmail.com>
On 15 May 2012 15:25, Jérôme BELLEGARDE
<[email protected]> wrote:
> But when I'm doing /etc/init.d/snmpd restart, I got this error :
> /etc/init.d/snmpd: 39: ln: not found

Hmmm...
I'd expect 'ln' to be a fairly standard command in any Linux distribution.

What do the following command report:

    which ln

    ls -l /bin/ln   /usr/bin/ln

Try tweaking this line of the /etc/init.d/snmpd script to use the full path
(i.e. /bin/ln -sf /var/agentx/master /var/run/agentx  )

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.