Yesterday (04/09/2016) I perfomed dist-upgrade on 16.04beta
Apt-get Pocess removed mysql-server 5.6 and do nothing else (did not install
5.7 instead).
Then I intalled mysql-server 5.7 (5.7.11-0ubuntu5) by myself.
But I got this error:
--
Setting up mysql-server-5.7 (5.7.11-0ubuntu5) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: script virtualbox: service virtualbox already provided!
Job for mysql.service failed because the control process exited with error
code. See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ systemctl status mysql.service
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset:
enabled)
Active: activating (start-post) (Result: exit-code) since Вс 2016-04-10
21:59:18 EEST; 24s ago
Process: 25917 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
Process: 25913 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre
(code=exited, status=0/SUCCESS)
Main PID: 25917 (code=exited, status=1/FAILURE); : 25918
(mysql-systemd-s)
Tasks: 2 (limit: 512)
CGroup: /system.slice/mysql.service
└─control
├─25918 /bin/bash /usr/share/mysql/mysql-systemd-start post
└─25979 sleep 1
апр 10 21:59:18 home systemd[1]: Starting MySQL Community Server...
апр 10 21:59:18 home systemd[1]: mysql.service: Main process exited,
code=exited, status=1/FAILURE
$ journalctl -xe
апр 10 21:59:18 home systemd[1]: mysql.service: Service hold-off time over,
scheduling restart.
апр 10 21:59:18 home systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
апр 10 21:59:18 home systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
апр 10 21:59:18 home mysqld[25917]: mysqld: Can't read dir of
'/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
апр 10 21:59:18 home mysqld[25917]: mysqld: [ERROR] Fatal error in defaults
handling. Program aborted!
апр 10 21:59:18 home systemd[1]: mysql.service: Main process exited,
code=exited, status=1/FAILURE
апр 10 21:59:48 home systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
апр 10 21:59:48 home systemd[1]: mysql.service: Unit entered failed state.
апр 10 21:59:48 home systemd[1]: mysql.service: Failed with result 'exit-code'.
апр 10 21:59:48 home systemd[1]: mysql.service: Service hold-off time over,
scheduling restart.
апр 10 21:59:48 home systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
апр 10 21:59:48 home systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
апр 10 21:59:48 home mysqld[25999]: mysqld: Can't read dir of
'/etc/mysql/conf.d/' (Errcode: 2 - No such file or directory)
апр 10 21:59:48 home mysqld[25999]: mysqld: [ERROR] Fatal error in defaults
handling. Program aborted!
апр 10 21:59:48 home systemd[1]: mysql.service: Main process exited,
code=exited, status=1/FAILURE
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566406
Title:
postinst fails on mysql_upgrade if database is already upgraded
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1566406/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs