[Bug 1569163] Re: Fail on Setting up mysql-server-5.7 after dist-upgrade on 16.04 beta

Robie Basak 1569163 at bugs.launchpad.net
Tue Apr 12 20:30:05 UTC 2016


** Package changed: ubuntu-release-upgrader (Ubuntu) => mysql-5.7
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1569163

Title:
  Fail on Setting up mysql-server-5.7 after dist-upgrade on 16.04 beta

Status in mysql-5.7 package in Ubuntu:
  New

Bug description:
  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

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubuntu-release-upgrader-core 1:16.04.10
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Tue Apr 12 08:35:58 2016
  InstallationDate: Installed on 2014-07-28 (623 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: Upgraded to xenial on 2016-03-18 (24 days ago)
  VarLogDistupgradeTermlog:

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



More information about the foundations-bugs mailing list