Hey,

>> What do the following command report:

    which ln => /bin/ln

    ls -l /bin/ln   /usr/bin/ln 
=> ls: cannot access /usr/bin/ln: No such file or directory
-rwxr-xr-x 1 root root 47680 2011-02-23 15:24 /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  )
  Sounds like he pass throught it, but I got another error then :

/etc/init.d/snmpd: 97: start-stop-daemon: not found

Hx for your help.



Cordialement,


Jérôme BELLEGARDE

---------------------------------------------------------------------------

-----Message d'origine-----
De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] 
Envoyé : mardi 15 mai 2012 16:35
À : Jérôme BELLEGARDE
Cc : net-snmp-users@lists.sourceforge.net
Objet : Re: Problem installing a MIB

On 15 May 2012 15:25, Jérôme BELLEGARDE
<j.bellega...@alpha-direct-services.com> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to