Ⅰ insserv 是个什么工具
insserv是debian系列的命令,
redhat系列没有。
用来管理初始化脚本的。
具体可以查debian的man
Ⅱ chkconfig在ubuntu里用什么命令替代
安装命令:
sudo apt-get install chkconfig
(可以用sysv-rc-conf代替)
关于chkconfig命令的使用点击这里
在ubuntu下使用应该会出现这样的错误:
/sbin/insserv: No such file or directory
据说这是Ubuntu的小bug
解决办法:sudo ln -s /usr/lib/insserv/insserv /sbin/insserv
Ⅲ insserv:FATAL:service network is missed in runlevel 2 to use service smpppd. insserv:exiting now!
1、chkconfig --level 235 network on
2、ds@linux-5298:~> /sbin/chkconfig -l |grep network
network 0:off 1:off 2:on 3:on 4:off 5:on 6:off
network-remotefs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
可以看到network 2:on
3、chkconfig --level 35 smpppd on