Results 1 to 4 of 4

Thread: Don't have /etc/host file

  1. #1

    Don't have /etc/host file

    I get the following error message when booting;

    Could not lookup internet address for localhost.localdomain. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding localhost.localdomain to the file /etc/hosts.

    There is no such file /etc/hosts

  2. #2
    Administrator Moderator
    starfish's Avatar
    Join Date
    Apr 2004
    Check this link for how to setup your /etc/hosts file. It must have been deleted by accident.

  3. #3
    You should arrange it like this:

    [root@xxxx root]# vi /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail. abcd localhost.localdomain localhost
    x.x.x.x abcd mail www (if you have a domain)


  4. #4
    Thanks. This resolved the issue.

Similar Threads

  1. Virtual host/local host PAM File problem!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 03-01-2006, 01:38 PM
  2. The Visible Host Name
    By quan in forum Linux - General Topics
    Replies: 2
    Last Post: 08-07-2004, 12:46 PM
  3. Host Name
    By gmoreno in forum Linux - General Topics
    Replies: 1
    Last Post: 08-20-2002, 07:18 AM
  4. Ssh host keys
    By Outlaw in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 06-01-2002, 01:14 PM
  5. New host for LJR.
    By cloverm in forum Announcements and Suggestions
    Replies: 31
    Last Post: 12-02-2001, 02:30 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts