Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 returns no errors but process doesn't start.(solved)
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 Jul 19, 2004 12:35 pm    Post subject: Apache2 returns no errors but process doesn't start.(solved) Reply with quote

I run "apache2" and I don't get any response. I just get returned to the prompt. I can't access the default page. Port:80 is closed. And ps -A shows no apache related processes. What am i doing wrong?

This is the second computer that I've installed gentoo on. And I had the same problem. I was never able to resolve it.

I've tried using "apache2ctl start" but the result is the same. Seems that the process just isn't starting. How can i fix this? I'm desperate.


Last edited by TheSexyGêêk on Tue Jul 20, 2004 3:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
ursus
n00b
n00b


Joined: 16 Jul 2004
Posts: 16
Location: 52.2170° N, 4.5330° E

PostPosted: Mon Jul 19, 2004 1:06 pm    Post subject: Reply with quote

Try
Code:
/etc/init.d/apache2 start

so that the config info from /etc/conf.d get used.
Back to top
View user's profile Send private message
TheSexyGêêk
n00b
n00b


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

PostPosted: Mon Jul 19, 2004 4:17 pm    Post subject: Reply with quote

Ok. I tried what you suggested and now i get "* Starting Apache [!!]"

No other output. How can I find out what's causing this?
Back to top
View user's profile Send private message
sunder
n00b
n00b


Joined: 05 Feb 2004
Posts: 21
Location: Victoria, BC

PostPosted: Mon Jul 19, 2004 9:05 pm    Post subject: Reply with quote

Do a quick check in /var/log/apache2/error_log and see what it says
Back to top
View user's profile Send private message
TheSexyGêêk
n00b
n00b


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

PostPosted: Tue Jul 20, 2004 3:41 pm    Post subject: Reply with quote

Yeah. I found the error_log (I'm such a newb) and it seems that I needed an entry in resolv.conf for the hostname I had set for my machine. Everything is working fine. Thanks for your help guys.
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