Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
innocentbeats
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2003
Posts: 76

PostPosted: Sun Nov 23, 2003 3:51 pm    Post subject: Apache does not work Reply with quote

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
View user's profile Send private message
ozukir@
Apprentice
Apprentice


Joined: 14 Oct 2002
Posts: 209
Location: USA

PostPosted: Sun Nov 23, 2003 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum