[MongoDB] Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.
An error occurred when trying to enter mongo shell.
$ mongo myDb
Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.
For now, you can connect to mongo shell by using the default locale.
$ export LC_ALL=C
Also, according to the article below, uninstalling unnecessary mongo packages should resolve the issue.
That’s all from the Gemba.