18942369987 发表于 2024-10-4 10:41:39

【待反馈】宝塔云监控通讯失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:宝塔云监控
系统版本:2.3.0
问题描述:提示主控被控通讯失败,代码000
相关截图(日志、错误):请输入对应数字进行命令行操作:5Traceback (most recent call last):File "/www/server/bt-monitor/BT-MONITOR", line 316, in <module>    public.import_via_loader('{}/core/include/monitor_version_patch.py'.format(public.get_panel_path())).MonitorVersionPatch()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 82, in __init__    self.update_authorization_tree()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 1973, in update_authorization_tree    db.query().execute_script(sql)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4999, in execute_script    self.__DB.client().execute_script(sql_script, blocking=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4043, in execute_script    return self.__CLIENT.execute_script(self.__CONN_ID, sql, recv_response=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2356, in execute_script    }, recv_response)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2031, in __send_data    return self.__recv_data2(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2101, in __recv_data2    return self.__recv_data3(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2139, in __recv_data3    raise Exception(data or '执行失败')Exception: database disk image is malformedTraceback (most recent call last):File "/www/server/bt-monitor/BT-MONITOR", line 316, in <module>    public.import_via_loader('{}/core/include/monitor_version_patch.py'.format(public.get_panel_path())).MonitorVersionPatch()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 82, in __init__    self.update_authorization_tree()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 1973, in update_authorization_tree    db.query().execute_script(sql)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4999, in execute_script    self.__DB.client().execute_script(sql_script, blocking=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4043, in execute_script    return self.__CLIENT.execute_script(self.__CONN_ID, sql, recv_response=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2356, in execute_script    }, recv_response)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2031, in __send_data    return self.__recv_data2(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2101, in __recv_data2    return self.__recv_data3(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2139, in __recv_data3    raise Exception(data or '执行失败')Exception: database disk image is malformedTraceback (most recent call last):File "/www/server/bt-monitor/BT-MONITOR", line 316, in <module>    public.import_via_loader('{}/core/include/monitor_version_patch.py'.format(public.get_panel_path())).MonitorVersionPatch()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 82, in __init__    self.update_authorization_tree()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 1973, in update_authorization_tree    db.query().execute_script(sql)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4999, in execute_script    self.__DB.client().execute_script(sql_script, blocking=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4043, in execute_script    return self.__CLIENT.execute_script(self.__CONN_ID, sql, recv_response=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2356, in execute_script    }, recv_response)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2031, in __send_data    return self.__recv_data2(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2101, in __recv_data2    return self.__recv_data3(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2139, in __recv_data3    raise Exception(data or '执行失败')Exception: database disk image is malformedTraceback (most recent call last):File "/www/server/bt-monitor/BT-MONITOR", line 316, in <module>    public.import_via_loader('{}/core/include/monitor_version_patch.py'.format(public.get_panel_path())).MonitorVersionPatch()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 82, in __init__    self.update_authorization_tree()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 1973, in update_authorization_tree    db.query().execute_script(sql)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4999, in execute_script    self.__DB.client().execute_script(sql_script, blocking=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4043, in execute_script    return self.__CLIENT.execute_script(self.__CONN_ID, sql, recv_response=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2356, in execute_script    }, recv_response)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2031, in __send_data    return self.__recv_data2(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2101, in __recv_data2    return self.__recv_data3(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2139, in __recv_data3    raise Exception(data or '执行失败')Exception: database disk image is malformedTraceback (most recent call last):File "/www/server/bt-monitor/BT-MONITOR", line 316, in <module>    public.import_via_loader('{}/core/include/monitor_version_patch.py'.format(public.get_panel_path())).MonitorVersionPatch()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 82, in __init__    self.update_authorization_tree()File "/www/server/bt-monitor/core/include/monitor_version_patch.py", line 1973, in update_authorization_tree    db.query().execute_script(sql)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4999, in execute_script    self.__DB.client().execute_script(sql_script, blocking=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 4043, in execute_script    return self.__CLIENT.execute_script(self.__CONN_ID, sql, recv_response=blocking)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2356, in execute_script    }, recv_response)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2031, in __send_data    return self.__recv_data2(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2101, in __recv_data2    return self.__recv_data3(sock_file)File "/www/server/bt-monitor/sqlite_server/sqlite_server.py", line 2139, in __recv_data3    raise Exception(data or '执行失败')Exception: database disk image is malformed

堡塔运维南一 发表于 2024-10-22 14:49:17

您好,执行下面命令,截图看看
df -h
df -i
页: [1]
查看完整版本: 【待反馈】宝塔云监控通讯失败