package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After restarting my Ubuntu-18.04 LTS powered Dell-inspiron-3443 I got this error
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.24-
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Wed Jan 2 13:14:02 2019
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-08-06 (150 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-
UpgradeStatus: No upgrade log present (probably fresh install)
Hi,
from your log at the time this happened
2019-01- 02T07:14: 00.977793Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190102 13:14:00 02T07:14: 00.980414Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key 02T07:14: 00.980436Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 02T07:14: 00.980443Z 0 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 02T07:14: 00.980465Z 0 [Note] Server socket created on IP: '127.0.0.1'. 02T07:14: 00.980477Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 02T07:14: 00.980480Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 02T07:14: 00.980492Z 0 [ERROR] Aborting
2019-01-
2019-01-
2019-01-
2019-01-
2019-01-
2019-01-
2019-01-
That matches the localized "Wed Jan 2 13:14:02 2019" time
It seems that at that time some other service was running on that port and that broke the restart which is part of the upgrade procedure of a service.