Vell
2013-Mar-01 16:46 UTC
Attempting to install passenger 3.0.19 and getting mod_passenger: can''t open shared object file
Hello all, I am trying to install passenger on a server that has apache installed from source. The install seemed to work fine but when I restart the httpd service I get the following error: Starting httpd: httpd: Syntax error on line 451 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache2/conf/extra/httpd-passenger.conf: Cannot load /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so into server: /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so: cannot open shared object file: No such file or directory My current environment is: Centos 6.2 Apache 2 Rails 3.2.12 Passenger 3.0.19 Ruby 1.9.3p392 I have not found a way to address this issue and my google searching hasn''t revealed any concrete way to solve this. Any help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/RugX9Y69XaEJ. For more options, visit https://groups.google.com/groups/opt_out.
Jordon Bedwell
2013-Mar-01 16:49 UTC
Re: Attempting to install passenger 3.0.19 and getting mod_passenger: can''t open shared object file
On Fri, Mar 1, 2013 at 10:46 AM, Vell <lovell.mcilwain-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am trying to install passenger on a server that has apache installed from > source. The install seemed to work fine but when I restart the httpd service > I get the following error: > > Starting httpd: httpd: Syntax error on line 451 of > /usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of > /usr/local/apache2/conf/extra/httpd-passenger.conf: Cannot load > /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so > into server: > /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so: > cannot open shared object file: No such file or directorysudo find / -name mod_passenger.so Change your so line to that file. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Vell
2013-Mar-01 16:59 UTC
Re: Attempting to install passenger 3.0.19 and getting mod_passenger: can''t open shared object file
Thanks Jordan thats what I needed. Sorry I didn''t think of that solution on my own. On Friday, March 1, 2013 11:49:33 AM UTC-5, Jordon Bedwell wrote:> > On Fri, Mar 1, 2013 at 10:46 AM, Vell <lovell....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> > wrote: > > I am trying to install passenger on a server that has apache installed > from > > source. The install seemed to work fine but when I restart the httpd > service > > I get the following error: > > > > Starting httpd: httpd: Syntax error on line 451 of > > /usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of > > /usr/local/apache2/conf/extra/httpd-passenger.conf: Cannot load > > > /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so > > > into server: > > > /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/ext/apache2/mod_passenger.so: > > > cannot open shared object file: No such file or directory > > sudo find / -name mod_passenger.so > Change your so line to that file. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/FIwgN-5BEhMJ. For more options, visit https://groups.google.com/groups/opt_out.