You should not overload the 127.0.0.1 line with anything other than the
localhost entries.

If your system isn't connected to a network, then invent an IP, e.g.,
the usual class-C 192.168.0.1 is as good as any, and use that entry to
resolve the hostname.

-- 
David N. Lombard
 
My comments represent my opinions, not those of Intel Corporation.

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:oscar-users-
>[EMAIL PROTECTED] On Behalf Of Michael Edwards
>Sent: Monday, February 07, 2005 9:32 PM
>To: Bernard Li
>Cc: Johnston Michael J Contr AFRL/DES;
[email protected]
>Subject: Re: [Oscar-users] POSTFIX question
>
>It does mention that you need a hostname other than localhost, but
>localhost is needed by a number of core system services.  For some
>reason FC2 (and RH9 before it) sets up your default /etc/hosts file as
>something like
>
>127.0.0.1 localhost.localdomain localhost simpsons simpsons.af.mil
>
>if you said your fully qualified domain name was simpsons.af.mil (for
>example).
>I can see why you decided to remark out that whole line.  What I
>generally do is to separate the line to read
>
>127.0.0.1 localhost.localdomain localhost
>192.168.1.1 simpsons.af.mil simpsons
>
>It seems to work anywayIn FC2 you have to do this by hand because the
>gui helpfully hides the localhost line so that you don't decide its
>not neccesary and remove it.
>
>On Mon, 7 Feb 2005 20:44:26 -0800, Bernard Li <[EMAIL PROTECTED]> wrote:
>> Hi Mike:
>>
>> Can you let us know where in the installation guide did it say to
comment
>> out localhost in /etc/hosts?  I am just trying to find where it is...
>>
>> And no, I don't think you should comment it out...
>>
>> Cheers,
>>
>> Bernard
>>
>> ________________________________
>> From: [EMAIL PROTECTED] on behalf of Johnston
>Michael
>> J Contr AFRL/DES
>> Sent: Mon 07/02/2005 2:40 PM
>> To: [email protected]
>> Subject: [Oscar-users] POSTFIX question
>>
>>
>>
>> I have my OSCAR cluster running (thanks to the help of many of you)
and
>all
>> seems to be working great.  I did have a few questions though about
>POSTFIX.
>> I noticed that when booting up that the postfix service was failing.
>It's
>> not starting because it doesn't know where localhost is.  Per the
>> installation guide I #'d out the localhost in the /etc/hosts file.
Since
>> the hosts file is what's copied from the master node to the other
nodes,
>> none of them know what lochalhost is.  I noticed that when I went to
>NODE1
>> and added localhost behind its listing the postfix starts up just
fine.
>>
>> My question is this; is postfix important and should I go to each
node
>and
>> modify the hosts file so they all know what localhost is?  Is this
usual
>or
>> should OSCAR have added this line into the hosts at install.
>>
>> Thanks again for the support!
>>
>> Mike
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real
users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Oscar-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oscar-users
>>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real
users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Oscar-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/oscar-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to