Redis服务器无法在系统启动时启动

时间:2020-09-16 15:33:22

标签: redis

我在CentOS 6.2上运行了两个独立的REDIS实例,如以下一篇文章所述:

https://community.pivotal.io/s/article/How-to-setup-and-run-multiple-Redis-server-instances-on-a-Linux-host?language=en_US

我在/etc/init.d目录下有适当的脚本:

/etc/init.d/redis_6379 /etc/init.d/redis_6380

我还为REDIS实例设置了运行级别:

redis-sentinel  0:off   1:off   2:off   3:off   4:off   5:off   6:off
redis_6379      0:off   1:off   2:on    3:on    4:on    5:on    6:off
redis_6380      0:off   1:off   2:on    3:on    4:on    5:on    6:off

However, when the system reboots, none of the two REDIS instances are starting. I have to enter the system and manually run the startup scripts:

[root]# /etc/init.d/redis_6379 start
[root]# /etc/init.d/redis_6380 start

I checked the log files of REDIS and didn't find any failure.

0 个答案:

没有答案