package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

Bug #1977886 reported by Nikhil Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The server could not be started.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30
Uname: Linux 5.15.0-33-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Jun 8 02:09:32 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-05-13 (25 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
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.my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['server-key.pem', 'binlog.index', 'ibdata1', 'undo_001', 'public_key.pem', 'ib_buffer_pool', 'undo_002', 'ib_logfile1', '#innodb_temp', 'mysql', 'auto.cnf', 'server-cert.pem', 'sys', 'debian-5.7.flag', 'mysql.ibd', 'client-cert.pem', 'ca.pem', 'ca-key.pem', 'ib_logfile0', '#ib_16384_1.dblwr', 'client-key.pem', 'performance_schema', '#ib_16384_0.dblwr', 'private_key.pem']
ProcCmdline: BOOT_IMAGE=/BOOT/ubuntu_5gt241@/vmlinuz-5.15.0-33-generic root=ZFS=rpool/ROOT/ubuntu_5gt241 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nikhil Kumar (nkv994) wrote :
Revision history for this message
Lena Voytek (lvoytek) wrote :

Thank you for submitting this report. I see that your system is using zfs and from your logs I see:

 Log file ./ib_logfile1 is of different size 0 bytes than other log files 18874368 bytes!

This is due to an issue with fallocate in zfs which should be fixed in the next kernel update. I will attach this bug as a duplicate to the original issue.

Thanks!

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.