First off. As of Puppet 4 is the server part written in Clojure and runs on
the JVM, the parts that are still Ruby are also ran on the JVM with JRuby.

Secondly is the package an all in one package, so no third party or system
ruby should be running.

You should not need Apache or Passenger, just go to the root of the puppet
installation (i believe it is /opt/puppet/ by default) and run
./bin/puppetserver and you should be set.

--
Lowe Schmidt | +46 723 867 157

On 18 May 2016 at 13:39, San <ssah....@gmail.com> wrote:

> 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
> <https://groups.google.com/d/msgid/puppet-users/4adaf1f5-792e-4af8-acab-e945b19cd427%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAC-wWcR%3DqFvJ47q1qa1tzs64zOSH8VQgXVj_4E2NM1XgcQKWFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to