I am relatively new to Gentoo and I am having a problem resolving localhost. I always get "unknown host localhost" I can connect to any other site such as www.yahoo.com but nothing else works. I have gone through the Gentoo Handbook several times and googled the issue but could not find a
The /etc/hosts file has the only the following entry in it:
127.0.0.1 localhost
I cannot get the system to reconize anything that I place in /etc/hosts. For some reason it does not appear that the /etc/hosts file is being processed. Is there a config file somewhere that specifies whether or not
lo is up, verified with ifconfig. I can ping 127.0.0.1, however pinging localhost results in "ping: unknown host localhost". I get the same result with anything else that I add to the hosts file.
Thanks,
RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To: gentoo-user@lists.gentoo.orgTo:
Thanks Nick! strace showed that /etc/hosts was not being opened, but it showed that nsswitch.conf was being opened but did not exist, so I created a nsswitch.conf file with the following line:
hosts: files dns
Now everything works.
Thank you,
RussFrom: Nick Rout [EMAIL PROTECTED]Reply-To:
.You might like toextract it from sys-libs/glibc (the owner on my system) and replace itwith the full file.BillKOn Sun,
2005-07-24 at 23:59 -0400, Russell Slater wrote:Thanks Nick! strace showed that /etc/hosts was not being opened, butit showed that nsswitch.conf was being opened but did not
Couldn't you place both kernels in /boot with different names and leverage grub to load the approriate one?
6 matches
Mail list logo