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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.