package mysql-server-5.7 5.7.23-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
Distribution information:
Description: Ubuntu 18.04.1 LTS
Release: 18.04
k@k-HP-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
package installer information:chmod 755 bitnami-
Below is the information of terminal:
It is in attachment kindly see to it
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: mysql-server-5.7 5.7.23-
ProcVersionSign
Uname: Linux 4.15.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Thu Aug 23 10:42:44 2018
DuplicateSignature:
package:
Setting up mysql-server-5.7 (5.7.23-
update-
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
ErrorMessage: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-08-22 (0 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.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3ubuntu0.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.23-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi,
you seem to have all kinds of services already running, in your log I found:
Apache stumbling: 8460p apachectl[7951]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 8460p apachectl[7951]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Aug 23 10:42:05 k-HP-EliteBook-
Aug 23 10:42:05 k-HP-EliteBook-
And also mysql later: 23T05:12: 42.584400Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 23T05:12: 42.584406Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 23T05:12: 42.584423Z 0 [ERROR] Aborting
2018-08-
2018-08-
2018-08-
I can't derive from the logs what you had on these ports, but you'll need to resolve that cleanly (uninstall or reconfigure the former processes to other ports) or the new services won't start.
In general multiple webservers on different ports usually work, but multiple mysql databases I want to encourage you to double check their data path to not kill your DB content at some point.