输入mongo应该就可以启动了。但是我得到了一个报错信息。

Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly.

网上搜索后:

export LC_ALL=C

上面的语句设置后就可以成功了。下面这两个值我也设了,但似乎没什么影响。如果上面的不行再设置下面这两个值。

LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8

 

相关文章:

  • 2021-07-13
  • 2021-08-19
  • 2021-12-19
  • 2021-08-08
猜你喜欢
  • 2022-12-23
  • 2021-12-29
  • 2021-07-11
  • 2021-10-04
  • 2021-09-06
  • 2021-07-28
  • 2022-12-23
相关资源
相似解决方案