为了能快速了解并处理您的问题,请提供以下基础信息:
免费版 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...
|
|