Hi, 


I have configured puppet with passenger (using - 
https://docs.puppet.com/guides/passenger.html AND 
http://www.olindata.com/blog/2014/09/setup-puppet-master-passenger-and-apache-centos
 ).


[root@a-puppet-03 ~]# puppet --version

4.4.2

[root@a-puppet-03 ~]# ruby --version

ruby 2.1.8p440 (2015-12-16 revision 53160) [x86_64-linux]

[root@a-puppet-03 ~]# passenger --version

Phusion Passenger 5.0.28

[root@a-puppet-03 ~]# cat /etc/centos-release

CentOS release 6.7 (Final)

[root@a-puppet-03 ~]#


Things are fine till the last step, when puppet agent is run, there are 
lots of error. Mainly LoadError.


puppet agent -t 


[ 2016-05-18 04:06:41.8270 19959/7f95efba2700 
age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-100] Cannot checkout 
session because a spawning error occurred. The identifier of the error is 
ba45fc42. Please see earlier logs for details about the error.

App 25759 stdout:

App 25759 stdout:

[ 2016-05-18 04:06:42.2164 19959/7f95ee7a0700 
age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for 
application /usr/share/puppet/rack/puppetmasterd: An error occurred while 
starting up the preloader.

  Error ID: d1069d73

  Error details saved to: /tmp/passenger-error-SqIO1Z.html

  *Message from application: cannot load such file -- 
puppet/util/command_line (LoadError)*

  /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'

  /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'

  *config.ru:41:in `block in <main>*'

  /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in 
`instance_eval'

  /usr/local/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in 
`initialize'

  config.ru:1:in `new'

  config.ru:1:in `<main>'

  
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:110:in
 
`eval'

  
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:110:in
 
`preload_app'

  
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:156:in
 
`<module:App>'

  
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:30:in
 
`<module:PhusionPassenger>'

  
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:29:in
 
`<main>'


Please can someone help.. thanks in advance..

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4adaf1f5-792e-4af8-acab-e945b19cd427%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to