We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
To stop and restart mongo on QCNOTELDB001:
sudo service mongod stop sudo service mongod restart
In case the restart throws error:
Run the following command to understand why the error occurred:
sudo journalctl -xe
Usually the issue is access to some folder. Here is the fix:
Run:
sudo ausearch -c 'mongod' --raw | audit2allow -M my-mongod
Then: sudo semodule -i my-mongod.pp
Now try: sudo service mongod restart