LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-30-2009, 02:52 AM   #1
jippen
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
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
 
Old 11-30-2009, 03:04 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
1 members found this post helpful.
Old 11-30-2009, 03:21 AM   #3
jippen
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Ah-ha! One symbolic link later, and I have more stuff working. Thanks for the point in the right direction.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access `/usr/local/apache2/modules/libphp5.so' gravesb Linux - Software 13 12-02-2011 02:56 AM
Apache2 - have to restart apache2 process every 10 mins to clear /tmp directory.... levi dehaan Linux - Software 8 09-01-2009 06:34 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt Suse/Novell 14 04-18-2006 11:36 AM
Cannot load /usr/lib/apache2/libphp5.so into server Kristijan Slackware 1 10-08-2005 12:28 AM
strange problems compiling apache2, and/or mysql in debian JLTB Linux - Newbie 2 08-14-2004 04:30 PM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration