package mysql-server-5.7 5.7.20-0ubuntu0.17.04.1 failed to install/upgrade: el subproceso instalado paquete mysql-server-5.7 script post-installation devolvió el código de salida de error 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/
Active: activating (auto-restart) (Result: exit-code) since Thu 2021-04-08 09:43:06 CEST; 69ms ago
Process: 104470 ExecStartPre=
Process: 104491 ExecStart=
Process: 104492 ExecStartPost=
Main PID: 104491 (code=exited, status=2)
abr 08 09:43:06 bigdata systemd[1]: mysql.service: Scheduled restart job, restart counter is at 1.
abr 08 09:43:06 bigdata systemd[1]: Stopped MySQL Community Server.
abr 08 09:43:06 bigdata systemd[1]: Starting MySQL Community Server...
abr 08 09:43:06 bigdata systemd[1]: mysql.service: Main process exited, code=exited, status=
dpkg: error al procesar el paquete mysql-server-5.7 (--configure):
el subproceso instalado paquete mysql-server-5.7 script post-installation devolvió el código de salida de error 1
Procesando disparadores para man-db (2.9.1-1) ...
Procesando disparadores para ureadahead (0.100.0-21) ...
Procesando disparadores para libc-bin (2.31-0ubuntu9.2) ...
Procesando disparadores para systemd (245.4-4ubuntu3.6) ...
Se encontraron errores al procesar:
mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)
bigdata@bigdata:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-5.7 5.7.20-
ProcVersionSign
Uname: Linux 5.4.0-67-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 7 18:32:52 2021
ErrorMessage: el subproceso instalado paquete mysql-server-5.7 script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2018-04-22 (1081 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.5
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.20-
UpgradeStatus: Upgraded to focal on 2021-03-04 (34 days ago)
Thanks for your report and your help to make Ubuntu better.
From you log this seems to be a real crash:
2021-04- 07T17:09: 57.616740Z 0 [ERROR] [FATAL] InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800! bugs.mysql. com. dev.mysql. com/doc/ refman/ 5.7/en/ forcing- innodb- recovery. html
2021-04-07 19:09:57 0x7f053ee22740 InnoDB: Assertion failure in thread 139660506572608 in file ut0ut.cc line 916
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://
InnoDB: about forcing recovery.
17:09:57 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
key_buffer_ size=16777216 size=131072 connections= 0 size)*max_ threads = 76385 K bytes of memory
read_buffer_
max_used_
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0 mysqld( my_print_ stacktrace+ 0x3b)[0x55a2a8d e48eb] mysqld( handle_ fatal_signal+ 0x489)[ 0x55a2a86dd679] 64-linux- gnu/libpthread. so.0(+0x153c0) [0x7f053f3983c0 ] 64-linux- gnu/libc. so.6(gsignal+ 0xcb)[0x7f053ee 8a18b] 64-linux- gnu/libc. so.6(abort+ 0x12b)[ 0x7f053ee69859] mysqld( +0x61d9b9) [0x55a2a86b39b9 ] mysqld( _ZN2ib5fatalD1E v+0x145) [0x55a2a8fbd0a5 ] mysqld( +0xfd80ab) [0x55a2a906e0ab ] mysqld( +0xfd8717) [0x55a2a906e717 ] mysqld( _Z6fil_ ioRK9IORequestb RK9page_ id_tRK11page_ size_tmmPvS8_ +0x2e8) [0x55a2a9077cc8 ] mysqld( _Z13buf_ read_pageRK9pag e_id_tRK11page_ size_t+ 0xdd)[0x55a2a90 2ab6d] mysqld( _Z16buf_ page_get_ genRK9page_ id_tRK11page_ size_tmP11buf_ block_tmPKcmP5m tr_tb+0x4ca) [0x55a2a8ff8efa ] mysqld( _Z31trx_ rseg_get_ n_undo_ tablespacesPm+ 0x152)[ 0x55a2a8f9a462] mysqld( +0x61cb3d) [0x55a2a86b2b3d ] mysqld( _Z34innobase_ start_or_ create_ for_mysqlv+ 0x2f5d) [0x55a2a8f6622d ] mysqld( +0xd9786a) [0x55a2a8e2d86a ] mysqld( _Z24ha_ initialize_ handlertonP13st _plugin_ int+0x4f) [0x55a2a872ad9f ] mysqld( +0xb321d5) [0x55a2a8bc81d5 ] mysqld( _Z11plugin_ initPiPPci+ 0x600)[ 0x55a2a8bcf9d0] mysqld( +0x63fa2f) [0x55a2a86d5a2f ] mysqld( _Z11mysqld_ mainiPPc+ 0x810)[ 0x55a2a86d7190] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xf3) [0x7f053ee6b0b3 ] mysqld( _start+ 0x2a)[0x55a2a86 cda2a]
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
/lib/x86_
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/sbin/
...