簡體   English   中英

MariaDB 啟動時出錯,不斷重啟

[英]MariaDB error on startup, keeps restarting

在通過 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

沒關系,我找到了解決方案。 我以為我有足夠的磁盤空間,但實際上沒有。

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM