LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache wont start in Gentoo (https://www.linuxquestions.org/questions/linux-software-2/apache-wont-start-in-gentoo-147370/)

netquest1 02-17-2004 07:16 PM

Apache wont start in Gentoo
 
I recently installed Gentoo Linux 1.4. I just installed apache and followed the necessary steps to do so included in the Linux desktop Configuration Guid provoded from Gentoo. these are the steps that i took:
emerge apache mod_php
rc-update add apache2 default
/etc/init.d/apache2 start

and i got this error when starting apache:
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]

I think i fixed this error by removing the # comment tag infront of the line:
ServerName localhost
in the apache2.conf file but when i try to start it, i get this:
* Starting apache2... [ !! ]
and i get this error in the error_log file:
[Tue Feb 17 17:12:41 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "box1"
Configuration Failed

any ideas on how i can fix this so that apache will start correctly. because right now i cant get it to start at all.

thanks!

retep 02-17-2004 08:27 PM

Try:

a) if you're not using mod_unique_id just comment out it's LoadModule
or b) grep for "box1" in the apache conf dir(s) and see if it's set in there anywhere.

netquest1 02-17-2004 09:13 PM

thanks i got it to work. i used this fix:
addd ip and box1 to /etc/hosts and it workd. :D


All times are GMT -5. The time now is 03:54 AM.