为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述: 站点停止和启动的时候报这个 出错了,面板运行时发生错误!FileNotFoundError: [WinError 2] 系统找不到指定的文件。: '(originated from QueryServiceConfigW)'
相关截图(日志、错误): 错了,面板运行时发生错误!FileNotFoundError: [WinError 2] 系统找不到指定的文件。: '(originated from QueryServiceConfigW)'
REQUEST_DATE: 2023-11-01 08:44:48 PAN_VERSION: 7.9.0 OS_VERSION: Windows 10 Pro (build 19045) x64 (Py3.8.6) REMOTE_ADDR: 127.0.0.1 REQUEST_URI: POST /site?action=SiteStopREQUEST_FORM: {'id': '2', 'name': 'testcourse2.huixuecloud.cn'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36Traceback (most recent call last): File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject return run_exec().run(toObject, defs, get) File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run result = eval(fun) File "", line 1, in File "D:\BtSoft\panel/class\panelSite.py", line 1538, in SiteStop if self.serverType != 'iis': public.serviceReload() File "D:\BtSoft\panel/class\public.py", line 701, in serviceReload return ServiceReload(siteName) File "D:\BtSoft\panel/class\public.py", line 662, in ServiceReload ser = psutil.win_service_get(webserver) File "C:\Program Files\python\lib\site-packages\psutil\__init__.py", line 2339, in win_service_get return _psplatform.win_service_get(name) File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 475, in win_service_get service._display_name = service._query_config()['display_name'] File "C:\Program Files\python\lib\site-packages\psutil\_pswindows.py", line 507, in _query_config cext.winservice_query_config(self._name)FileNotFoundError: [WinError 2] 系统找不到指定的文件。: '(originated from QueryServiceConfigW)'
|
|