0

これは、chkconfig --add mysqlコマンドが実行されるときに発生します。実行しましたln -s /usr/lib/insserv/insserv /sbin/insservが、問題が優先されます。

insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'mysql' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'alsa-mixer-save' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty).
.
.
.
insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty).
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty).
insserv: There is a loop between service rsyslog and apache2 if stopped
insserv:  loop involving service apache2 at depth 3
insserv:  loop involving service rsyslog at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop between service apache2 and rsyslog if stopped
insserv: exiting now without changing boot order!
/sbin/insserv failed, exit code 1
mysql                     0:off  1:off  2:off  3:off  4:off  5:off  6:off

少し助けていただければ幸いです。ありがとうございました。

4

2 に答える 2

0

Ubuntu 10.04sysv-rc-confの場合、オプションになる可能性があります。次の方法でインストールしてみてください。

sudo sysv-rc-conf

CLI GUI インターフェイスが付属しています。

http://manpages.ubuntu.com/manpages/lucid/man8/sysv-rc-conf.8.html

于 2013-01-03T07:07:39.630 に答える
0

chkconfigUbuntu/Debian のネイティブではなく、Redhat/Fedora の世界から来ています。

標準メカニズムを使用して MySQL サーバーを Ubuntu にインストールした場合:

sudo apt-get install mysql-server

その後、それを機能させたり、サービスとして登録したりするために特別なことをする必要はありません-起動時に自動起動されるようにシステムにすでに登録されています。

service次のような便利なコマンドを引き続き使用できます。

sudo service mysql restart
于 2013-01-03T07:07:50.747 に答える