Dear Robert Story,
       Thank you for your help first.But there is still a problem .
#./configure  --prefix=/var/snmp  --disable-shared --enable-static
#make
#make install
when I start snmpd
#./snmpd -c ./snmpd.conf
and then
#./snmpwalk -c public -v1 10.214.17.80 1  
(10.214.17.80 is the localhost ip)
I still can't get anything,it just say timeout.
Below is  snmpd.conf,generated by snmpconf
begin:
rocommunity  private 
rwcommunity  public 
com2sec local      10.214.17.80      private
com2sec mynetwork 10.214.17.80    public
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none
end.
Is this file wrong?
I hope you can qive me some advice,!
Thank you!
wish you have a happy weekend.
 
                                                                   xuyihuan                           
 

Robert Story <[EMAIL PROTECTED]> 写道:

 

On Fri, 3 Jun 2005 20:01:32 +0800 (CST) nauhiyux wrote:
NX> #./configure --prefix=/var/snmp (I choose the default option)

NX> You know,there is also a
NX> snmpd exist in /usr/sbin when I install the fedora core linux,

Yes, and it is a bad idea to mix the two. If you really want to install your
own version from source, I strongly recommend that you configure with
'--disable-shared --enable-static' so that you don't end up with shared library
problems.

NX> #../bin/snmpwalk -c public -v1 XXX.XXX.XXX.XXX 1 it says timeout,and
NX> receive no message.(why? This is my question)

That would almost certainly be access control, which is covered in the FAQ.

NX> Any more ,i find the port 199 is open,when i start the second snmpd agent.
NX> but when i start the first snmpd agent,199 port is closed.

That means that one was compiled with SMUX support, and the other was not.

--
NOTE: message s sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support:
Archive:

You are lost in a twisty maze of little standards, all different.


DO YOU YAHOO!?
雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱

Reply via email to