Puppetserver service fails to start with error "Permission denied - /var/log/puppetlabs/puppetserver" in Red Hat Satellite 6

Solution Verified - Updated -

Issue

  • The puppetserver service is not getting started and the following errors were observed in the /var/log/messages file of the Red Hat Satellite\Capsule server.

    Aug 25 09:51:23 satellite puppetserver: Execution error (RuntimeError) at RUBY/use (/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:1117).
    Aug 25 09:51:23 satellite puppetserver: (RuntimeError) Got 1 failure(s) while initializing: File[/var/log/puppetlabs/puppetserver]: change from 'absent' to 'directory' failed: Could not set 'directory' on ensure: Permission denied - /var/log/puppetlabs/puppetserver
    Aug 25 09:51:23 satellite puppetserver: Full report at:
    Aug 25 09:51:23 satellite puppetserver: /tmp/clojure-3389792872287774462.edn
    Aug 25 09:51:24 satellite puppetserver: Background process 19123 exited before start had completed
    Aug 25 09:51:24 satellite systemd: puppetserver.service: control process exited, code=exited status=1
    Aug 25 09:51:24 satellite systemd: Failed to start puppetserver Service.
    Aug 25 09:51:24 satellite systemd: Unit puppetserver.service entered failed state.
    Aug 25 09:51:24 satellite systemd: puppetserver.service failed.
    Aug 25 09:51:24 satellite systemd: puppetserver.service holdoff time over, scheduling restart.
    Aug 25 09:51:24 satellite systemd: Stopped puppetserver Service.
    

Environment

  • Red Hat Satellite 6.4 and above
  • Red Hat Capsule 6.4 and above
  • Puppet 4 and above

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