When installing JetBackup 4/5, you may run into the following error:ERROR: Can't connect to mongodb. error: %pre(jetbackup-base-5.0.29-28.noarch) scriptlet failed, exit status 1
You can find log information for this error in the following location on the root server: /usr/local/jetapps/var/log/mongod/mongod.log
A common fix to these issues would be the following:
- Check that the following paths/files are owned by user
mongod:mongod
:
- /usr/local/jetapps/var/log/mongod
- /usr/local/jetapps/var/lib/mongod
- /usr/local/jetapps/var/run/mongod/
- /tmp/mongodb-27217.sock
2. Verify users can access /dev/null
(chmod 666).
3. Lastly, check the file permissions for /tmp
(chmod 1777).
If the above suggestions don't resolve the issue, we would recommend submitting a ticket to our FREE 24/7/365 Support Team at support@jetapps.com so we can assist with this issue.