Re: 回复:RE: 回复:RE: The problem about the net-snmp installation

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/11/18 飞飞 <[email protected]>:
> Failed!
>
> I run the command /usr/local/sbin/snmpd start,I got NOTHING.

But Mike didn't tell you to run
    "/usr/local/sbin/snmpd start"

He told you to run
    "/usr/local/sbin/snmpd"     (nothing else).


Personally, I;d suggest running
   "/usr/local/sbin/snmpd -f -Le"
       at least initially - so that you can see whether there
are any errors being reported.
If that works (and you can query the agent),
then ^C this, and run as Mike suggests.



But you need to be clear about the distinction between
the SNMP agent itself (usually /usr/local/sbin/snmpd or
/usr/sbin/snmpd)   and the script used to control this
agent (typically something like /etc/init.d/snmpd)

The first is a binary program, and is described in
the man page "snmpd(8)".   The second is a shell
script, and takes the options "start" and "stop".

These are two different things - don't treat them
as equivalent.

Dave

------------------------------------------------------------------------------
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.