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

Standard

I got this error when I tried to run the configdb command:
mongod --configsvr --dbpath /data/configdb --port 27019

This is what I get:
Screenshot mongo error

To solve this error, I run this command:

export LC_ALL=C

And it works. No idea what that command does. If anyone can explain to me in detail what it actually does, please drop a comment. Thanks

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s