Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

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.

Change Configuration File to Allow Ops Manager to Start

To reconfigure Ops Manager temporarily:

1

Open the Ops Manager configuration properties file.

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

C:\MMSData\host\Config\conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
<path>/conf/conf-mms.properties
2

Update the configuration file to change the source for MongoDB binaries.

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

Repeat for each Ops Manager host. (Optional)

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

4

Start the Ops Manager service on each Ops Manager host.

sc start MMSDaemon
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

Ensure you have downloaded MongoDB binaries in your Versions Directory.

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.

Return to Local Mode

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

Open the Ops Manager configuration properties file.

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

C:\MMSData\host\Config\conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
/opt/mongodb/mms/conf/conf-mms.properties
<path>/conf/conf-mms.properties
2

Delete the automation.versions.source line.

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

Repeat the previous steps on each Ops Manager host. (Optional)

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

4

Restart the Ops Manager service on each Ops Manager host.

Run the following with Administrator privileges:

sc stop MMSDaemon
sc start MMSDaemon
sudo service mongodb-mms restart
sudo service mongodb-mms restart
<path>/bin/mongodb-mms restart