insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script

insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `network-interface



shell>chkconfig --add mysqld
error:
/sbin/insserv:No such file or directory

Fix:

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

cd /usr/lib/insserv/insserv

chkconfig --add mysqld



  1. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `irqbalance\'
  2. The script you are attempting to invoke has been converted to an Upstart
  3. job, but lsb-header is not supported for Upstart jobs.
  4. insserv: warning: script \'procps\' missing LSB tags and overrides
  5. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `procps\'
  6. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `procps\'
  7. The script you are attempting to invoke has been converted to an Upstart
  8. job, but lsb-header is not supported for Upstart jobs.
  9. insserv: warning: script \'network-interface-security\' missing LSB tags and overrides
  10. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `network-interface-security\'
  11. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `network-interface-security\'
  12. The script you are attempting to invoke has been converted to an Upstart
  13. job, but lsb-header is not supported for Upstart jobs.
  14. insserv: warning: script \'udev-fallback-graphics\' missing LSB tags and overrides
  15. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `udev-fallback-graphics\'
  16. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev-fallback-graphics\'
  17. The script you are attempting to invoke has been converted to an Upstart
  18. job, but lsb-header is not supported for Upstart jobs.
  19. insserv: warning: script \'atd\' missing LSB tags and overrides
  20. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `atd\'
  21. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `atd\'
  22. The script you are attempting to invoke has been converted to an Upstart
  23. job, but lsb-header is not supported for Upstart jobs.
  24. insserv: warning: script \'network-interface\' missing LSB tags and overrides
  25. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `network-interface\'
  26. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `module-init-tools'
    insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `module-init-tools'
    mysqld                    0:off  1:off  2:on   3:on   4:on   5:on   6:off






shell>chkconfig --level 35 mysqld on  

有很多error信息:

  1. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `procps\'
  2. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `procps\'
  3. The script you are attempting to invoke has been converted to an Upstart
  4. job, but lsb-header is not supported for Upstart jobs.
  5. insserv: warning: script \'network-interface-security\' missing LSB tags and overrides
  6. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `network-interface-security\'
  7. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `network-interface-security\'
  8. The script you are attempting to invoke has been converted to an Upstart
  9. job, but lsb-header is not supported for Upstart jobs.
  10. insserv: warning: script \'udev-fallback-graphics\' missing LSB tags and overrides
  11. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `udev-fallback-graphics\'
  12. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `udev-fallback-graphics\'
  13. The script you are attempting to invoke has been converted to an Upstart
  14. job, but lsb-header is not supported for Upstart jobs.
  15. insserv: warning: script \'atd\' missing LSB tags and overrides
  16. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `atd\'
  17. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `atd\'
  18. The script you are attempting to invoke has been converted to an Upstart
  19. job, but lsb-header is not supported for Upstart jobs.
  20. insserv: warning: script \'network-interface\' missing LSB tags and overrides
  21. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `network-interface\'
  22. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `network-interface\'
  23. The script you are attempting to invoke has been converted to an Upstart
  24. job, but lsb-header is not supported for Upstart jobs.
  25. insserv: warning: script \'module-init-tools\' missing LSB tags and overrides
  26. insserv: Default-Start undefined, assuming empty start runlevel(s) for script `module-init-tools\'
  27. insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `module-init-tools\'




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26435490/viewspace-1324355/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26435490/viewspace-1324355/

你可能感兴趣的:(insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script)