Find the answer to your Linux question:
Results 1 to 3 of 3
Hello i have just installed Fedora core 4 today. i am currently using the GNOME desktop. my problem is when i login as root or as any other user an ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    44

    Fedora core 4


    Hello

    i have just installed Fedora core 4 today. i am currently using the GNOME desktop.
    my problem is when i login as root or as any other user an error reports pops up
    saying: "Could not look up 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."

    so as the report says, i have tried to modify the /etc/hosts but there are couple
    of hosts files with same name but different date. However i have tried wisth
    'host.c' and hosts files and added this string "localhost.localdomain" but that
    didn't solved the problem.

    no please tell me how to solve...

    Thanks...

  2. #2
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    Add localhost.localdomain to the end of the line(s) that list the hostname(s) for the local machine. For example, if this is in /etc/hosts:
    Code:
    127.0.0.1     foo.bar     foo
    Then make it
    Code:
    127.0.0.1     foo.bar     foo     localhost.localdomain     localhost

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    44
    hey i already have one of the host files having these line...so i dont have to add this line again. but still it gives me the same problem...

    can you tell me that hosts file's extension?

    for you help i am giving the code of my hosts file:
    Code:
    127.0.0.1		localhost.localdomain localhost
    this file have the extension hosts.bak

    another file is hosts.allow is like:
    Code:
    #
    # hosts.allow	This file describes the names of the hosts which are
    #		allowed to use the local INET services, as decided
    #		by the '/usr/sbin/tcpd' server.
    #
    Next one is hosts.conf like:
    Code:
    order hosts,bind
    another one
    Code:
    #
    # hosts.deny	This file describes the names of the hosts which are
    #		*not* allowed to use the local INET services, as decided
    #		by the '/usr/sbin/tcpd' server.
    #
    # The portmap line is redundant, but it is left to remind you that
    # the new secure portmap uses hosts.deny and hosts.allow.  In particular
    # you should know that NFS uses portmap!
    Another one is also says hosts.conf with same name and
    Code:
    localhost.localdomain
    now tell me how to do? [/quote]

  4. $spacer_open
    $spacer_close

Posting Permissions

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