Apache won't start (missing host name)

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
XBoxgeek
Pro
Posts: 77
Joined: Sat Sep 27, 2003 6:55 pm
Location: London
Contact:

Apache won't start (missing host name)

Post by XBoxgeek »

Hi Guys,

I have followed the tutorial for instaling Apache but it won't start.

My system was installed as follows (if it helps):-
Clean install of Gentoox Pro
emerge sync
Magic (updated everything, but did not install mplayer, kde, peeper or xvkbd.
emerge -u system
etc-update

after this all seemed fine. I can ssh in and look around as root & gentoox.

I then wanted to install Apache. I followed the tutorial, but when I type
"/etc/init.d/apache2 start "

it comes back and says:-
* Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for serverName [!!]

If I type in hostname it comes back with Pro.localhost. I can still ssh in using 192.168.0.100

Any ideas where I went wrong or what I need to do to fix it?

Many thanks in advance.
XBoxgeek
XBoxgeek
Pro
Posts: 77
Joined: Sat Sep 27, 2003 6:55 pm
Location: London
Contact:

Post by XBoxgeek »

Okay I fixed it. Found the answer on the Gentoo forum. Still not sure what I did wrong :oops:

XBoxgeek
dr_flubber
Linux User
Posts: 11
Joined: Thu Sep 25, 2003 2:21 pm

Re: Apache won't start (missing host name)

Post by dr_flubber »

XBoxgeek wrote:Hi Guys,

I have followed the tutorial for instaling Apache but it won't start.

My system was installed as follows (if it helps):-
Clean install of Gentoox Pro
emerge sync
Magic (updated everything, but did not install mplayer, kde, peeper or xvkbd.
emerge -u system
etc-update

after this all seemed fine. I can ssh in and look around as root & gentoox.

I then wanted to install Apache. I followed the tutorial, but when I type
"/etc/init.d/apache2 start "

it comes back and says:-
* Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for serverName [!!]

If I type in hostname it comes back with Pro.localhost. I can still ssh in using 192.168.0.100

Any ideas where I went wrong or what I need to do to fix it?

Many thanks in advance.
XBoxgeek
Did you add 192.168.0.100 in your /etc/hosts file ?
What does nslookup Pro.localhost return ?
--dr.flubb
Post Reply