Mike, I check that file and that line is there(hosts: files dns). I also can do telnet localhost. But still when I do "snmpget ....localhost ....." I get the Unknown Host error. Any other suggestion? I appreciate your help. Regards, Reza
Note: forwarded message attached. --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel.
--- Begin Message ---> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Reza Salehi > Sent: Friday, August 31, 2007 4:43 PM > The following line is in that file: > > 127.0.0.1 localhost.localhostdomain localhost Next step is to look in /etc/nsswitch.conf. The "hosts:" line should have "files" in front. Before that, you may want to try telnet to localhost just to see if it can resolve the name. HTH, Mike ------------------------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users