打印

[总结] Directspace Debian 6 VPS warning: script 'vzquota' missing LSB tags and overrides 错误解决方法

Directspace Debian 6 VPS warning: script 'vzquota' missing LSB tags and overrides 错误解决方法

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

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

军哥,很奇怪,我的DS用VI编辑后,保存成功后,重启服务器,又没有新加入的这段了,等于没保存啊。
[url=http://www.yyserver.net]http://www.yyserver.net[/url] 服务器城

TOP