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
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.
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:35 AM.|