Getting "locale::facet::_S_create_c_locale name not valid" error when trying to start mongod

1,196 views
Skip to first unread message

matubaum

unread,
Jul 23, 2012, 9:34:54 AM7/23/12
to mongod...@googlegroups.com
I'm having this error after the server where mongo is located shuted down unexpectedly.  Before this it was working.
Now, when I try to start mongod I get:

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

Even if I run "mongod --version" I get the same error

--
Matias

Adam C

unread,
Jul 23, 2012, 10:05:21 AM7/23/12
to mongod...@googlegroups.com
Matias,

I think we just discussed this on IRC.  For the reference of everyone else, the fix was to set the LOCALE with locale-gen and then log out and back in (if I have that right).

Not actually a problem with mongodb per se, but figured we should share in case anyone else runs into it.

Adam.
Reply all
Reply to author
Forward
0 new messages