Apache2 server does not start cannot pen shared object file

Posted by sid__ on Server Fault See other posts from Server Fault or by sid__
Published on 2010-05-08T06:12:21Z Indexed on 2010/05/08 6:18 UTC
Read the original article Hit count: 274

Filed under:
|
|

I am working with Apache and Passenger for a Rails project. And a during a restart I got the following error

Cannot load /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so into server: /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so: cannot open shared object file: No such file or directory

However there is no change in the apache configuration file. I have attached the snippet from the conf file

287 LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so

288 PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11

289 PassengerRuby /usr/bin/ruby1.8

I am also unable to locate the shared object file in the location pointed to by the server though I am not really sure how the .so file is works (created/destroyed)

I would also appreciate it if someone could explain to me what exactly has happened. I understand the shared object file is mission, what could be the reason it got deleted.

© Server Fault or respective owner

Related posts about apache

Related posts about passenger