为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:Debian GNU/Linux 10 (buster) aarch64(Py3.7.8)
问题描述: 出错了,面板运行时发生错误!PermissionError: [Errno 13] Permission denied: '/proc/net/dev'
相关截图(日志、错误):REQUEST_DATE: 2024-01-27 09:14:13 [size=1.2] VERSION: Debian GNU/Linux 10 (buster) aarch64(Py3.7.8) - 8.0.5 REMOTE_ADDR: 192.168.123.11 REQUEST_URI: POST /system?action=GetNetWorkREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2303, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2250, in run result = getattr(toObject, get.action)(get) File "class/system.py", line 589, in GetNetWork networkIo_list = psutil.net_io_counters(pernic=True) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 2111, in net_io_counters rawdict = _psplatform.net_io_counters() File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 992, in net_io_counters with open_text("%s/net/dev" % get_procfs_path()) as f: File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 727, in open_text return open(fname, "rt", **kwargs)PermissionError: [Errno 13] Permission denied: '/proc/net/dev'- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。[url=]尝试点击修复[/url]
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
[size=1.2]
出错了,面板运行时发生错误!PermissionError: [Errno 13] Permission denied: '/proc/net/dev'
REQUEST_DATE: 2024-01-27 09:14:18 VERSION: Debian GNU/Linux 10 (buster) aarch64(Py3.7.8) - 8.0.5 REMOTE_ADDR: 192.168.123.11 REQUEST_URI: POST /system?action=GetNetWorkREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2303, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2250, in run result = getattr(toObject, get.action)(get) File "class/system.py", line 589, in GetNetWork networkIo_list = psutil.net_io_counters(pernic=True) File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 2111, in net_io_counters rawdict = _psplatform.net_io_counters() File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_pslinux.py", line 992, in net_io_counters with open_text("%s/net/dev" % get_procfs_path()) as f: File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_common.py", line 727, in open_text return open(fname, "rt", **kwargs)PermissionError: [Errno 13] Permission denied: '/proc/net/dev'
|
|