The installation of passenger went just fine, but there was no final
instruction to copy the passenger config file to apache2/other.
I manually did
sudo bash -c 'passenger-install-apache2-module --snippet >
/etc/apache2/other/passenger.conf’
It did change the behavior a bit. It allowed me to see the whimsy home page on
my local machine.
Sounds like the instructions have changed a bit from “copy this information to
apache2/other” to “ your Apache configuration file, and add these lines:"
Maybe the log of installation can help shed some light?
Welcome to the Phusion Passenger Apache 2 module installer, v5.0.30.
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?
Use <space> to select.
If the menu doesn't display correctly, press '!'
‣ ⬢ 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
curl-config location: /opt/local/bin/curl-config
Header location: /opt/local/include/curl/curl.h
Version: libcurl 7.46.0
Usable: yes
Supports SSL: yes
* Checking for Zlib development headers...
Found: yes
Location: /usr/include/zlib.h
* Checking for Apache 2...
Found: yes
Location of httpd: /usr/sbin/httpd
Apache version: 2.4.18
* Checking for Apache 2 development headers...
Found: yes
Location of apxs2: /usr/sbin/apxs
* Checking for Rake (associated with /usr/local/Cellar/ruby/2.3.1/bin/ruby)...
Found: yes
Location: /usr/local/Cellar/ruby/2.3.1/bin/ruby
/usr/local/Cellar/ruby/2.3.1/bin/rake
* Checking for OpenSSL support for Ruby...
Found: yes
* Checking for RubyGems...
Found: yes
* Checking for Ruby development headers...
Found: yes
Location: /usr/local/Cellar/ruby/2.3.1/include/ruby-2.3.0/ruby.h
* Checking for rack...
Found: yes
* Checking for Apache Portable Runtime (APR) development headers...
Found: yes
Location: /usr/bin/apr-1-config
Version: 1.4.8
* Checking for Apache Portable Runtime Utility (APU) development headers...
Found: yes
Location: /usr/bin/apu-1-config
Version: 1.5.2
--------------------------------------------
Checking whether there are multiple Apache installations...
Only a single installation detected. This is good.
--------------------------------------------
Compiling and installing Apache 2 module...
cd /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30
# env NOEXEC_DISABLE=1 /usr/local/Cellar/ruby/2.3.1/bin/ruby
/usr/local/Cellar/ruby/2.3.1/bin/rake RELEASE=yes apache2:clean apache2
rm -rf buildout/cache
rm -rf buildout/common/libboost_oxt.a buildout/common/libboost_oxt
rm -f buildout/common/libpassenger_common/Logging.o
buildout/common/libpassenger_common/Exceptions.o
buildout/common/libpassenger_common/Utils/SystemTime.o
buildout/common/libpassenger_common/Utils/StrIntUtils.o
buildout/common/libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o
buildout/common/libpassenger_common/Utils/IOUtils.o
buildout/common/libpassenger_common/Utils.o
…hundreds of lines skipped...
/bin/sh ./libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"libuv\"
-DPACKAGE_TARNAME=\"libuv\" -DPACKAGE_VERSION=\"1.8.0\"
-DPACKAGE_STRING=\"libuv\ 1.8.0\"
-DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.8.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1
-DHAVE_LIBPTHREAD=1 -I.
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/include
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src/unix
-D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
-Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -D_DARWIN_USE_64_BIT_INODE=1
-D_DARWIN_UNLIMITED_SELECT=1 -D_REENTRANT -I/usr/local/include -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-long-long -Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -MT
src/unix/libuv_la-proctitle.lo -MD -MP -MF
src/unix/.deps/libuv_la-proctitle.Tpo -c -o src/unix/libuv_la-proctitle.lo
`test -f 'src/unix/proctitle.c' || echo
'/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/'`src/unix/proctitle.c
libtool: compile: cc -DPACKAGE_NAME=\"libuv\" -DPACKAGE_TARNAME=\"libuv\"
-DPACKAGE_VERSION=\"1.8.0\" "-DPACKAGE_STRING=\"libuv 1.8.0\""
-DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.8.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1
-DHAVE_LIBPTHREAD=1 -I.
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/include
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src/unix
-D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
-Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -D_DARWIN_USE_64_BIT_INODE=1
-D_DARWIN_UNLIMITED_SELECT=1 -D_REENTRANT -I/usr/local/include -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-long-long -Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -MT src/unix/libuv_la-kqueue.lo
-MD -MP -MF src/unix/.deps/libuv_la-kqueue.Tpo -c
/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src/unix/kqueue.c
-o src/unix/libuv_la-kqueue.o
mv -f src/unix/.deps/libuv_la-kqueue.Tpo src/unix/.deps/libuv_la-kqueue.Plo
libtool: compile: cc -DPACKAGE_NAME=\"libuv\" -DPACKAGE_TARNAME=\"libuv\"
-DPACKAGE_VERSION=\"1.8.0\" "-DPACKAGE_STRING=\"libuv 1.8.0\""
-DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.8.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1
-DHAVE_LIBPTHREAD=1 -I.
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/include
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src
-I/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src/unix
-D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
-Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -D_DARWIN_USE_64_BIT_INODE=1
-D_DARWIN_UNLIMITED_SELECT=1 -D_REENTRANT -I/usr/local/include -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-long-long -Wno-missing-field-initializers -fvisibility=hidden
-DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE
-DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w -fvisibility=hidden -g -std=gnu89
-pedantic -Wall -Wextra -Wno-unused-parameter -MT
src/unix/libuv_la-proctitle.lo -MD -MP -MF
src/unix/.deps/libuv_la-proctitle.Tpo -c
/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/cxx_supportlib/vendor-copy/libuv/src/unix/proctitle.c
-o src/unix/libuv_la-proctitle.o
mv -f src/unix/.deps/libuv_la-proctitle.Tpo
src/unix/.deps/libuv_la-proctitle.Plo
/bin/sh ./libtool --tag=CC --mode=link cc -D_REENTRANT -I/usr/local/include
-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith
-Wwrite-strings -Wno-long-long -Wno-missing-field-initializers
-fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H
-DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w
-fvisibility=hidden -g -std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter
-D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -D_REENTRANT
-I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers
-fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H
-DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -w
-fvisibility=hidden -g -std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter
-no-undefined -version-info 1:0:0 -o libuv.la -rpath /usr/local/lib
src/libuv_la-fs-poll.lo src/libuv_la-inet.lo src/libuv_la-threadpool.lo
src/libuv_la-uv-common.lo src/libuv_la-version.lo src/unix/libuv_la-async.lo
src/unix/libuv_la-core.lo src/unix/libuv_la-dl.lo src/unix/libuv_la-fs.lo
src/unix/libuv_la-getaddrinfo.lo src/unix/libuv_la-getnameinfo.lo
src/unix/libuv_la-loop-watcher.lo src/unix/libuv_la-loop.lo
src/unix/libuv_la-pipe.lo src/unix/libuv_la-poll.lo
src/unix/libuv_la-process.lo src/unix/libuv_la-signal.lo
src/unix/libuv_la-stream.lo src/unix/libuv_la-tcp.lo
src/unix/libuv_la-thread.lo src/unix/libuv_la-timer.lo src/unix/libuv_la-tty.lo
src/unix/libuv_la-udp.lo src/unix/libuv_la-darwin.lo
src/unix/libuv_la-darwin-proctitle.lo src/unix/libuv_la-fsevents.lo
src/unix/libuv_la-kqueue.lo src/unix/libuv_la-proctitle.lo -lpthread -ldl
libtool: link: ar cru .libs/libuv.a src/libuv_la-fs-poll.o src/libuv_la-inet.o
src/libuv_la-threadpool.o src/libuv_la-uv-common.o src/libuv_la-version.o
src/unix/libuv_la-async.o src/unix/libuv_la-core.o src/unix/libuv_la-dl.o
src/unix/libuv_la-fs.o src/unix/libuv_la-getaddrinfo.o
src/unix/libuv_la-getnameinfo.o src/unix/libuv_la-loop-watcher.o
src/unix/libuv_la-loop.o src/unix/libuv_la-pipe.o src/unix/libuv_la-poll.o
src/unix/libuv_la-process.o src/unix/libuv_la-signal.o
src/unix/libuv_la-stream.o src/unix/libuv_la-tcp.o src/unix/libuv_la-thread.o
src/unix/libuv_la-timer.o src/unix/libuv_la-tty.o src/unix/libuv_la-udp.o
src/unix/libuv_la-darwin.o src/unix/libuv_la-darwin-proctitle.o
src/unix/libuv_la-fsevents.o src/unix/libuv_la-kqueue.o
src/unix/libuv_la-proctitle.o
libtool: link: ranlib .libs/libuv.a
libtool: link: ( cd ".libs" && rm -f "libuv.la" && ln -s "../libuv.la"
"libuv.la" )
c++ -o buildout/support-binaries/PassengerAgent
buildout/common/libpassenger_common/Logging.o
buildout/common/libpassenger_common/Exceptions.o
buildout/common/libpassenger_common/Utils/SystemTime.o
buildout/common/libpassenger_common/Utils/StrIntUtils.o
buildout/common/libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o
buildout/common/libpassenger_common/Utils/IOUtils.o
buildout/common/libpassenger_common/Utils.o
buildout/common/libpassenger_common/vendor-modified/modp_b64.o
buildout/common/libpassenger_common/jsoncpp.o
buildout/common/libpassenger_common/UnionStationFilterSupport.o
buildout/common/libpassenger_common/Utils/CachedFileStat.o
buildout/common/libpassenger_common/Utils/LargeFiles.o
buildout/common/libpassenger_common/MemoryKit/mbuf.o
buildout/common/libpassenger_common/MemoryKit/palloc.o
buildout/common/libpassenger_common/ServerKit/http_parser.o
buildout/common/libpassenger_common/ServerKit/Implementation.o
buildout/common/libpassenger_common/DataStructures/LString.o
buildout/common/libpassenger_common/Utils/Hasher.o
buildout/common/libpassenger_common/AppTypes.o
buildout/support-binaries/AgentMain.o buildout/support-binaries/AgentBase.o
buildout/support-binaries/WatchdogMain.o buildout/support-binaries/CoreMain.o
buildout/support-binaries/CoreApplicationPool.o
buildout/support-binaries/CoreController.o
buildout/support-binaries/UstRouterMain.o
buildout/support-binaries/SystemMetricsMain.o
buildout/support-binaries/TempDirToucherMain.o
buildout/support-binaries/SpawnPreparerMain.o buildout/common/libboost_oxt.a
buildout/libev/.libs/libev.a buildout/libuv/.libs/libuv.a -lpthread -ldl
-L/opt/local/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -lz -std=gnu++11
-lpthread -ldl -Wl,-dead_strip
mkdir -p 'buildout/ruby/ruby-2.3.1-x86_64-macosx/'
cd 'buildout/ruby/ruby-2.3.1-x86_64-macosx/' &&
/usr/local/Cellar/ruby/2.3.1/bin/ruby
'/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_native_extension/extconf.rb'
checking for alloca.h... yes
checking for ruby/version.h... yes
checking for ruby/io.h... yes
checking for ruby/thread.h... yes
checking for ruby_version... no
checking for rb_thread_io_blocking_region() in ruby/io.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
creating Makefile
cd 'buildout/ruby/ruby-2.3.1-x86_64-macosx/' && make
compiling
/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/src/ruby_native_extension/passenger_native_support.c
linking shared-object passenger_native_support.bundle
--------------------------------------------
Almost there!
Please edit your Apache configuration file, and add these lines:
LoadModule passenger_module
/usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30
PassengerDefaultRuby /usr/local/Cellar/ruby/2.3.1/bin/ruby
</IfModule>
After you restart Apache, you are ready to deploy any number of web
applications on Apache, with a minimum amount of configuration!
Press ENTER when you are done editing.
--------------------------------------------
Validating installation...
* Checking whether this Passenger install is in PATH... ✓
* Checking whether there are no other Passenger installations... ✓
* Checking whether Apache is installed... ✓
* Checking whether the Passenger module is correctly configured in Apache... ✓
Everything looks good. :-)
Craig L Russell
Architect
[email protected]
P.S. A good JDO? O, Gasp!