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)