package mysql-server-5.7 5.7.18-0ubuntu0.17.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/
Active: activating (auto-restart) (Result: exit-code) since Mon 2017-05-15 20:33:21 CDT; 37ms ago
Process: 11202 ExecStartPost=
Process: 11201 ExecStart=
Process: 11193 ExecStartPre=
Main PID: 11201 (code=exited, status=1/FAILURE)
May 15 20:33:21 chantings-gateway systemd[1]: mysql.service: Unit entered fa…te.
May 15 20:33:21 chantings-gateway systemd[1]: mysql.service: Failed with res…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (232-21ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: mysql-server-5.7 5.7.18-
ProcVersionSign
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Mon May 15 20:33:21 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-05-09 (6 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.18-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From mysql error log:
2017-05- 16T01:34: 24.136276Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 16T01:34: 24.136286Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 16T01:34: 24.136317Z 0 [ERROR] Aborting
2017-05-
2017-05-