By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.
宝塔面板无法正常启动,报错warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)解决方案
2022-08-05 21:28:01    21    0    0
emengweb

宝塔面板无法正常启动,SSH登录手动查看错误日志,发现有以下错误信息:/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

通常是由于未正确配置语言环境导致的,附上解决方案:

# 设置语言环境
sudo localedef -i en_US -f UTF-8 en_US.UTF-8
# 重启宝塔面板
bt 1

 

上一篇: PVE lxc容器忘记控制台root密码处理办法

下一篇: 宝塔面板7.9.2(含)以下包含RCE安全漏洞,请马上升级

21 人读过
文档导航