LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 666|回复: 1

启动apache时,不显示[OK]?

[复制链接]
发表于 2006-2-12 15:29:01 | 显示全部楼层 |阅读模式
启动apache时,不显示[OK],但是正常启动,我的启动方式为: /etc/httpd/bin/apchectl start,编译安装的,所以每次都得ps -aux|grep httpd
怎样让它显示ok呢?有办法吗?
发表于 2006-2-12 16:20:54 | 显示全部楼层
显示OK,是sysv init脚本的功能,你
cp /etc/httpd/bin/apchectl /etc/init.d/
chkconfig --add apchectl

然后用
service apchectl start
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表