【待反馈】Centos9安装Redis无法启动
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:免费版 9.5.0
系统版本:
CentOS-Stream-9-latest-x86_64-dvd1.iso
虚拟机安装
问题描述:
安装redis7.4.2后,在宝塔面板无法启动、停止、重载配置,都显示操作失败
手动执行/etc/init.d/redis start后可以启动成功,面板显示启动,但是无法停止(显示操作失败)、重启(显示成功但是配置未生效)、重载配置(显示成功但是配置未生效)
把内存调大,或者把其它软件全部停止,redis也无法正常。
相关截图(日志、错误):
5108:M 12 Mar 2025 15:32:36.802 # Redis is now ready to exit, bye bye...
4870:C 12 Mar 2025 16:05:54.893 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
4870:C 12 Mar 2025 16:05:54.893 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=4870, just started
4870:C 12 Mar 2025 16:05:54.893 * Configuration loaded
4870:M 12 Mar 2025 16:05:54.893 * monotonic clock: POSIX clock_gettime
_._
_.-``__ ''-._
_.-`` `.`_.''-._ Redis Community Edition
.-`` .-```.```\/ _.,_ ''-._ 7.4.2 (00000000/0) 64 bit
( ' , .-`| `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 4870
`-._ `-._`-./_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
4870:M 12 Mar 2025 16:05:54.895 * Server initialized
4870:M 12 Mar 2025 16:05:54.895 * Loading RDB produced by version 7.4.2
4870:M 12 Mar 2025 16:05:54.895 * RDB age 1998 seconds
4870:M 12 Mar 2025 16:05:54.895 * RDB memory usage when created 0.90 Mb
4870:M 12 Mar 2025 16:05:54.895 * Done loading RDB, keys loaded: 0, keys expired: 0.
4870:M 12 Mar 2025 16:05:54.895 * DB loaded from disk: 0.000 seconds
4870:M 12 Mar 2025 16:05:54.895 * Ready to accept connections tcp
4870:signal-handler (1741767076) Received SIGTERM scheduling shutdown...
4870:M 12 Mar 2025 16:11:16.668 * User requested shutdown...
4870:M 12 Mar 2025 16:11:16.668 * Saving the final RDB snapshot before exiting.
4870:M 12 Mar 2025 16:11:16.673 * DB saved on disk
4870:M 12 Mar 2025 16:11:16.673 * Removing the pid file.
4870:M 12 Mar 2025 16:11:16.673 # Redis is now ready to exit, bye bye...
检查一下是不是权限有问题,如果有使用系统加固等安全软件,先关闭防护,再修复一下面板,重新安装一下看看
我也和你一样面板无法启动停止 用 /etc/init.d/redis start 或者 service redis start 可以正常启停。我看安装日志上最后有个
redis.sh: line 85: chkconfig: command not found
|-Successify --- 命令已执行! ---
然后去取 安装 chkconfig 也安装不了
页:
[1]