Leoperfect 发表于 2023-6-26 17:12:15

【待反馈】重启服务器后执行bt命令,显示为乱码

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
免费版8.0.0
系统版本:
Ubuntu 23.0 server
问题描述:
重启服务器后,使用root执行bt命令,显示为乱码。(如下图)。但是WEB端访问正常、显示也正常。
注:初次安装后是正常的,重启前使用BT命令也是正常的,没有其它操作,手动修改了静态IP配置文件,重启服务器后,使用终端执行bt命令就出现乱码了。
相关截图(日志、错误):
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjIAAAEGCAYAAAB/z39/AAAckElEQVR4nO3d228c53nH8d8slxIlUaKk6HyKbMmW7TiOIUeuE9dOnfaqBXLXNkCT5jJX/QPai16kBNOiINoLAQUI5KYt0Os2vUjSNEB8iJ3SR0W2pNRWFNLU2ZZMV7IO5GwvqKGGwzm+78zOvDvfD0Ssdmef2dnD8+47s8+8rzc+MdnzfV9zszOamjouSZqenlbg2LFjmp6e1rFjx5ZvCy8P7hNeFr4ed1vR+Kis7YveL257osp8flnS1l/k8eP+H77Mu/64x0jbvuj9imx/ViwAAEV4cR0ZuKtopwoAAJd16t4AAAAAU3RkBgxHYwAAbdKRpF7dWwEAAGCgI0le3VsBAABggJ+WCoo746dJ66xi+9A/vH8AUExtHZmsBnt6enr5r4r1D5KmP1eT7Wv6c8oS3v6md34BwGVdqXk1MnHjzlDECgAAorrSyhoZkwHVTAZES5I04FvcusPbmfcxbAfsS9qOpGVZy4sONhd3vzK3L8/rW+T9TXttq3j/ynh/8wxImOc9tFH1+gFgUMQekUk7ImL7RRJ3yD3pizj6hRHIGtk2z/qT5P0iLOv1sfmJIK0TY7p9Uvbrm3dk46Tbq3z/spTVEUp7faPbb7uNJvkDAG0Re9ZSlQ3jsWPHltcf/n/a/ctcf9yXZdyXeNnbVHRZntfG5PGazvb9M33Msu4ft+1lr79I/gDAoMtVIzNojWXWTxouFFLWWTeU5/WpcvtMfpIqElv0/R+0/AAAl6yqkWm7rLocuP/FHf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Uu22rH3d5wfJjBPd589wVHdmzRYd2julXMx/p56cu6I+e/Hzq9gTP+fz1mzq0Y5OePrxTb//2qqbPXtbvHtmtR/Zs0ZmL1/XUwe3atXm9Fhd7wSGK5Z3F4CWT52n72PrlTfR9X3cXfK0ZHtLQUEdrukNaO7zUwbl1Z0Hnr9/UxnVr9LmNI7HPff7mHb14+oLWDg/puUf26Py1Gzpz8RNtWNOV50nvX5rX+es39fThnbpzd1GXP/lM/l5p7XC30OPE+X/WVBP0empfIgAAAABJRU5ErkJggg==

白袜熊 发表于 2023-6-26 22:59:07

可能的问题
1. 服务器字符集不全导致,可安装locales,并dpkg-reconfigure locales 选all 然后默认en_US.UTF-8
2. 服务器提供商的网页版VNC不支持中文显示,中文在网页版VNC只会显示♦?这种,用SSH连接使用就行
3. 可能是bt文件错误,可备份后删除 /www/server/panel/pyenv ,然后 curl http://download.bt.cn/install/update_panel.sh|bash 重新修复一下

南南呦 发表于 2023-6-26 23:10:39

以上大佬回答正解,如服务器系统编码都是正常,唯独面板的bt命令中文字符出现乱码的话
您可以执行下面命令看下是否也是正常输出
bash /www/server/panel/init.sh
如输出也是乱码,您可以看下您服务器内是否还存在其他中文吗,看下是否也是乱码
如果都是乱码输出,则参考下面大佬所提出的系统编码字符问题

dukezhou 发表于 2024-11-5 13:06:20

白袜熊 发表于 2023-6-26 22:59
可能的问题
1. 服务器字符集不全导致,可安装locales,并dpkg-reconfigure locales 选all 然后默认en_US.UT ...

我这个就是阿里云的vnc不支持中文, 用putty显示就是正常 的,感谢
页: [1]
查看完整版本: 【待反馈】重启服务器后执行bt命令,显示为乱码