Re: no snmpd under /etc/init.d

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
CHAHIBI Samira wrote:
> i decided to download the net-snmp package and begin installation.My
> problem is that i found snmpd daemon under /usr/local/sbin. should I
> copy it under /etc/init.d and run it from there? I say that because when
> i installed net-snmp with yum install without downloading the package,
> the daemon was in /etc/init.d.

/etc/init.d/snmpd is supposed to be a *script* to start/stop the daemon, not the binary itself. The net-snmp source package includes a file dist/snmpd-init.d which can be copied to /etc/init.d/snmpd and adjusted as needed.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.