Mongodb service fails to start on Satellite server.

Solution Verified - Updated -

Issue

  • Mongodb service fails to start on the Satellite server.
     ERROR: dbpath (/data/db/) does not exist.
     Create this directory or give existing directory in --dbpath.
     See http://dochub.mongodb.org/core/startingandstoppingmongo
  • Removing mongodb directory from /var/log makes mongodb service to fail.

Environment

  • Red Hat Satellite 6.2.x.

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