VPS侦探论坛

 找回密码
 注册
搜索
热搜: pathinfo
查看: 9468|回复: 1

[总结] Directspace Debian 6 VPS warning: script 'vzquota' missing LSB tags and override

[复制链接]
发表于 2011-3-10 12:35:26 | 显示全部楼层 |阅读模式

Directspace的Debian 6因为缺少LBS,安装软件时会提示一下错误:
insserv: warning: script 'S10vzquota' missing LSB tags and overrides
insserv: warning: script 'vzquota' missing LSB tags and overrides
insserv: There is a loop between service vzquota and rmnologin if started
insserv:  loop involving service rmnologin at depth 3
insserv:  loop involving service vzquota at depth 2
insserv:  loop involving service rsyslog at depth 1
insserv: Starting vzquota depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service vzquota and rmnologin if started
insserv: Starting vzquota depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vzquota depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vzquota depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing screen (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports

解决方法:
编辑/etc/init.d/vzquota
在start(){   前面添加如下内容:

### BEGIN INIT INFO
# Provides: OSSEC HIDS
# Required-Start: $network $remote_fs $syslog $time
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: OSSEC HIDS
### END INIT INFO
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-2-3 23:51:54 | 显示全部楼层

军哥,很奇怪,我的DS用VI编辑后,保存成功后,重启服务器,又没有新加入的这段了,等于没保存啊。

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

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

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2019-4-25 06:59 , Processed in 0.042449 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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