package mysql-server-5.7 5.7.24-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1803291 reported by sumit bhosale
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This bug is create when i install mysql server please give a patch in next update

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.24-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.15.0-39.42~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Wed Nov 14 09:56:54 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['sample', 'sys', 'ib_logfile1', 'ib_buffer_pool', 'mysql', 'mysql_upgrade_info', 'ib_logfile0', 'auto.cnf', 'performance_schema', 'debian-5.7.flag', 'ibdata1', 'ibtmp1']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-39-generic root=UUID=14bb5f3c-256f-4dfa-ac29-1184e31211f9 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.29
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.24-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sumit bhosale (sumitbhosale111) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Karl Stenerud (kstenerud) wrote :

Hi Sumit,

Looking at the logs I see the following:

2018-11-14T04:28:26.481991Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2018-11-14T04:28:26.481999Z 0 [Note] - '127.0.0.1' resolves to '127.0.0.1';
2018-11-14T04:28:26.482019Z 0 [Note] Server socket created on IP: '127.0.0.1'.
2018-11-14T04:28:26.482030Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
2018-11-14T04:28:26.482032Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2018-11-14T04:28:26.482043Z 0 [ERROR] Aborting

So you have something running that already has port 3306 open. Do you have another instance of mysql or mariadb running already?

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mysql-5.7 (Ubuntu) because there has been no activity for 60 days.]

Changed in mysql-5.7 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.