The rh-mongodb34-mongod service fails to start with error 'Cannot write pid file to /var/opt/rh/rh-mongodb34/run/mongodb/mongod.pid: Permission denied' in Red Hat Satellite or Capsule 6.

Solution Verified - Updated -

Issue

  • The rh-mongodb34-mongod service and other pulp services are in failed state in the foreman-maintain service status command.

    \ All services displayed                                              [FAIL]    
    Some services are not running (rh-mongodb34-mongod, pulp_celerybeat, pulp_resource_manager, pulp_streamer)
    --------------------------------------------------------------------------------
    Scenario [Status Services] failed.
    
    The following steps ended up in failing state:
    
      [service-status]
    
    Resolve the failed steps and rerun the command. In case the failures are false positives,
    use --whitelist="service-status"
    
    
  • The hammer ping output on satellite sever shows failures in pulp and pulp_auth components.

Environment

  • Red Hat Satellite 6.9 and below
  • Red Hat Capsule 6.9 and below

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