MariaDB 启动时出错,不断重新启动

问题描述 投票:0回答:1

通过 docker 将更新推送到我的 drupal 容器后尝试启动我的 mariadb 容器时,突然出现此 MariaDB 错误。容器不断地一遍又一遍地重新启动。我回滚了 drupal 更新,但错误仍然存在,我也尝试删除 mariadb 映像并重建它,也没有成功,同样的错误。

我研究并发现在 MariaDB 更新后存在与 Mac/Win 系统相关的类似错误,但是 1)我使用的是ubuntu 16系统 2)我没有更新MariaDB

问题链接:https://jira.mariadb.org/browse/MDEV-16015

有什么想法吗?

2019-11-25  9:47:30 0 [Note] InnoDB: Ignoring data file './development/cache_update.ibd' with space ID 2698. Another data file called ./development/#sql-ib2713.ibd exists with the same space ID.
2019-11-25  9:47:30 0 [Note] InnoDB: Starting final batch to recover 36 pages from redo log.
2019-11-25  9:47:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-25  9:47:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-25  9:47:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-25  9:47:31 0 [ERROR] InnoDB: preallocating 12582912 bytes for file ./ibtmp1 failed with error 28
2019-11-25  9:47:31 0 [ERROR] InnoDB: Could not set the file size of './ibtmp1'. Probably out of disk space
2019-11-25  9:47:31 0 [ERROR] InnoDB: Unable to create the shared innodb_temporary
2019-11-25  9:47:31 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-11-25  9:47:31 0 [Note] InnoDB: FTS optimize thread exiting.
2019-11-25  9:47:36 0 [Note] InnoDB: Starting shutdown...
2019-11-25  9:47:36 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-25  9:47:36 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-11-25  9:47:36 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-11-25  9:47:36 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-25  9:47:36 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2019-11-25  9:47:36 0 [ERROR] Aborting
2019-11-25 09:48:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server  started.
2019-11-25 09:48:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2019-11-25 09:48:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server  started.
2019-11-25  9:48:37 0 [Note] mysqld (mysqld 10.4.10-MariaDB-1:10.4.10+maria~bionic) starting as process 1 ...
2019-11-25  9:48:37 0 [Note] InnoDB: Using Linux native AIO
2019-11-25  9:48:37 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-11-25  9:48:37 0 [Note] InnoDB: Uses event mutexes
2019-11-25  9:48:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-11-25  9:48:37 0 [Note] InnoDB: Number of pools: 1
2019-11-25  9:48:37 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-11-25  9:48:37 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2019-11-25  9:48:37 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2019-11-25  9:48:37 0 [Note] InnoDB: Completed initialization of buffer pool
2019-11-25  9:48:37 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-11-25  9:48:38 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11785883154
2019-11-25  9:48:38 0 [Note] InnoDB: Ignoring data file './development/#sql-ib2713.ibd' with space ID 2698. Another data file called ./development/cache_update.ibd exists with the same space ID.
2019-11-25  9:48:38 0 [Note] InnoDB: Ignoring data file './development/cache_update.ibd' with space ID 2698. Another data file called ./development/#sql-ib2713.ibd exists with the same space ID.
2019-11-25  9:48:38 0 [Note] InnoDB: Starting final batch to recover 36 pages from redo log.
2019-11-25  9:48:38 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-25  9:48:38 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-25  9:48:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-25  9:48:38 0 [ERROR] InnoDB: preallocating 12582912 bytes for file ./ibtmp1 failed with error 28
2019-11-25  9:48:38 0 [ERROR] InnoDB: Could not set the file size of './ibtmp1'. Probably out of disk space
2019-11-25  9:48:38 0 [ERROR] InnoDB: Unable to create the shared innodb_temporary
2019-11-25  9:48:38 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2019-11-25  9:48:38 0 [Note] InnoDB: FTS optimize thread exiting.
2019-11-25  9:48:43 0 [Note] InnoDB: Starting shutdown...
2019-11-25  9:48:43 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-11-25  9:48:43 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-11-25  9:48:43 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-11-25  9:48:43 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-25  9:48:43 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2019-11-25  9:48:43 0 [ERROR] Aborting
mysql docker ubuntu drupal mariadb
1个回答
0
投票

没关系,我找到了解决方案。我以为我还有足够的磁盘空间,但实际上没有。

这是解决方案:https://superuser.com/questions/1267663/docker-mariadb-instance-not-starting-after-update

© www.soinside.com 2019 - 2024. All rights reserved.