Even-though I have apache installed on my ubuntu box passenger can't seem to find it.
I ran a service apache2 status and its stopped but I have the ability to run it and it still isn't found.
Here is the output from the passenger-install-apache-module....
Welcome to the Phusion Passenger Apache 2 module installer, v4.0.33.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
--------------------------------------------
Which languages are you interested in?
Override selection with --languages.
‣ ⬢ Ruby
⬢ Python
⬢ Node.js
⬡ Meteor
--------------------------------------------
Checking for required software...
* Checking for C compiler...
Found: yes
Location: /usr/bin/cc
* Checking for C++ compiler...
Found: yes
Location: /usr/bin/c++
* Checking for Curl development headers with SSL support...
Found: yes
Usable: yes
Version: libcurl 7.22.0
curl-config location: /usr/bin/curl-config
Supports SSL: yes
Header location: /usr/include/curl/curl.h
* Checking for OpenSSL development headers...
Found: yes
Location: /usr/include/openssl/ssl.h
* Checking for Zlib development headers...
Found: yes
Location: /usr/include/zlib.h
* Checking for Apache 2...
Found: yes
Location of httpd: /usr/sbin/apache2
Apache version: 2.2.22
* Checking for Apache 2 development headers...
Found: yes
Location of apxs2: /usr/bin/apxs2
* Checking for Rake (associated with /usr/bin/ruby1.8)...
/var/lib/gems/1.8/gems/passenger-4.0.33/lib/phusion_passenger/platform_info/ruby.rb:39: warning: already initialized constant GEM_HOME
/var/lib/gems/1.8/gems/passenger-4.0.33/lib/phusion_passenger/platform_info/ruby.rb:44: warning: already initialized constant RUBY_ENGINE
Found: yes
Location: /usr/bin/ruby1.8 /usr/local/bin/rake
* Checking for OpenSSL support for Ruby...
Found: yes
* Checking for RubyGems...
Found: yes
* Checking for Ruby development headers...
Found: yes
Location: /usr/lib/ruby/1.8/x86_64-linux/ruby.h
* Checking for rack...
Found: yes
* Checking for Apache Portable Runtime (APR) development headers...
Found: yes
Version: 1.4.6
Location: /usr/bin/apr-1-config
* Checking for Apache Portable Runtime Utility (APU) development headers...
Found: yes
Version: 1.3.12
Location: /usr/bin/apu-1-config
--------------------------------------------
Sanity checking Apache installation...
--------------------------------------------
*** EXCEPTION: An internal error occurred. No information detected for /usr/bin/apxs2 (@apache2 is nil). Please contact this program's authors for support, and please attach the full output of this installer, as well as the full output of the command 'passenger-config --detect-apache2'. (RuntimeError)
/var/lib/gems/1.8/gems/passenger-4.0.33/bin/passenger-install-apache2-module:197:in `check_whether_there_are_multiple_apache_installs'
/var/lib/gems/1.8/gems/passenger-4.0.33/bin/passenger-install-apache2-module:121:in `run_steps'
/var/lib/gems/1.8/gems/passenger-4.0.33/lib/phusion_passenger/abstract_installer.rb:70:in `run'
/var/lib/gems/1.8/gems/passenger-4.0.33/bin/passenger-install-apache2-module:393
/usr/local/bin/passenger-install-apache2-module:19:in `load'
/usr/local/bin/passenger-install-apache2-module:19
--------------------------------------------
Oops, something went wrong :-(
We're sorry, but it looks like this installer ran into an unexpected problem.
Please visit the following website for support. We'll do our best to help you.
http://www.phusionpassenger.com/support
When submitting a support inquiry, please copy and paste the entire installer
output.
Here is the output from the passenger-config --detect-apache2
Looking for possible Apache installations...
* Looking for /usr/local/sbin/apxs2: not found
* Looking for /usr/local/bin/apxs2: not found
* Looking for /usr/sbin/apxs2: not found
* Looking for /usr/bin/apxs2: found
* Looking for /sbin/apxs2: not found
* Looking for /bin/apxs2: not found
* Looking for /usr/games/apxs2: not found
* Looking for /opt/puppet/bin/apxs2: not found
* Looking for /opt/puppet/sbin/apxs2: not found
* Looking for /usr/local/sbin/apxs: not found
* Looking for /usr/local/bin/apxs: not found
* Looking for /usr/sbin/apxs: not found
* Looking for /usr/bin/apxs: not found
* Looking for /sbin/apxs: not found
* Looking for /bin/apxs: not found
* Looking for /usr/games/apxs: not found
* Looking for /opt/puppet/bin/apxs: not found
* Looking for /opt/puppet/sbin/apxs: not found
Analyzing /usr/bin/apxs2...
Detecting main Apache executable...
* Looking for /usr/bin/apache2: not found
* Looking for /usr/sbin/apache2: found
Version detected: 2.2.22
Detecting control command...
* Looking for /usr/bin/apache2ctl: not found
* Looking for /usr/bin/apachectl2: not found
* Looking for /usr/bin/apachectl: not found
* Looking for /usr/sbin/apache2ctl: found
Default config file location detected: /etc/apache2/apache2.conf
Cannot detect error log file!
Cannot find a usable Apache installation using /usr/bin/apxs2.
Final autodetection results
Sorry, this program cannot find an Apache installation.
To install Apache, please run the following. It will tell you how to install Apache.
/var/lib/gems/1.8/gems/passenger-4.0.33/bin/passenger-install-apache2-module
If you are sure that you have Apache installed, please read the documentation:
* /var/lib/gems/1.8/gems/passenger-4.0.33/doc/Users guide Apache.html, section
section 'Installation' -> 'Customizing the compilation process' ->
'Forcing location of command line tools and dependencies'
* Or visit the online version:
Any ideas why passenger can't find my apache2 installation?
Thanks.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/4c92b9d7-8ac1-4eac-9dc4-e8a21737ef98%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at http://groups.google.com/group/phusion-passenger.