------------------ 原始邮件 ------------------
  发件人: "mike_ayers-net-snmp-"<[email protected]>;
 发送时间: 2009年11月17日(星期二) 凌晨3:57
 收件人: "飞飞"<[email protected]>; 
"net-snmp-users"<[email protected]>; 
 
 主题: RE: The problem about the net-snmp installation

  
 > 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.
  
 I  got snmpd in directory /usr/local/sbin/  but I cannot start it use command 
./snmpd start,the hint is no snmpd service. can you tell me more detailed??? 
  
 

> 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

Reply via email to