passenger-install-apache2-module fails

653 views
Skip to first unread message

Tony Caffe

unread,
Sep 7, 2012, 5:00:03 PM9/7/12
to puppet...@googlegroups.com
Hi I have installed passenger on many machine and this is my 3rd puppet master on CentOS 6. This one is giving me problems and I have been trying with different gem versions and still no go.
When I run passenger-install-apache2-module I get this error:

Sorry its really long so I copied to a text doc attached to this post.

Any Idea on whats going wrong. I have not had a problem with this before and without the passenger_mod.so I cant get it to work.

My last resort is to not use apache but I have never used an alternative and all my infrastructure is apache. I am installing on a cloud machine from GoGrid. My others have been on RackSpace.

Thanks in advance,
puppet-passenger-error.rtf

Craig White

unread,
Sep 10, 2012, 11:13:43 AM9/10/12
to puppet...@googlegroups.com
----
We use nginx for most everything around here these days but like apache, passenger just seems to build without issues.

I would suggest that you get on support list for passenger and get help for getting the passenger module to install on apache since that is what you are committed to using.

Craig

Jakov Sosic

unread,
Sep 10, 2012, 9:48:15 PM9/10/12
to puppet...@googlegroups.com
On 09/07/2012 11:00 PM, Tony Caffe wrote:
> Hi I have installed passenger on many machine and this is my 3rd puppet
> master on CentOS 6. This one is giving me problems and I have been
> trying with different gem versions and still no go.
> When I run passenger-install-apache2-moduleI get this error:
>
> Sorry its really long so I copied to a text doc attached to this post.
>
> Any Idea on whats going wrong. I have not had a problem with this before
> and without the passenger_mod.so I cant get it to work.
>
> My last resort is to not use apache but I have never used an alternative
> and all my infrastructure is apache. I am installing on a cloud machine
> from GoGrid. My others have been on RackSpace.
>
> Thanks in advance,

It's always better to build RPM packages and use them, so you don't have
to have all the devel packages and gcc/gcc-c++ on the production.

Take a look here:
ftp://ftp.srce.hr/redhat/base/el6/x86_64/

You can use my mod_passenger and ruby gems RPM packages for el6, they're
build for RedMine 2.x but I don't see why wouldn't they support puppet too.


--
Jakov Sosic
www.srce.unizg.hr

Ramin K

unread,
Sep 10, 2012, 11:26:40 PM9/10/12
to puppet...@googlegroups.com
Or you can just use the official rpm/debs from the Passenger guys
themselves.

https://www.phusionpassenger.com/native_packages

Ramin

Tony Caffe

unread,
Sep 11, 2012, 11:04:30 AM9/11/12
to puppet...@googlegroups.com, ramin...@badapple.net
Thanks. now that the rpm is installed, I remove the passenger gem?
So then do I still have to run:

passenger-install-apache2-module

after rpm is installed.
I am not sure of next step.

Jakov Sosic

unread,
Sep 11, 2012, 11:30:07 AM9/11/12
to puppet...@googlegroups.com
On 09/11/2012 05:04 PM, Tony Caffe wrote:
> Thanks. now that the rpm is installed, I remove the passenger gem?
> So then do I still have to run:
>
> passenger-install-apache2-module
>
> after rpm is installed.
> I am not sure of next step.

You should remove the gem first, then install the package and that
should be that. Package should done all the job for you.

Anthony Affee

unread,
Sep 11, 2012, 11:30:56 AM9/11/12
to puppet...@googlegroups.com
Perfect that worked. Thanks.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.




--
Anthony Affee
Jr. Linux System Administrator
Woody's Books, Inc.
E-mail: Ant...@woboinc.com
Skype: Tony_Caffe
Phone: 619.646.9816

Tony Caffe

unread,
Jan 23, 2013, 6:26:05 PM1/23/13
to puppet...@googlegroups.com
Ok well It never finished working in the end. I have just been to busy to mess with it. So I now have passenger installed and my versions are as follows:

ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
CentOS release 6.3 (Final)
Apache/2.2.15 (Unix)
rubygem-passenger-3.0.19-1.el6.x86_64
mod_ssl-2.2.15-15.el6.centos.1.x86_64
rubygem-daemon_controller.noarch 1.0.0-1.1.el6 
rubygem-fastthread.x86_64        1.0.7-2.el6
rubygem-json.x86_64              1.4.6-2.el6
rubygem-passenger-native.x86_64  1:3.0.19-1.el6 
rubygem-passenger-native-libs.x86_64
rubygem-rack.noarch              1:1.1.0-2.el6
rubygem-rake.noarch              0.8.7-2.1.el6
rubygems.noarch                  1.3.7-1.el6
puppet.noarch                    3.0.2-1.el6
puppet-dashboard.noarch          1.2.20-1.el6
puppet-server.noarch             3.0.2-1.el6
puppetlabs-release.noarch        6-6

I am getting a new error when I try to run (File put in attachment):

puppet agent -t -d

Among other things I get the error:

Error: Could not request certificate: Error 500 on SERVER: 
Ruby (Rack) application could not be started

This all is in html tags/code. Weird.

Any ideas?

puppet-agent-test-error.txt
Reply all
Reply to author
Forward
0 new messages