Please review and update your posts:
It is very difficult to read when not formatted correctly and risks the post being ignored by some members of the community.
When MongoDB stops working on a RHEL system after a change from the default setting one of the first thing to check is whether or not SELinux is set to enforcing
. Check this using the getenforce
command.
If SELinux is set to enforcing then it can be set to permissive or can be completely disabled.
To change from the defaults AND keep SELinux in enforcing mode follow the SELinux Instructions from the manual.
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-red-hat/#configure-selinux