Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just upgraded a Red Hat 6.2 server to Red Hat 7.1
I have gotten most of the services back up and functioning correctly except SNMP. When I run /usr/sbin/snmpd the SNMP service starts. Then I get flooded with the following error
Get_local_host: 'localhost' IP address not available!
Get_local_host: 'localhost' IP address not available!
Get_local_host: 'localhost' IP address not available!
Get_local_host: 'localhost' IP address not available!
Get_local_host: 'localhost' IP address not available!
Get_local_host: 'localhost' IP address not available!
And it's all over the screen. It's very odd. The server is running BIND 9.1.2 and it's working correctly. I have no idea where to start. Can somebody point me in the right direction ? Thanks in advance for any help you may offer....
what does nslookup localhost produce? If it returns the correct result (127.0.0.1) then its a problem with you snmpd config otherwise check your DNS! You might want to look at /etc/hosts.conf to see what order your names are being resolved. You will probably want it to look at your hosts file first, then restord to dns.
I added that to my /etc/hosts file and restarted my dns server.
I did an nslookup localhost and received the same message. What am I not doing correctly ? Is there another service I need to restart to load the /etc/hosts file ?
Sorry - I think I should have told you to try to ping local host. nslookup only queries your DNS server, it doesn't make use of the system resolver, hence doesn't look at /etc/hosts. Here's what happens on my box:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.