Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 won't deliver pages.
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
TheSexyGêêk
n00b
n00b


Joined: 12 May 2004
Posts: 7
Location: The Island of St. Kitts

PostPosted: Mon May 17, 2004 6:46 am    Post subject: Apache2 won't deliver pages. Reply with quote

I emerged Apache and ran "apache2ctl start" It appears to start but when i try to go to http://localhost, I get this error:

An error occurred while loading http://localhost/:
Could not connect to host localhost

I tried running "ps -A" to see if apache was actually loaded. I can't find the process. What am I doing wrong?
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Mon May 17, 2004 6:57 am    Post subject: Reply with quote

try `ps aux | grep apache`

that should show it... otherwise, try restarting apache, and look in your logs...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Scotty49
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 86

PostPosted: Mon May 17, 2004 10:29 am    Post subject: Reply with quote

Hello!

I don't know about apache2ctl, but
Code:
apache2 -k start

would IMHO show an error message, if sth. went wrong. Or try
Code:
/etc/init.d/apache2 start
, which will at least return an OK or "!!".
Make sure, localhost is mentioned in your /etc/hosts file.


Hope this helps,

Scotty
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