chkconfig : No such file or directory

sys_version:12.04LTS

For example:
#chkconfig --level mysql on
/sbin/insserv:No such file or directory

Fix:

# ln -s /usr/lib/insserv/insserv /sbin/insserv

PS:在debian和ubuntu中可以使用sysv-rc-conf来代替chkconfig,使用方法很简单,和chkconfig类似

sudo sysv-rc-conf --level 12345 samba4 on

 

posted on 2014-01-16 00:22  一路前行  阅读(2009)  评论(0编辑  收藏  举报