【待反馈】FileNotFoundError: [Errno 2] No such file or directory:
出错了,运行时发生错误!SystemError: returned a result with an error set
REQUEST_DATE: 2024-07-23 17:27:34
PAN_VERSION: 9.1.0
OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 27.13.169.194
REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dsamba%26s%3Dget_share_dir_list
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Traceback (most recent call last):
File "/www/server/panel/plugin/samba/samba_main.py", line 663, in __init__
self._init_root_www()
File "/www/server/panel/plugin/samba/samba_main.py", line 940, in _init_root_www
samba.add_user("root", public.GetRandomString(10))
File "/www/server/panel/plugin/samba/samba_main.py", line 273, in add_user
passwd=pwd
File "/www/server/panel/plugin/samba/samba_main.py", line 391, in _input_password_command
text=True
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/subprocess.py", line 850, in __init__
start_new_session, process_group)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/subprocess.py", line 1866, in _execute_child
raise child_exception
FileNotFoundError: No such file or directory: 'pdbedit'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "class/panelPlugin.py", line 3736, in a
return p.exec_fun(get)
File "class/pluginAuth.py", line 62, in exec_fun
res = PluginLoader.plugin_run(self.__plugin_name,def_name,get_args)
SystemError:returned a result with an error set
您好,您这是操作什么出现的问题,方便详细讲一下吗 运维技术阿闯 发表于 2024-7-23 17:50
您好,您这是操作什么出现的问题,方便详细讲一下吗
qun里说是我安装源有问题,我怎么切换似乎都不行
运维技术阿闯 发表于 2024-7-23 17:50
您好,您这是操作什么出现的问题,方便详细讲一下吗
祥哥 发表于 2024-7-24 09:51
您好,您这个是镜像源的问题,
尝试清除缓存并重新生成缓存
sudo yum clean all
sudo yum makecache
如果问题仍然存在,您可以尝试临时禁用有问题的仓库
sudo yum-config-manager --disable <repoid>
sudo yum update
将 <repoid> 替换为出现问题的仓库ID。完成后,您可以再次启用仓库:
sudo yum-config-manager --enable <repoid>
如果问题依然存在,您可以考虑更换其他可用的镜像源
页:
[1]