View previous topic :: View next topic |
Author |
Message |
innocentbeats Tux's lil' helper
Joined: 15 Jul 2003 Posts: 76
|
Posted: Sun Nov 23, 2003 3:51 pm Post subject: Apache does not work |
|
|
Hi,
I emerged apache and webmin and I cannot get apache to work.
I started it out of webmin then this error occurs:
Failed to start apache :
/sbin/runscript.sh: line 1: DocumentRoot: command not found
/sbin/runscript.sh: line 2: ServerAdmin: command not found
/sbin/runscript.sh: line 3: ServerName: command not found
* Starting apache2...apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ !! ]
When I try to start it from a terminal with /etc/init.d/apache2 start
this occurs:
* Starting apache...
[Sun Nov 23 16:39:37 2003] [alert] apache: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]
Where could be the error?
CU |
|
Back to top |
|
|
ozukir@ Apprentice
Joined: 14 Oct 2002 Posts: 209 Location: USA
|
Posted: Sun Nov 23, 2003 7:14 pm Post subject: |
|
|
See this page for information on the ServerName directive. Very likely Apache is unable to resolve the fully qualified domain name. This directive should usually be set. At a bare minimum, your hostname should resolve with your /etc/hosts file.
HTH. |
|
Back to top |
|
|
|