breinero-zz / MongoDB_Spark_Course

Code materials for the MongoDB Spark Course
14 stars 7 forks source link

[related to the correspective Vagrant file] cannot access mongo shell #4

Open Raffaello opened 7 years ago

Raffaello commented 7 years ago

Following the couse MongoDB with Spark from Mongo University, after created the Vagrant machine and ssh into it. I cannot access the mongo shell and the error is: Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.

fixed with: export LC_ALL=C

so i guess it miss that line in in the .bashrc when provision the vagrant machine.

I know is not related to this repo, but that vagrant file is bound to this repo and i do not know how to report this small issue.