Mongod error | exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid

I got this error while trying to start mongodb on amazon ec2. Running this command in the terminal solved the problem.

export LC_ALL=C

I don’t have any idea about what it means at this time except that it sets the terminal to display all languages. If you can explain what actually it does, please drop a comment.

This entry was posted in MongoDB, OSX, PYTHON and tagged , , . Bookmark the permalink.

4 Responses to Mongod error | exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid

  1. Sahid says:

    This was very helpful on webfaction, thanks!

  2. loser ant says:

    Thx, problem solved in seconds… :)

  3. Frederik says:

    Saved my day .

Leave a Reply