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

chkconfig : No such file or directory

上一篇:maven 详解,其它这几篇文章也不错


下一篇:TEST 4.1