无法在 ubuntu 中更新 MYSQL 启动设置

无法在 ubuntu 中更新 MYSQL 启动设置

我更新到 mysql 5.5 后发现服务器在启动时不再启动,但我必须手动启动。它实际上没有设置为在任何级别启动。

所以我做了

chkconfig -s mysql 2345

但我得到了所有这些错误

The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hwclock' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'plymouth' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'apport' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'network-interface-security' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'hostname' missing LSB tags and overrides
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'vsftpd' missing LSB tags and overrides
insserv: There is a loop between service sysklogd and hwclock if stopped
insserv:  loop involving service hwclock at depth 3
insserv:  loop involving service sysklogd at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop between service sysklogd and hwclock if stopped
insserv:  loop involving service bluetooth at depth 2
insserv: There is a loop between service sysklogd and hwclock if started
insserv:  loop involving service hwclock at depth 2
insserv:  loop involving service sysklogd at depth 1
insserv: exiting now without changing boot order!
/sbin/insserv failed, exit code 1

奇怪的是,我尝试使用 openvpn 执行相同操作,但它没有任何错误。如何修复?

相关内容