Re: remove localhost from /etc/hosts??



Neal Becker wrote:

Installing gridengine seems to fail with:
Starting qmaster installation!
Hostname: nbecker6
Aliases: localhost.localdomain localhost
Host Address(es): 127.0.0.1


The current hostname is resolved as follows:

Hostname: nbecker6
Aliases: localhost.localdomain localhost
Host Address(es): 127.0.0.1

It is not supported for a Grid Engine installation that the local hostname
contains the hostname "localhost" and/or the IP address "127.0.x.x" of the
loopback interface.
The "localhost" hostname should be reserved for the loopback interface
("127.0.0.1") and the real hostname should be assigned to one of the
physical or logical network interfaces of this machine.

Installation failed.

/etc/hosts says:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 nbecker6 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

What's the deal here? I thought that removing localhost would, as the
comment in /etc/hosts says, cause lots of problems with various
applications.


Actually, I misread that. It wants to remove the actual hostname 'nbecker6'
and leave only
127.0.0.1 localhost.localdomain localhost

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: telnet on local LAN question (progress?)
    ... chalupa.localdomain chalupa localhost.localdomain localhost localhost4 ... having some strange names in your mail headers. ... And not just with Linux boxes. ... worked find when the hostname was entered on the 127.0.0.1 line but some ...
    (Fedora)
  • Re: (was Re: setting FQDN in /etc/hosts)
    ... There should be a space before the word localhost, ... the hostname command will tell you what ... 503 Leafnode must have a unique fully-qualified domain name. ... ## This is the NNTP server leafnode fetches its news from. ...
    (news.software.readers)
  • Re: domain name
    ... I never had a problem with the hostname. ... troubles when the host is a server on the 'Net with a static IP and ... Seems to me it should return "localhost" in that case, ... configuration internally consistent with a private configuration in ...
    (Debian-User)
  • remove localhost from /etc/hosts??
    ... Aliases: localhost.localdomain localhost ... Host Address: 127.0.0.1 ... The current hostname is resolved as follows: ... It is not supported for a Grid Engine installation that the local hostname ...
    (Fedora)
  • Re: HP-UX / VUE trouble
    ... The correct hostname is in /etc/src.sh. ... gateway and the definition of localhost as well. ... mserve allow 127.0.0.1 unknown mysystemname mysystemname.domain localhost ... in spc and mserve allow. ...
    (comp.sys.hp.hpux)