View previous topic :: View next topic |
Author |
Message |
TheSexyGêêk n00b
Joined: 12 May 2004 Posts: 7 Location: The Island of St. Kitts
|
Posted: Mon Jul 19, 2004 12:35 pm Post subject: Apache2 returns no errors but process doesn't start.(solved) |
|
|
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 |
|
|
ursus n00b
Joined: 16 Jul 2004 Posts: 16 Location: 52.2170° N, 4.5330° E
|
Posted: Mon Jul 19, 2004 1:06 pm Post subject: |
|
|
Try Code: | /etc/init.d/apache2 start |
so that the config info from /etc/conf.d get used. |
|
Back to top |
|
|
TheSexyGêêk n00b
Joined: 12 May 2004 Posts: 7 Location: The Island of St. Kitts
|
Posted: Mon Jul 19, 2004 4:17 pm Post subject: |
|
|
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 |
|
|
sunder n00b
Joined: 05 Feb 2004 Posts: 21 Location: Victoria, BC
|
Posted: Mon Jul 19, 2004 9:05 pm Post subject: |
|
|
Do a quick check in /var/log/apache2/error_log and see what it says |
|
Back to top |
|
|
TheSexyGêêk n00b
Joined: 12 May 2004 Posts: 7 Location: The Island of St. Kitts
|
Posted: Tue Jul 20, 2004 3:41 pm Post subject: |
|
|
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 |
|
|
|