Last Updated: February 25, 2016
·
2.76K
· piermariacosina

Mongo error exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid, terminating

exception in initAndListen std::exception: locale::facet::_S_create_c_locale name not valid,   terminating

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

1 Response
Add your response

It solved my problem. Thanks!

over 1 year ago ·