Thanks Mike.
   
  The following line is in that file:
   
  127.0.0.1  localhost.localhostdomain    localhost
   
   
  It seems it defined fine.Is there any other place that might be changed?
   
  Regards,
  Reza
   
  

Note: forwarded message attached.

       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.
--- Begin Message ---
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Reza Salehi

> When I use 127.0.0.1 it works fine but I can also so do  < 
> ping localhost > and that works fine too.

        I doubt that means anything, since I would expect ping to have the 
value of "localhost" compiled in.

> It seems snmpget 
> doesn't like the localhost name.

        Just look at your /etc/hosts file.  If it doesn't define "localhost", 
you can't use it.  Many current distros don't, for reasons I cannot fathom.


        HTH,

Mike

--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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