service XXX does not support chkconfig
来源:互联网 发布:医院网络咨询流程图 编辑:程序博客网 时间:2024/05/21 10:25
有时候为了方便管理,我们常常喜欢在Linux中将之安装为服务,然后就可以使用服务来管理。
但是当我们运行安装服务的命令时候,假设服务名为myservice
#chkconfig --add myservice
常常会出现
service myservice does not support chkconfig
#gedit /etc/init.d/myservice
添加下面两句到 #!/bin/bash 之后。
# chkconfig: 2345 10 90 # description: myservice ....
其中2345是默认启动级别,级别有0-6共7个级别。
等级0表示:表示关机
等级1表示:单用户模式
等级2表示:无网络连接的多用户命令行模式
等级3表示:有网络连接的多用户命令行模式
等级4表示:不可用
等级5表示:带图形界面的多用户模式
等级6表示:重新启动
10是启动优先级,90是停止优先级,优先级范围是0-100,数字越大,优先级越低。
0 0
- service XXX does not support chkconfig
- service XXX does not support chkconfig
- service XXX does not support chkconfig
- service xxx does not support chkconfig
- service ***** does not support chkconfig
- “service httpd does not support chkconfig” 問題
- service httpd does not support chkconfig
- service X does not support chkconfig
- service httpd does not support chkconfig linux
- service xxxx does not support chkconfig
- service activemq does not support chkconfig
- service httpd does not support chkconfig
- service启动redis :service redisd does not support chkconfig
- 解决“service nginx does not support chkconfig”的问题?
- service redis does not support chkconfig的解决办法
- service redis does not support chkconfig的解决办法
- service httpd does not support chkconfig的问题
- Service redis does not support chkconfig的解决办法
- weblogic部署,常见错误解决——Unmarshaller failed
- 初识C#程序结构
- 二分查找要注意的问题
- 系统方法实现仿微信、支付宝二维码扫描 实现 (限制扫描区域、相机背景)
- Android developer 最新国内镜像
- service XXX does not support chkconfig
- JavaScript权威指南_17_第4章_表达式和运算符_4.3-函数定义表达式
- Android 有关Camera的应用
- 斯坦福NG机器学习听课笔记-推荐系统(recommender system)
- 您的ISCSI够快吗?
- 异构数据库连接:PostgreSQL调用Oracle
- 理解:Before和:After伪元素
- div 中 checkbox 删除后 有空白
- 技术团队的情绪与效率