当前位置:论坛首页 > Linux面板 > 求助

【已解答】redis无法安装

发表在 Linux面板3 天前 [复制链接] 4 61

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

CentOS 7.9
系统版本:

[backcolor=rgba(255, 255, 255, 0.7)]v11.4.1
问题描述:

redis无法安装
相关截图(日志、错误):
  1. make[3]: Leaving directory `/www/server/redis/deps/jemalloc'
  2. make[2]: Leaving directory `/www/server/redis/deps'
  3. CC adlist.o
  4. CC quicklist.o
  5. CC ae.o
  6. CC anet.o
  7. CC dict.o
  8. CC server.o
  9. CC sds.o
  10. CC zmalloc.o
  11. CC lzf_c.o
  12. CC lzf_d.o
  13. CC pqsort.o
  14. CC zipmap.o
  15. CC sha1.o
  16. CC ziplist.o
  17. CC release.o
  18. CC networking.o
  19. CC util.o
  20. CC object.o
  21. CC db.o
  22. CC replication.o
  23. CC rdb.o
  24. CC t_string.o
  25. CC t_list.o
  26. CC t_set.o
  27. CC t_zset.o
  28. CC t_hash.o
  29. CC config.o
  30. CC aof.o
  31. CC pubsub.o
  32. CC multi.o
  33. CC debug.o
  34. CC sort.o
  35. CC intset.o
  36. CC syncio.o
  37. CC cluster.o
  38. CC crc16.o
  39. CC endianconv.o
  40. CC slowlog.o
  41. CC scripting.o
  42. CC bio.o
  43. CC rio.o
  44. CC rand.o
  45. CC memtest.o
  46. CC crcspeed.o
  47. CC crc64.o
  48. CC bitops.o
  49. CC sentinel.o
  50. CC notify.o
  51. CC setproctitle.o
  52. CC blocked.o
  53. CC hyperloglog.o
  54. CC latency.o
  55. CC sparkline.o
  56. CC redis-check-rdb.o
  57. CC redis-check-aof.o
  58. CC geo.o
  59. CC lazyfree.o
  60. CC module.o
  61. CC evict.o
  62. CC expire.o
  63. CC geohash.o
  64. CC geohash_helper.o
  65. CC childinfo.o
  66. CC defrag.o
  67. CC siphash.o
  68. CC rax.o
  69. CC t_stream.o
  70. CC listpack.o
  71. CC localtime.o
  72. CC lolwut.o
  73. CC lolwut5.o
  74. CC lolwut6.o
  75. CC acl.o
  76. CC gopher.o
  77. CC tracking.o
  78. CC connection.o
  79. CC tls.o
  80. CC sha256.o
  81. CC timeout.o
  82. CC setcpuaffinity.o
  83. CC monotonic.o
  84. CC mt19937-64.o
  85. LINK redis-server
  86. INSTALL redis-sentinel
  87. CC redis-cli.o
  88. CC cli_common.o
  89. LINK redis-cli
  90. CC redis-benchmark.o
  91. LINK redis-benchmark
  92. INSTALL redis-check-rdb
  93. INSTALL redis-check-aof

  94. Hint: It's a good idea to run 'make test' ;)

  95. make[1]: Leaving directory `/www/server/redis/src'
  96. --2026-01-13 19:44:26-- https://dg2.bt.cn/install/plugin/redis/redis_main.py
  97. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  98. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  99. HTTP request sent, awaiting response... 200 OK
  100. Length: 15164 (15K) [application/octet-stream]
  101. Saving to: ‘/www/server/panel/plugin/redis/redis_main.py’

  102. 0K .......... .... 100% 202M=0s

  103. 2026-01-13 19:44:26 (202 MB/s) - ‘/www/server/panel/plugin/redis/redis_main.py’ saved [15164/15164]

  104. --2026-01-13 19:44:26-- https://dg2.bt.cn/install/plugin/redis/index.html
  105. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  106. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  107. HTTP request sent, awaiting response... 200 OK
  108. Length: 21307 (21K) [text/html]
  109. Saving to: ‘/www/server/panel/plugin/redis/index.html’

  110. 0K .......... .......... 100% 162M=0s

  111. 2026-01-13 19:44:26 (162 MB/s) - ‘/www/server/panel/plugin/redis/index.html’ saved [21307/21307]

  112. --2026-01-13 19:44:26-- https://dg2.bt.cn/install/plugin/redis/info.json
  113. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  114. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  115. HTTP request sent, awaiting response... 200 OK
  116. Length: 178 [application/json]
  117. Saving to: ‘/www/server/panel/plugin/redis/info.json’

  118. 0K 100% 29.2M=0s

  119. 2026-01-13 19:44:27 (29.2 MB/s) - ‘/www/server/panel/plugin/redis/info.json’ saved [178/178]

  120. --2026-01-13 19:44:27-- https://dg2.bt.cn/install/plugin/redis/icon.png
  121. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  122. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  123. HTTP request sent, awaiting response... 200 OK
  124. Length: 313 [image/png]
  125. Saving to: ‘/www/server/panel/plugin/redis/icon.png’

  126. 0K 100% 52.8M=0s

  127. 2026-01-13 19:44:27 (52.8 MB/s) - ‘/www/server/panel/plugin/redis/icon.png’ saved [313/313]

  128. --2026-01-13 19:44:27-- https://dg2.bt.cn/init/init7.redis
  129. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  130. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  131. HTTP request sent, awaiting response... 200 OK
  132. Length: 2150 (2.1K) [application/octet-stream]
  133. Saving to: ‘/etc/init.d/redis’

  134. 0K .. 100% 344M=0s

  135. 2026-01-13 19:44:27 (344 MB/s) - ‘/etc/init.d/redis’ saved [2150/2150]

  136. --2026-01-13 19:44:27-- https://dg2.bt.cn/conf/redis.conf
  137. Resolving dg2.bt.cn (dg2.bt.cn)... 115.231.130.125, 240e:f7:ef00:3:0:7:8000:125
  138. Connecting to dg2.bt.cn (dg2.bt.cn)|115.231.130.125|:443... connected.
  139. HTTP request sent, awaiting response... 200 OK
  140. Length: 61847 (60K) [application/octet-stream]
  141. Saving to: ‘/www/server/redis/redis.conf’

  142. 0K .......... .......... .......... .......... .......... 82% 1.78M 0s
  143. 50K .......... 100% 117M=0.03s

  144. 2026-01-13 19:44:27 (2.14 MB/s) - ‘/www/server/redis/redis.conf’ saved [61847/61847]

  145. Starting redis server...
  146. sudo: /etc/sudo.conf is world writable
  147. sudo: /etc/sudo.conf is world writable
  148. sudo: /etc/sudoers is world writable
  149. sudo: no valid sudoers sources found, quitting
  150. sudo: unable to initialize policy plugin
  151. Starting redis success!
  152. |-Successify --- 命令已执行! ---
复制代码
使用道具 举报 只看该作者 回复
发表于 3 天前 | 显示全部楼层
按照帖子换源后也是安装失败
99feebeb-c2b3-42a1-b1a9-ba76ccb07d0e.png
使用道具 举报 回复 支持 反对
发表于 3 天前 | 显示全部楼层
这个是安装日志

log.zip

13.38 KB, 下载次数: 4

使用道具 举报 回复 支持 反对
发表于 前天 10:01 | 显示全部楼层
上面的日志看起来是已经安装好了的
可以在软件商店查看是否安装
同时centos7系统比较旧了,有些系统会安装不了高版本的
可以安装低版本的:指定redis版本安装教程
https://www.bt.cn/bbs/thread-51905-1-1.html

使用道具 举报 回复 支持 反对
发表于 前天 21:02 | 显示全部楼层
阿珂 发表于 2026-1-14 10:01
上面的日志看起来是已经安装好了的
可以在软件商店查看是否安装
同时centos7系统比较旧了,有些系统会安装 ...

之前是一直可以的,就最近几天突然停止运行无法启动了,然后再安装就无法安装了,我按照您的链接方法,提示如下:
a827f50c-28b8-4b28-ba4f-dedd647b5cd5.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表