service httpd does not support chkconfig
来源:互联网 发布:水利水电造价软件 编辑:程序博客网 时间:2024/05/21 07:06
apache 作为linux启动就运行服务程序 chkconfig httpd on
cp /usr/local/apache2/bin/apachectl /etc/rc.d/init.d/httpd
但是在执行:
chkconfig --add httpd
的时候出现错误:service httpd does not support chkconfig
解决办法:
打开 vi /etc/rc.d/init.d/httpd 添加(#!/bin/sh下面)
#chkconfig: 2345 10 90
#description: Activates/Deactivates Apache Web Server加上上面这两行就可以,#必须有
其中:2345是设为要启动的运行级别,10是启动优先级,90是杀死进程的优先级,谁优先谁先挂的意思。
阅读全文
0 0
- “service httpd does not support chkconfig” 問題
- service httpd does not support chkconfig
- service httpd does not support chkconfig linux
- service httpd does not support chkconfig
- service httpd does not support chkconfig的问题
- service httpd does not support chkconfig的问题
- service ***** does not support chkconfig
- service XXX does not support chkconfig
- service X does not support chkconfig
- service XXX does not support chkconfig
- service XXX does not support chkconfig
- service xxxx does not support chkconfig
- service xxx does not support chkconfig
- service activemq does not support chkconfig
- ervice 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的解决办法
- 对称多处理(SMP)
- ansible01 安装
- Spring Boot修改启动类
- java 对 mongo的操作
- String类
- service httpd does not support chkconfig
- Coturn配置
- # inline hook 的几种方式概述----简单介绍而已,没有代码
- OpenStack中nova组件创建虚拟机的源码流程
- 2017年多校赛第二场 1003.Maximum Sequence(贪心)
- 基于PWA的异步监控
- hdu1166(线段树模板)
- BZOJ 2882 后缀数组/最小表示法 解题报告
- 如何选购笔记本电脑?