BB仔 发表于 2024-4-9 09:19:23

【待反馈】重启服务器 面板进不去了

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
系统版本:cenos7.2
问题描述:重启服务器 面板进不去了
相关截图(日志、错误):# bt/usr/bin/bt: line 17: cd: /www/server/panel: No such file or directorycat: /www/server/panel/BT-Panel: No such file or directorysed: can't read /www/server/panel/BT-Panel: No such file or directorycat: /www/server/panel/BT-Task: No such file or directorysed: can't read /www/server/panel/BT-Task: No such file or directorychmod: cannot access ‘/www/server/panel/BT-Panel’: No such file or directorychmod: cannot access ‘/www/server/panel/BT-Task’: No such file or directorycat: /www/server/panel/data/port.pl: No such file or directory/usr/bin/python: can't open file '/www/server/panel/tools.py': No such file or directory#


堡塔运维南一 发表于 2024-4-9 09:47:25

您好,先去查看一下/www/server/panel有没有这个目录
尝试执行/etc/init.d/bt能不能成功

BB仔 发表于 2024-4-9 09:55:54

我是宝塔重启了下服务器 就进不去了,输指令就是这样,我查了下我设置的进入端口关闭 了
# bt
/usr/bin/bt: line 17: cd: /www/server/panel: No such file or directory
cat: /www/server/panel/BT-Panel: No such file or directory
sed: can't read /www/server/panel/BT-Panel: No such file or directory
cat: /www/server/panel/BT-Task: No such file or directory
sed: can't read /www/server/panel/BT-Task: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Panel’: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Task’: No such file or directory
cat: /www/server/panel/data/port.pl: No such file or directory
/usr/bin/python: can't open file '/www/server/panel/tools.py': No such file or directory
#

BB仔 发表于 2024-4-9 10:04:33

运维技术南一 发表于 2024-4-9 09:47
您好,先去查看一下/www/server/panel有没有这个目录
尝试执行/etc/init.d/bt能不能成功 ...

我是宝塔重启了下服务器 就进不去了,输指令就是这样,我查了下我设置的进入端口关闭 了
# bt
/usr/bin/bt: line 17: cd: /www/server/panel: No such file or directory
cat: /www/server/panel/BT-Panel: No such file or directory
sed: can't read /www/server/panel/BT-Panel: No such file or directory
cat: /www/server/panel/BT-Task: No such file or directory
sed: can't read /www/server/panel/BT-Task: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Panel’: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Task’: No such file or directory
cat: /www/server/panel/data/port.pl: No such file or directory
/usr/bin/python: can't open file '/www/server/panel/tools.py': No such file or directory
#

BB仔 发表于 2024-4-9 10:05:25

运维技术南一 发表于 2024-4-9 09:47
您好,先去查看一下/www/server/panel有没有这个目录
尝试执行/etc/init.d/bt能不能成功 ...

我是宝塔重启了下服务器 就进不去了,输指令就是这样,我查了下我设置的进入端口关闭 了
# bt
/usr/bin/bt: line 17: cd: /www/server/panel: No such file or directory
cat: /www/server/panel/BT-Panel: No such file or directory
sed: can't read /www/server/panel/BT-Panel: No such file or directory
cat: /www/server/panel/BT-Task: No such file or directory
sed: can't read /www/server/panel/BT-Task: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Panel’: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Task’: No such file or directory
cat: /www/server/panel/data/port.pl: No such file or directory
/usr/bin/python: can't open file '/www/server/panel/tools.py': No such file or directory
#

BB仔 发表于 2024-4-9 10:06:37

运维技术南一 发表于 2024-4-9 09:47
您好,先去查看一下/www/server/panel有没有这个目录
尝试执行/etc/init.d/bt能不能成功 ...

# /www/server/panel
-bash: /www/server/panel: No such file or directory
# /etc/init.d/bt
/etc/init.d/bt: line 17: cd: /www/server/panel: No such file or directory
cat: /www/server/panel/BT-Panel: No such file or directory
sed: can't read /www/server/panel/BT-Panel: No such file or directory
cat: /www/server/panel/BT-Task: No such file or directory
sed: can't read /www/server/panel/BT-Task: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Panel’: No such file or directory
chmod: cannot access ‘/www/server/panel/BT-Task’: No such file or directory
cat: /www/server/panel/data/port.pl: No such file or directory
/usr/bin/python: can't open file '/www/server/panel/tools.py': No such file or directory
#

堡塔运维南一 发表于 2024-4-9 11:45:01

BB仔 发表于 2024-4-9 10:06
# /www/server/panel
-bash: /www/server/panel: No such file or directory


看着像是数据丢失了,宝塔的一些环境和数据都没了,之前有做过什么操作吗,可以的话重新安装一下宝塔

sifante 发表于 2024-4-9 13:31:26

自己也遇到的同样的问题,当时执行的修复命令wget -O update.sh http://download.bt.cn/install/update.sh && sh update.sh就好了,后来在也没敢重启过

阿珂 发表于 2024-5-6 16:35:00

如果是安装在数据盘,可以检查一下数据盘挂载是否正常
没有的话,做个快照,重新安装一下

宝塔用户_ellaba 发表于 2024-9-1 09:44:43

运维技术南一 发表于 2024-4-9 09:47
您好,先去查看一下/www/server/panel有没有这个目录
尝试执行/etc/init.d/bt能不能成功 ...

看到有一个port.pl.encrypted 的文件,是这个吗   是不是 被挖矿软件改了名字
页: [1]
查看完整版本: 【待反馈】重启服务器 面板进不去了