theKindOfMe

September 29, 2010

fixing mod_passenger.so: cannot open shared object file: Permission denied

Filed under: Uncategorized — Tags: , — yasi8h @ 1:22 am

Got this error when trying to start up apache. My config was as follows.

ruby 1.9
rvm
apache
centos 5.3
rails 3

How i got around this is by switching off selinux on the system! Not ideal but it works.

look at http://www.electrictoolbox.com/switch-off-selinux-centos-5/ on how to disable selinux on your system.

Advertisements

2 Comments »

  1. […] I got a error while running apache with passenger. So to make it work i turned off selinux (look at this link on […]

    Pingback by Installing rvm/ruby 1.9/mysql2/passenger on CentOS 5.3 « theKindOfMe — September 29, 2010 @ 1:23 am

  2. Often Oracle Enterprise Linux will block the load .:
    # as root drop selinux
    setenforce 0

    Then start apache.

    if it works review your security needs and system settings.
    JD

    Comment by JD — August 14, 2012 @ 6:31 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: