墨泽 发表于 2026-1-12 18:16:03

【已解答】宝塔面板redis插件功能异常-安装功能[界面级BUG]

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:v11.4.0
系统版本:Rocky Linux 9.7 (Blue Onyx)
问题描述:宝塔面板安装redis报错,远程连接功能连接本地redis异常
问题详细描述:
[界面级BUG]:宝塔面板安装redis报错:
宝塔提供脚本安装时试图使用chkconfig工具,RockyLinux9这类linux已经使用systemctl管理服务
旧的chkconfig无法使用且安装异常无法安装,但实际安装能够完成

相关截图(日志、错误):
Hint: It's a good idea to run 'make test' ;)

make: Leaving directory '/www/server/redis/src'
--2026-01-12 17:05:58--https://download.bt.cn/install/plugin/redis/redis_main.py
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15164 (15K)
Saving to: '/www/server/panel/plugin/redis/redis_main.py'

   0K .......... ....                                       100% 38.1M=0s

2026-01-12 17:05:58 (38.1 MB/s) - '/www/server/panel/plugin/redis/redis_main.py' saved

--2026-01-12 17:05:58--https://download.bt.cn/install/plugin/redis/index.html
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21307 (21K)
Saving to: '/www/server/panel/plugin/redis/index.html'

   0K .......... ..........                                 100%284M=0s

2026-01-12 17:05:59 (284 MB/s) - '/www/server/panel/plugin/redis/index.html' saved

--2026-01-12 17:05:59--https://download.bt.cn/install/plugin/redis/info.json
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 178
Saving to: '/www/server/panel/plugin/redis/info.json'

   0K                                                       100% 9.38M=0s

2026-01-12 17:05:59 (9.38 MB/s) - '/www/server/panel/plugin/redis/info.json' saved

--2026-01-12 17:05:59--https://download.bt.cn/install/plugin/redis/icon.png
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 313
Saving to: '/www/server/panel/plugin/redis/icon.png'

   0K                                                       100%735M=0s

2026-01-12 17:05:59 (735 MB/s) - '/www/server/panel/plugin/redis/icon.png' saved

--2026-01-12 17:05:59--https://download.bt.cn/init/init7.redis
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2150 (2.1K)
Saving to: '/etc/init.d/redis'

   0K ..                                                    100% 79.2M=0s

2026-01-12 17:05:59 (79.2 MB/s) - '/etc/init.d/redis' saved

--2026-01-12 17:05:59--https://download.bt.cn/conf/redis.conf
Resolving download.bt.cn (download.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
Connecting to download.bt.cn (download.bt.cn)|115.231.130.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61847 (60K)
Saving to: '/www/server/redis/redis.conf'

   0K .......... .......... .......... .......... .......... 82% 1.30M 0s
    50K ..........                                          100%267M=0.04s

2026-01-12 17:06:00 (1.57 MB/s) - '/www/server/redis/redis.conf' saved

Starting redis server...
Starting redis success!
redis.sh: line 85: chkconfig: command not found
redis.sh: line 86: chkconfig: command not found
|-Successify --- 命令已执行! ---

阿珂 发表于 2026-1-13 09:52:39

这个提示不影响实际安装,忽略即可
页: [1]
查看完整版本: 【已解答】宝塔面板redis插件功能异常-安装功能[界面级BUG]