Puppetserver service fails with 'LoadError: Puppet 6.14.0 requires Ruby 2.3.0 or greater found Ruby 1.9.3'

Solution Verified - Updated -

Issue

  • Puppetserver service fails with following error.
#  journalctl -xfa -u puppetserver.service
-- Logs begin at Fri 2021-03-05 14:05:04 CET. --
Mar 09 16:59:56 satellite puppetserver[56020]: at clojure.core$partial$fn__4759.invoke(core.clj:2515)
Mar 09 16:59:56 satellite puppetserver[56020]: at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$eval31129$send_agent__31134$fn__31135$agent_fn__31136.invoke(jruby_agents.clj:42)
Mar 09 16:59:56 satellite puppetserver[56020]: at clojure.core$binding_conveyor_fn$fn__4676.invoke(core.clj:1941)
Mar 09 16:59:56 satellite systemd[1]: puppetserver.service: control process exited, code=exited status=1
Mar 09 16:59:56 satellite systemd[1]: Failed to start puppetserver Service.
-- Subject: Unit puppetserver.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit puppetserver.service has failed.
--
-- The result is failed.
Mar 09 16:59:56 satellite systemd[1]: Unit puppetserver.service entered failed state.
Mar 09 16:59:56 satellite systemd[1]: puppetserver.service failed.
Mar 09 16:59:57 satellite systemd[1]: puppetserver.service holdoff time over, scheduling restart.
Mar 09 16:59:57 satellite systemd[1]: Stopped puppetserver Service.
-- Subject: Unit puppetserver.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit puppetserver.service has finished shutting down.
Mar 09 16:59:57 satellite systemd[1]: Starting puppetserver Service...
-- Subject: Unit puppetserver.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit puppetserver.service has begun starting up.
  • And following error from logs :
 LoadError: Puppet 6.14.0 requires Ruby 2.3.0 or greater, found Ruby 1.9.3

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content