I have the same problem.

[...]
mysql-server-5.7 (5.7.12-0ubuntu1) wird eingerichtet ...
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: Fehler beim Bearbeiten des Paketes mysql-server-5.7 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Trigger für systemd (229-4ubuntu4) werden verarbeitet ...
Trigger für ureadahead (0.100.0-19) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)

Output of "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 Mit 2016-04-27 
15:31:16 CEST; 14s ago
  Process: 6036 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  Process: 6031 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre 
(code=exited, status=0/SUCCESS)
 Main PID: 6036 (code=exited, status=1/FAILURE);         : 6037 
(mysql-systemd-s)
    Tasks: 2 (limit: 512)
   Memory: 336.0K
      CPU: 492ms
   CGroup: /system.slice/mysql.service
           └─control
             ├─6037 /bin/bash /usr/share/mysql/mysql-systemd-start post
             └─6320 sleep 1


Output of "journalctl -xe":

Apr 27 15:31:16 systemd[1]: Starting MySQL Community Server...
Apr 27 15:31:19 systemd[1]: mysql.service: Main process exited, code=exited, 
status=1/FAILURE

Apr 27 15:35:01 host CRON[10193]: pam_unix(cron:session): session opened for 
user root by (uid=0)
Apr 27 15:35:01 host CRON[10197]: (root) CMD (command -v debian-sa1 > /dev/null 
&& debian-sa1 1 1)
Apr 27 15:35:01 host CRON[10193]: pam_unix(cron:session): session closed for 
user root
Apr 27 15:35:20 host 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.
Apr 27 15:35:20 host systemd[1]: mysql.service: Unit entered failed state.
Apr 27 15:35:20 host systemd[1]: mysql.service: Failed with result 'exit-code'.
Apr 27 15:35:20 host systemd[1]: mysql.service: Service hold-off time over, 
scheduling restart.
Apr 27 15:35:20 host 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.
Apr 27 15:35:20 host 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.
Apr 27 15:35:23 host systemd[1]: mysql.service: Main process exited, 
code=exited, status=1/FAILURE

---

I've tried purging mysql-server-5.7 and re-installing it, but to no
avail.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573624

Title:
  package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1573624/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to