package mysql-server-8.0 8.0.27-0ubuntu0.20.04.1 failed to install/upgrade: (exceeded timeout to shutdown for restart?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Sequence of events from dpkg terminal log:
Unpacking mysql-server (8.0.27-
...
Setting up mysql-server-
...
Setting up mysql-server-8.0 (8.0.27-
mysqld will log errors to /var/log/
mysqld is running as pid 34837
Error: Unable to shut down server with process id 34837
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Meanwhile, in parallel to the above is this from the mysql error log:
20:45:57 /usr/sbin/mysqld: ready for connections. Version: '8.0.25-
21:08:34 Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.25-
21:08:35 /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.25-
21:29:26 /usr/sbin/mysqld (mysqld 8.0.27-
21:29:26 InnoDB initialization has started.
21:29:30 InnoDB initialization has ended.
21:29:32 [ERROR] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
21:29:32 [ERROR] Plugin mysqlx reported: 'Setup of socket: '/var/run/
21:31:13 Server upgrade from '80025' to '80027' started.
21:37:55 Server upgrade from '80025' to '80027' completed.
21:38:02 [Warning] A deprecated TLS version TLSv1 is enabled for channel mysql_main
21:38:02 [Warning] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
21:38:02 [Warning] CA certificate ca.pem is self signed.
21:38:02 Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
21:38:02 [Warning] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
21:38:02 /usr/sbin/mysqld: ready for connections. Version: '8.0.27-
21:38:05 Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.27-
[Original Report]
i am not able to make an update for this one.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.27-
ProcVersionSign
Uname: Linux 5.11.0-46-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Jan 10 23:39:35 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-01-27 (348 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.27-
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
tags: | removed: need-duplicate-check |
Thank you for taking the time to file a bug report.
Checking the dpkg logs we can see:
Setting up mysql-server-8.0 (8.0.27- 0ubuntu0. 20.04.1) ... mysql/error. log
mysqld will log errors to /var/log/
mysqld is running as pid 34837
Error: Unable to shut down server with process id 34837
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
There is a mysql process running with PID 34837, and this process seems to not be created by the package, if you check the mysql logs you will not find any mention to this PID. I am wondering if you are running mysql in a different way in your system (i.e. using a container).
Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, 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: www.ubuntu. com/support/ community
http://