mod_passenger.so is missing

683 views
Skip to first unread message

Alan Vance

unread,
Oct 2, 2014, 9:22:49 AM10/2/14
to puppet...@googlegroups.com
Hi,
 
I'm new to puppet, ruby, passenger etc and am trying to get the free version of puppet installed (fyi, my servers have no internet connection).
 
The steps recommend using apache and passenger.
 
Installed ruby products but mod_passenger.so is missing:
 
rpm -qa | egrep ruby

ruby-augeas-0.4.1-3.el6.x86_64
rubygem-fastthread-1.0.7-1.el6.x86_64
ruby-libs-1.8.7.352-7.el6_2.x86_64
ruby-rdoc-1.8.7.352-7.el6_2.x86_64
ruby-shadow-2.2.0-2.el6.x86_64
ruby-devel-1.8.7.352-7.el6_2.x86_64
rubygem-rake-0.8.7-2.el6.rfx.noarch
ruby-1.8.7.352-7.el6_2.x86_64
rubygems-1.3.7-1.el6.noarch
rubygem-daemon_controller-1.0.0-1.1.el6.noarch
rubygem-passenger-3.0.9-2.el6.x86_64
rubygem-json-1.5.5-3.el6.x86_64
rubygem-rack-1.1.0-2.el6.noarch
ruby-irb-1.8.7.352-7.el6_2.x86_64
libselinux-ruby-2.0.94-5.3.el6.x86_64
 
find / -name "mod_passenger*" -ls

 60120    4 -rw-r--r--   1 root     root         1995 Nov 13  2011 /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.c
 
I have run :
 
passenger-install-apache2-module
--------------------------------------------
Checking for required software...
 * GNU C++ compiler... found at /usr/bin/g++
 * Curl development headers with SSL support... found
 * OpenSSL development headers... found
 * Zlib development headers... found
 * Ruby development headers... found
 * OpenSSL support for Ruby... found
 * RubyGems... found
 * Rake... found at /usr/bin/rake
 * rack... found
 * Apache 2... found at /usr/sbin/httpd
 * Apache 2 development headers... found at /usr/sbin/apxs
 * Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
 * Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config
--------------------------------------------
The Apache 2 module was successfully installed.
Please edit your Apache configuration file, and add these lines:
   LoadModule passenger_module /usr/lib64/httpd/modules/mod_passenger.so
   PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9
   PassengerRuby /usr/bin/ruby
After you restart Apache, you are ready to deploy any number of Ruby on Rails
applications on Apache, without any further Ruby on Rails-specific
configuration!
Press ENTER to continue.
 
ls -al /usr/lib64/httpd/modules/mod_passenger.so
ls: cannot access /usr/lib64/httpd/modules/mod_passenger.so: No such file or directory
 
I have searched the web but not found why rubygem-passenger does not include mod_passenger.so and I have tried 3 versions.
 
Any help appreciated,
 
Alan.

Chris Lee

unread,
Oct 2, 2014, 12:21:22 PM10/2/14
to puppet...@googlegroups.com
assuming linux you could run

yum whatprovides *mod_passenger.so

for example on my system it is as follows:

mod_passenger-3.0.17-2.el6.1.x86_64 : Apache Module for Phusion Passenger
Repo        : atds
Matched from:
Filename    : /usr/lib64/httpd/modules/mod_passenger.so



mod_passenger
-3.0.17-2.el6.1.x86_64 : Apache Module for Phusion Passenger
Repo        : installed
Matched from:
Filename    : /usr/lib64/httpd/modules/mod_passenger.so




Chris Lee

unread,
Oct 2, 2014, 12:23:10 PM10/2/14
to puppet...@googlegroups.com
ps: not so sure about the gems and why its not there?

Alan Vance

unread,
Oct 7, 2014, 12:35:06 PM10/7/14
to puppet...@googlegroups.com
I did an rpm query and could find the .c file but not the .so file.  In the end I copied it from somewhere else and continued, but so many more (different) problems after that, I decided it was taking too long and switched to the enterprise version of puppet that sorts all that out.
 
Thanks for the reply.
Reply all
Reply to author
Forward
0 new messages