Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache fails to start under RH7.1



>Not if you are using RH. Basically try:
>
># hostname your_hostname
>(update the in memory info)

Ok.

># vi /etc/hosts
>(more sure it looks something like...)
>127.0.0.1		localhost.localdomain localhost
>your_ip        your_hostname.your_domain your_hostname

And if I don't have a your_hostname.your_domain your_hostname? Can I just 
add the ip?

># vi /etc/sysconfig/network
>(update the HOSTNAME line, this is the equivalent of /etc/hostname on
>  other systems.)
>HOSTNAME=your_hostname

Ok. Will try that tomorrow and see what happens!

BTW why is a hostname required in both places? What is the functionality of 
the different files?

>No need to reboot, but if you want to check it, it should work now.
>with a bit of luck :)

Luck is always a Good Thing.

Jc
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links