Docs Menu
Docs Home
/
MongoDB Ops Manager
/ / /

Resolve Pre-flight Check Failure

When you start Ops Manager in Local Mode, Ops Manager performs a pre-flight check. This check verifies if you downloaded all the MongoDB binary archives for at least one platform of the needed MongoDB versions to the Versions Directory on the Ops Manager server. If these binaries were not downloaded, Ops Manager fails this check and stops.

To pass the pre-flight check, you can either:

  • Install all of the binaries for every version of MongoDB you need in the Versions Directory or

  • Reconfigure Ops Manager temporarily so it can start, then change the versions of MongoDB your Ops Manager server supports.

This tutorial outlines the steps to configure Ops Manager temporarily to resolve the pre-flight check failure and return to Local Mode setting.

To reconfigure Ops Manager temporarily:

1

On your Ops Manager host, open the Ops Manager configuration properties file. The configuration properties file is located in the following path:

/opt/mongodb/mms/conf/conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
<path>/conf/conf-mms.properties
2

Add the following line to change the source for the MongoDB binaries to be via the internet.

automation.versions.source=remote

Save and close the file.

3

If you run Ops Manager with high availability, you must repeat the previous step on each Ops Manager host.

4
sudo service mongodb-mms start
sudo service mongodb-mms start
<path>/bin/mongodb-mms start

If you run Ops Manager with high availability, you must repeat this step on each Ops Manager host.

5

For the selected versions, ensure that you have downloaded and placed the archived binaries in the Versions Directory for every project in Ops Manager.

Once you have changed which versions you want to support, continue to the Return to Local Mode procedure.

Once you have resolved the pre-flight check errors, proceed with the following steps to run Ops Manager in Local Mode.

If these steps are not completed, Ops Manager remains in Internet mode and displays a notice in the configuration page notifying you that the Local Mode setting in your conf-mms.properties overrides this setting.

To revert to Local Mode:

1

On your Ops Manager host, open the Ops Manager configuration properties file. The configuration properties file is located in the following path:

/opt/mongodb/mms/conf/conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
<path>/conf/conf-mms.properties
2

Remove the following line to revert the change you made in the previous procedure and re-enables Local Mode.

automation.versions.source=remote

Save and close the file.

3

If you run Ops Manager with high availability, you must repeat the previous steps on each Ops Manager host.

4
sudo service mongodb-mms restart
sudo service mongodb-mms restart
<path>/bin/mongodb-mms restart

Back

Configure Deployment to Have Limited Internet Access