输入banner图图片脚本导航/分类

启动mongodb报错问题

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