mongodb failed global initialization: BadValue Invalid

Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly. To fix Bad Value Invalid error run the following command in SSH terminal:

Restart apache server To remove the error, you will need to restart the apache service after LANG and/or LC_* environment variables. Restart the Apache service using the following command:

If you are still facing the Bad Value Invalid error, you need to run the following command and again restart the apache server.

Read More