RE: The problem about the net-snmp installation

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0D675A1A@mailserver.metatv-ds.metatv.com>
> From: 飞飞 [mailto:[email protected]]
> Sent: Sunday, November 15, 2009 7:16 PM

> Apparently everything is OK,but when I run service snmpd start in root
> I get "service:no such service snmpd",who can tell me why?(OS
> Ubuntu9.04,9.10,SuSE11.2)

	The service script is not part of the net-snmp distribution.  It comes from the OS vendor, and assumes that net-snmp is installed in the location they chose (typically /usr/bin, /usr/sbin, /etc, etc...).  If you wish to use it, edit it and change the paths to snmp components to match the ones you installed to.

> 2.when I install net-snmp use System->administrator->synatpic Package
> Manage in  Ubuntu and Start->Computer->Install Software in SuSE we can
> run the command service snmpd start normally,the default net-snmp
> install directory is /usr/share/snmp/ not the /usr/local/share/snmp
> described in some website. this way involed another problem:I cannot
> get the net-snmp source code,I cannot compile the program in my way
> when I want ro add my subagent statically.

	Yes, either accept the distro's choice of install options, or install and maintain it yourself.  This is true for all packages.


	HTH,

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.