【待反馈】宝塔redis启动失败,报错找不到redis模块
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.2.0系统版本:Linux - CentOS (core) 7.9.2009 x64
问题描述:宝塔redis启动失败,报错找不到redis模块
相关截图(日志、错误):REQUEST_DATE: 2024-09-08 11:41:26VERSION: CentOS7.9.2009 x86_64(Py3.7.9) - 9.1.0 REMOTE_ADDR: 192.168.31.45 REQUEST_URI: POST /database/redis/CheckDatabaseStatus?REQUEST_FORM: {'data': '{"sid":0}'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2435, in publicObject res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2382, in run result = getattr(toObject, get.action)(get)File "class/panelDatabaseController.py", line 90, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last):File "/www/server/panel/class/databaseModel/redisModel.py", line 23, in import redisModuleNotFoundError: No module named 'redis'During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/www/server/panel/class/databaseModel/redisModel.py", line 26, in import redisModuleNotFoundError: No module named 'redis'
您好,您这边在软件商店找到“linux工具箱”换源后执行
yum update
然后重新安装看一下
页:
[1]