mysql-server crashes on update installation

Bug #1705819 reported by Gary Krueger
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I believe that someone here was processing a system update.

I've come across this error message that indicates that mysql-server crashed on installing an update.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.19-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Sat Jul 22 03:17:13 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-12-25 (208 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Logs.var.log.daemon.log:

Logs.var.log.mysql.error.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: ['cookbook2_development', 'mysql', 'marketmodel', 'ib_buffer_pool.backup.20170525', 'debian-5.7.flag.backup.20170525', 'ibdata1.backup.20170525', 'debian-5.7.flag', 'ibdata1', 'shopping', 'mysql_upgrade_info', 'ib_logfile0', 'ibtmp1', 'performance_schema', 'doublecombo', 'auto.cnf.backup.20170525', 'test', 'debian-5.5.flag', 'shopping_development', 'ib_logfile1', 'ib_logfile1.backup.20170525', 'stamps', 'auto.cnf', 'ib_logfile0.backup.20170525', 'toptodos_development', 'coins', 'ib_buffer_pool', 'currency', 'sys', 'examples']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-83-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.19-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
Gary Krueger (gary3) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

From log:

Running queries to upgrade MySQL server.
mysql_upgrade: [ERROR] 1010: Error dropping database (can't rmdir './performance_schema/', errno: 17)
mysql_upgrade failed with exit status 5

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to file a bug report.

From the above it appears that a folder was unable to be deleted.
Can you find that directory and verify permissions on the directory?

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

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.