点击面板 数据库按钮,直接弹窗报错:
REQUEST_DATE: 2024-09-25 05:41:46 VERSION: Amazon 2023 (Amazon ) x86_64(Py3.7.16) - 9.2.0 REMOTE_ADDR: 46.3.240.109 REQUEST_URI: POST /panel/public/get_soft_status?REQUEST_FORM: {'name': 'mysql'} USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2485, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2432, in run result = getattr(toObject, get.action)(get) File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/panelModel/publicModel.py", line 327, in get_soft_status for proc in psutil.process_iter(): File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 1514, in process_iter proc = add(pid) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 1491, in add proc = Process(pid) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 319, in __init__ self._init(pid) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 355, in _init self.create_time() File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 757, in create_time self._create_time = self._proc.create_time() File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1717, in wrapper return fun(self, *args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1948, in create_time ctime = float(self._parse_stat_file()['create_time']) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1717, in wrapper return fun(self, *args, **kwargs) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 508, in wrapper raise raise_from(err, None) File "", line 3, in raise_from File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 506, in wrapper return fun(self) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 1780, in _parse_stat_file data = bcat("%s/%s/stat" % (self._procfs_path, self.pid)) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 851, in bcat return cat(fname, fallback=fallback, _open=open_binary) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 839, in cat with _open(fname) as f: File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 799, in open_binary return open(fname, "rb", buffering=FILE_READ_BUFFER_SIZE)FileNotFoundError: [Errno 2] No such file or directory: '/proc/1900/stat'
|