package mysql-server-5.7 5.7.20-0ubuntu0.16.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
Unable to install mysql-server5.7 on ubuntu 16.04.1
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.20-
ProcVersionSign
Uname: Linux 4.4.0-101-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.13
Architecture: amd64
Date: Tue Dec 5 11:06:30 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-06-07 (182 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.20-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi Siddhant,
I see in your logs that the server failed to start after install.
From your log: 05T05:35: 58.134939Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 05T05:35: 58.134957Z 0 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 05T05:35: 58.135028Z 0 [Note] Server socket created on IP: '127.0.0.1'. 05T05:35: 58.135048Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 05T05:35: 58.135053Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 05T05:35: 58.135068Z 0 [ERROR] Aborting
2017-12-
2017-12-
2017-12-
2017-12-
2017-12-
2017-12-
Now you might have another service on that port, you'd need to clean that collision up.
But actually your error log suggests that you eventually did so already and might just have reported the error afterwards.