关于chkconfig的问题

由 txkss 在 09-14-2004 21:55 发表:

关于chkconfig的问题

兄弟们我想问一下chkconfig只是针对独立运行的程序的吗?

也就是说由xinetd运行的服务不受chkconfig运行级别的限制嘛

谢谢

我现在搞不清楚chkconfig与xinetd的关系

比如说我在/etc/xinetd.d/telnet下将它启动了

而我又使用chkconfig --level 2345 telnet off

那样的话到底是谁有效呢?


由 Snoopy 在 09-14-2004 23:25 发表:


telnet属于xinetd


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 黯然销魂 在 09-14-2004 23:55 发表:


chkconfig只是一个设置,重启后有效。

/etc/rc.d/init.d/xinetd restart就是马上生效的。。。


-- Hacking is "an appropriate application of ingenuity.." --

--If Linux doesn't have the solution, you have the wrong problem.--

^^ LFS 511(/w udev) + BLFS CVS ^^

XOrg R681 + KDE 3.3.0


由 txkss 在 09-15-2004 07:32 发表:


那chkconfig和xinetd谁权力大呢

也就是说我在xinetd里启动了telnet

之后又使用chkconfig off telnet

谁听谁的啊?????????????????????????????


由 Sonnenschein 在 09-15-2004 10:56 发表:


xinetd管理的是好多个服务,你可以看/etc/xinetd.d/目录下,这个目录下的服务都是xinetd管理的,用chkconfig --list它们排在最后面,chkconfig是设置服务在重新启动的时候的开启,关闭状态,telnet则在/etc/xinetd.d/telnet中这是,如果要使telnet服务马上起作用,你必须重新启动xinetd服务,因为telnet是由xinetd管理


由 Sonnenschein 在 09-15-2004 10:58 发表:


简单点说chkconfig设置系统启动时服务的状态,xinetd属于其中一个服务,而telnet是xinetd管理的一个服务


由 Snoopy 在 09-15-2004 11:59 发表:


> quote: > > * * * > >

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