Unable to resolve via /etc/hosts
Hello,
Recently I've run into an issue trying to install new services to a slack 10.2 machine (updated via slapt-get to current), namely the mysql daemon. When running mysql_install_db the machine reports it is unable to resolve localhost and socrates (the name of the machine). I have hostname set to socrates and my /etc/hosts file contains: Code:
127.0.0.1 localhost socrates Code:
order hosts, bind After much fussing I coldn't figure out my issue, and eventually hammered my /etc/resolv.conf ; it contained: Code:
nameserver 24.93.41.125 To me, it appears to be some type of polling issue with /etc/hosts but I am completely stumped. Does anyone have any ideas or suggestions? |
This was resolved with the help of a friend at work. Apparently my /etc/nsswitch.conf file went missing on my machine. Copying from a similar machine resolved the issue. Never would've found it in a million years.
|
All times are GMT -5. The time now is 10:08 PM. |