service redis does not support chkconfig
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了service redis does not support chkconfig相关的知识,希望对你有一定的参考价值。
添加redis到自启动服务:
[[email protected] redis]# chkconfig --add redis service redis does not support chkconfig 解决方法:(在/etc/init.d/redis添加两行注释) #!/bin/sh #添加的两行注释内容如下: # chkconfig: 2345 90 10 # description: Redis is a persistent key-value database # 注释的意思是,redis服务必须在运行级2,3,4,5下被启动或关闭,启动的优先级是90,关闭的优先级是10 [[email protected] redis]# chkconfig --add redis [[email protected] redis]# echo $? 0 [[email protected] redis]# chkconfig --list | grep redis redis 0:off1:off2:on3:on4:on5:on6:off
在编辑其它类似服务时,也可能出现这种情况,解决方法基本类似
本文出自 “冰冻vs西瓜” 博客,请务必保留此出处http://molewan.blog.51cto.com/287340/1879275
以上是关于service redis does not support chkconfig的主要内容,如果未能解决你的问题,请参考以下文章
service XXX does not support chkconfig
service zookeeper does not support chkconfig解决办法
service XXX does not support chkconfig
Shell脚本安装成服务加入系统启动-service XX does not support chkconfig
FeignLoad balancer does not contain an instance for the service xxx-service
FeignLoad balancer does not contain an instance for the service xxx-service