时间:2021-07-01 10:21:17 帮助过:18人阅读
Please ensure LANG and/or LC_* environment variables are set correctly.
[1]+ Exit 1 bin/mongod -f config/mongo.cnf
解决方法:
vi /etc/profile
增加环境变量设置:export LC_ALL=C
重启mongodb即可
vi /etc/environment
增加 LANG=en_US.utf-8
启动mongodb报错问题
标签:please 启动 环境变量设置 ble env node use mongod data