The mongodb service could not be stopped using service command and shows incorrect status after mongodb has been upgraded to mongodb26.

Solution Verified - Updated -

Issue

  • After upgrading mongodb to mongodb26, the mongodb service could not be stopped using service command and its status is reflected as stopped when the service is running.

    # ps aux | grep mongo
     mongodb  12345 12.3  1.2 123456789 1234567 ?   Sl   00:00   1:23 /opt/test/test-mongodb26/root/usr/bin/mongod --quiet -f /etc/opt/test/test-mongodb26/mongod.conf run
    
    # service test-mongodb26 stop
     test-mongodb26 is not running
    

Environment

  • Red Hat Satellite 6.2
  • Red Hat Enterprise Linux 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