Re: [Puppet Users] passenger-install-apache2-module fails

2013-01-23 Thread Tony Caffe
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_641.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.noarch3.0.2-1.el6
puppet-dashboard.noarch  1.2.20-1.el6
puppet-server.noarch 3.0.2-1.el6
puppetlabs-release.noarch6-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?

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/1Ay-iVxmDA8J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

[root@new_hydra ~]# puppet agent --test -d
Debug: Using settings: adding file resource 'plugindest': 
'File[/var/lib/puppet/lib]{:ensure=:directory, :backup=false, 
:loglevel=:debug, :path=/var/lib/puppet/lib, :links=:follow}'
Debug: Using settings: adding file resource 'rundir': 
'File[/var/run/puppet]{:ensure=:directory, :backup=false, :loglevel=:debug, 
:mode=755, :path=/var/run/puppet, :links=:follow}'
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport 
does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Debug: Using settings: adding file resource 'hostprivkey': 
'File[/var/lib/puppet/ssl/private_keys/new_hydra-agent.pem]{:ensure=:file, 
:backup=false, :owner=puppet, :loglevel=:debug, :mode=600, 
:path=/var/lib/puppet/ssl/private_keys/new_hydra-agent.pem, :links=:follow}'
Debug: Using settings: adding file resource 'clientbucketdir': 
'File[/var/lib/puppet/clientbucket]{:ensure=:directory, :backup=false, 
:loglevel=:debug, :mode=750, :path=/var/lib/puppet/clientbucket, 
:links=:follow}'
Debug: Using settings: adding file resource 'lastrunfile': 
'File[/var/lib/puppet/state/last_run_summary.yaml]{:ensure=:file, 
:backup=false, :loglevel=:debug, :mode=644, 
:path=/var/lib/puppet/state/last_run_summary.yaml, :links=:follow}'
Debug: Using settings: adding file resource 'ssldir': 
'File[/var/lib/puppet/ssl]{:ensure=:directory, :backup=false, 
:owner=puppet, :loglevel=:debug, :mode=771, 
:path=/var/lib/puppet/ssl, :links=:follow}'
Debug: Using settings: adding file resource 'graphdir': 
'File[/var/lib/puppet/state/graphs]{:ensure=:directory, :backup=false, 
:loglevel=:debug, :path=/var/lib/puppet/state/graphs, :links=:follow}'
Debug: Using settings: adding file resource 'logdir': 
'File[/var/log/puppet]{:ensure=:directory, :group=puppet, :backup=false, 
:owner=puppet, :loglevel=:debug, :mode=750, :path=/var/log/puppet, 
:links=:follow}'
Debug: Using settings: adding file resource 'privatekeydir': 
'File[/var/lib/puppet/ssl/private_keys]{:ensure=:directory, :backup=false, 
:owner=puppet, :loglevel=:debug, :mode=750, 
:path=/var/lib/puppet/ssl/private_keys, :links=:follow}'
Debug: Using settings: adding file resource 'clientyamldir': 
'File[/var/lib/puppet/client_yaml]{:ensure=:directory, :backup=false, 
:loglevel=:debug, :mode=750, :path=/var/lib/puppet/client_yaml, 
:links=:follow}'
Debug: Using settings: adding file resource 'hostpubkey': 
'File[/var/lib/puppet/ssl/public_keys/new_hydra-agent.pem]{:ensure=:file, 
:backup=false, :owner=puppet, :loglevel=:debug, :mode=644, 
:path=/var/lib/puppet/ssl/public_keys/new_hydra-agent.pem, :links=:follow}'
Debug: Using settings: adding file resource 'statedir': 
'File[/var/lib/puppet/state]{:ensure=:directory, :backup=false, 
:loglevel=:debug, :mode=1755, :path=/var/lib/puppet/state, 
:links=:follow}'
Debug: Using settings: adding file resource 'lastrunreport': 
'File[/var/lib/puppet/state/last_run_report.yaml]{:ensure=:file, 
:backup=false, :loglevel=:debug, :mode=640, 
:path=/var/lib/puppet/state/last_run_report.yaml, :links=:follow}'
Debug: Using settings: adding file resource 'publickeydir': 
'File[/var/lib/puppet/ssl/public_keys]{:ensure=:directory, :backup=false, 
:owner=puppet, 

Re: [Puppet Users] passenger-install-apache2-module fails

2012-09-11 Thread Tony Caffe
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.


On Monday, September 10, 2012 8:26:48 PM UTC-7, Ramin K wrote:

 On 9/10/2012 6:48 PM, Jakov Sosic wrote: 
  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. 

 Or you can just use the official rpm/debs from the Passenger guys 
 themselves. 

 https://www.phusionpassenger.com/native_packages 

 Ramin 



-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/zHXuaWB4SbUJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] passenger-install-apache2-module fails

2012-09-11 Thread Jakov Sosic
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.

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



Re: [Puppet Users] passenger-install-apache2-module fails

2012-09-10 Thread Jakov Sosic

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

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



Re: [Puppet Users] passenger-install-apache2-module fails

2012-09-10 Thread Ramin K

On 9/10/2012 6:48 PM, Jakov Sosic wrote:

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.


Or you can just use the official rpm/debs from the Passenger guys 
themselves.


https://www.phusionpassenger.com/native_packages

Ramin

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



[Puppet Users] passenger-install-apache2-module fails

2012-09-07 Thread Tony Caffe
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,

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/ttm5rHfRv4oJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



puppet-passenger-error.rtf
Description: RTF file