Symptoms
Trying to install the latest version of JetBackUp initially fails with the following error:
jetapps —install jetbackup-cpanel stable Log file: /usr/local/jetapps/var/log/jetapps/20210712.163528_9148.log Installing jetbackup-cpanel version 5.1.12-10…Failed Please see the log file /usr/local/jetapps/var/log/jetapps/20210712.163528_9148.log for more details
Looking at the referenced log file in the above snippet, you will see the actual cause of the failure:
package jetbackup-base is not installed Can’t connect to mongodb. error: %pre(jetbackup5-base-5.1.12-11.x86_64) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package jetbackup5-base-5.1.12-11.x86_64 error: jetbackup5-base-5.1.12-11.x86_64: install failed package jetbackup-cpanel is not installed Installing : jetbackup5-cpanel-5.1.12-10.x86_64 2/2 jetbackup5 registered Plugin installed ok Installed: jetbackup5-cpanel.x86_64 0:5.1.12-10 Failed: jetbackup5-base.x86_64 0:5.1.12-11
Description
As part of the installation scripts for the jetbackup-base package, the connection to MongoDB on port 27217 needs to be confirmed before installation completes. The error occurs because the script is unable to do so.
Workaround
Ensure that the jetmongod service is running and that port 27217 is not filtered or blocked. The following command can be run to verify that the connection to MongoDB on port 27217 is working.
/usr/local/jetapps/usr/bin/mongod --quiet --port 27217
Comments
0 comments
Article is closed for comments.