Sign in to follow this  
Q-Parser

Problem with starting Apache on Gentoo

Recommended Posts

Hi! I have a problem with Apache. I am not able to get it to work. I emerged Apache and wanted to start it with
/etc/init.d/apache2 start
and the output was * Apache2 has detected a syntax error in your configuration files: /sbin/runscript.sh: line 44: /usr/sbin/apache2: No such file or directory I wanted to edit that script but I couldn't find the mistake there. Could anybody help me with this? I even tried to re-emerged the package but it didn't help. Thanks

Share this post


Link to post
Share on other sites
Quote:
Original post by smart_idiot
It would seem /usr/sbin/apache2 doesn't exist, which is rather odd.

Actually, /usr/sbin/apache2 doesn't exist! I don't know why. I wonder where it might have been placed, if ever. Is there another possible path where it could be located?

Share this post


Link to post
Share on other sites
This is weird. It seems like I have no apache installed at all! I'm going to emerge the newest apache (apache-2.0.52) and I'll see if the problem persists. But how can I run "/etc/init.d/apache2 start" when there's no apache? Or is it independent of what is installed or not? I'm confused now.

Share this post


Link to post
Share on other sites
You should ask in the Gentoo forums; you'll probably get a better response there. All I can say is "works for me".

AFAIK /etc/init.d/apache2 is pulled in by the apache ebuild - so I haven't a clue what the problem is, unless your portage is borked.

Share this post


Link to post
Share on other sites
i don't have the solution (thus sorry for bothering you), I've got an opinion (and maybe advice):

- remove gentoo, install eg. Slackware and compile all by own... it's much better as gentoo automagic installations, which will screw things...

regards,
m.

Share this post


Link to post
Share on other sites
Quote:
Original post by mx
i don't have the solution (thus sorry for bothering you), I've got an opinion (and maybe advice):

You were right, it isn't the solution!

I have re-emerged apache all over and I've encountered another trouble, and I don't know what it is. When I try to start apache2 I get this:
* Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]

Share this post


Link to post
Share on other sites
Sign in to follow this