LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/hosts error (https://www.linuxquestions.org/questions/linux-newbie-8/etc-hosts-error-93070/)

ATM 09-15-2003 01:01 PM

/etc/hosts error
 
I've looked on a couple boards for fixes for this problem, but thus far none of the code posted by people is right.

Whenever I startup a user account, be it root or not, I get the following error: "could not look up internet address, which is preventing gnome from operating correctly, to try and fix problem add CPEOOO255a5214b-CM00e06f175ca0 to /etc/hosts"

So, I went online, found a couple boards that posted the following lines to add:

Code:

127.0.0.1 localhost
and then later someone said they had to 'add an alias', whatever that means and posted the following code:

Code:

127.0.0.1 localhost localhost.localdomain

I copy/pasted these directly into the /etc/hosts file, but it didn't fix anything. What am I doing wrong? Should I not have the parts?

DrOzz 09-15-2003 01:46 PM

well double check what you have in the line HOSTNAME= in the /etc/sysconfig/network file..


All times are GMT -5. The time now is 06:51 AM.