【mongodb】【smartOS】locale::facet::_S_create_c_locale name not valid解决方案

来源:互联网 发布:在手机上怎么做淘宝客? 编辑:程序博客网 时间:2024/05/22 14:18

在 Smartos上面启动mongodb,开始提示

Assertion: 14043:clear tmp files caught exception exception: locale::facet::_S_create_c_locale name not valid

exception in initAndListen: 14043 clear tmp files caught exception exception: locale::facet::_S_create_c_locale name not valid, terminating

这两个错误,后来发现原来是local设置的问题

http://cruisever.blog.163.com/blog/static/786117572010817112310741/

http://www.360doc.com/content/12/0117/15/8166640_180008192.shtml

这两个地址有详细的介绍,打上一句

export LC_ALL="C" 去除本地设置
就没有问题了,记录一下

原创粉丝点击