Getting warnings related to mongodb directory on Red Hat Satellite Capsule server
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Issue
-
Getting warnings related to mongodb_dir on Red Hat Satellite Capsule server
1/7/2019, 9:48:05 AM WARN File at /var/lib/mongodb defined in mongodb_dir parameter doesn't exist or is unreadable
Resolution
-
Change the ownership and group of
/var/lib/mongodbfolder to mongodb# cd /var/lib # chown -R mongodb:mongodb mongodb/ -
If issue persist, grant read access to
foreman-proxyuser for/var/lib/mongodbusing below command:# setfacl -m u:foreman-proxy:r /var/lib/mongodb
For more KB articles/solutions related to Red Hat Satellite 6.x MongoDB Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x MongoDB-related Issues
Root Cause
-
Incorrect ownership was set for mongodb directory.
drwxr-x---. 3 mongodb root 4096 Jan 6 08:40 mongodb -
Red Hat Engineering team is aware of this bug and is currently tracking the same in This content is not included.Red Hat Bugzilla 1862371.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.