Apache 1.3.31 不能用chkconfig 添加

由 David 在 07-26-2004 12:40 发表:

Apache 1.3.31 不能用chkconfig 添加

我在Redhat 9 中用源码安装 Apache 1.3.31, 安装好后可以运行,但只能手动执行,不能用chkconfig 添加。

#chkconfig --add httpd

时出现下面的提示:

Service http does not support chkconfig.

请问要怎样才能使http 支持chkconfig?


由 David 在 07-27-2004 10:44 发表:


没人知道? 不会吧?! UP!


由 smile787 在 07-27-2004 10:49 发表:

回复: Apache 1.3.31 不能用chkconfig 添加

> quote: > > * * * > > 最初由 David 发表
>
> **我在Redhat 9 中用源码安装 Apache 1.3.31, 安装好后可以运行,但只能手动执行,不能用chkconfig 添加。
>
>
>
> #chkconfig --add httpd
>
> 时出现下面的提示:
>
> Service http does not support chkconfig.
>
>
>
> 请问要怎样才能使http 支持chkconfig? ** > > * * *

支持的啊!!!是想让它开机知道运行否?运行setup,选择最下面的一拦,有很多服务,选上你要的http就好。。


由 David 在 07-27-2004 10:54 发表:


不行啊..运行setup 在上面找不到httpd的.. 能找到我就不会提问了.

#chkconfig --add httpd

时出现下面的提示:

Service http does not support chkconfig.


由 dancingpig 在 07-27-2004 11:05 发表:


把apache的启动脚本放在init.d里不就好了?


由 David 在 07-27-2004 11:09 发表:


> quote: > > * * * > > 最初由 dancingpig 发表
>
> 把apache的启动脚本放在init.d里不就好了? > > * * *

我现在以放在init.d下面了,但我想加到chkconfig里去.不知为什么不行.我不知为什么会出这样的错,不给我加.


由 dancingpig 在 07-27-2004 11:10 发表:


手工放在rc.x里去啊


由 David 在 07-27-2004 11:14 发表:


> quote: > > * * * > > 最初由 dancingpig 发表
>
> 手工放在rc.x里去啊 > > * * *

谢谢你的方法! 我想知道为什么我用源码装的加不进去.但我用 .rpm装的就可以添加进去..


由 eTony 在 07-27-2004 11:34 发表:


检查一下你写的脚本和rpm生成的脚本有什么不同???


Seeking Freedom,pure Freedom!

http://211.92.88.40/~tony/

http://etony.blogone.net/


由 David 在 07-27-2004 11:37 发表:


> quote: > > * * * > > 最初由 eTony 发表
>
> 检查一下你写的脚本和rpm生成的脚本有什么不同??? > > * * *

<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus