LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Compiling my own apache2 on debian -- no /usr/sbin/apache2 ??? (http://www.linuxquestions.org/questions/linux-server-73/compiling-my-own-apache2-on-debian-no-usr-sbin-apache2-772386/)

jippen 11-30-2009 03:52 AM

Compiling my own apache2 on debian -- no /usr/sbin/apache2 ???
 
Working on a debian lenny server (rackspace), and trying to compile my own apache2 server.

So, I did like any good sysadmin, and made a quick script to make installation and maintainance easier. Very straightforward.

Now, the script seems to have gone through and been just happy, except for one problem: There is no /usr/sbin/apache2
I have /usr/sbin/apache2ctrl, but without the apache2 executeable, nothing happens when I run it.

Any other sysadmins able to help me get a /usr/sbin/apache2 file to appear?

Script is here: http://pastebin.ca/1693669
Logs are here: http://pastebin.ca/1693667

bathory 11-30-2009 04:04 AM

You don't have a "--prefix=/some/path" in your script, so apache is installed in the default /usr/local/apache2 directory. So the correct apachectl script is /usr/local/apache2/bin/apachectl and the binary you might be looking for is /usr/local/apache2/bin/httpd.
I guess that /usr/sbin/apache2 comes from a previous apache installation.

Regards

jippen 11-30-2009 04:21 AM

Ah-ha! One symbolic link later, and I have more stuff working. Thanks for the point in the right direction.


All times are GMT -5. The time now is 06:28 PM.