大网数据广告活动
服务器运维问答

MariaDB 10.8.3 in Docker: can't initialize timers

· 52CE 我爱测

This error happens even after clearing the Docker image cache: $ docker run -it --rm mariadb:10.8.3 2022-06-15 11:28:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.8.3+maria~jammy started. 2022-06-15 11:2…

问题原文

原帖链接 · Arno · CC BY-SA 4.0

This error happens even after clearing the Docker image cache:

$ docker run -it --rm mariadb:10.8.3
2022-06-15 11:28:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.8.3+maria~jammy started.
2022-06-15 11:28:14+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
        command was: mariadbd --verbose --help --log-bin-index=/tmp/tmp.EUcxIEz4Yz
        Can't initialize timers

10.8.3 is currently the latest image on Docker Hub. The image tag is ea81af801379. This is on 64-bit Ubuntu 18.04. The server has low CPU load, 100+GB of free RAM, and terabytes of free disk space.

I have an existing database that was already touched by this version and that I wouldn't want to risk downgrading.

I have seen this issue but there's no reason that MariaDB would fail to create a thread.

How can I solve this?

社区高分解答

原帖链接 · erwin · CC BY-SA 4.0

The solution is to change the MariaDB version to avoid version 10.8.3, for example by forcing mariadb:10.8.2 or mariadb:10.7, or to set --security-opt seccomp=unconfined

If your Dockerfile or docker-compose are referencing mariadb:latest or mariadb:10 in Summer 2022, that's pointing to mariadb:10.8.3.

Contrary to the post by @Arno, the Docker version is not the issue. I am running Docker 20.10.17 and the problem persists.

You can also directly run with an updated security profile:

docker run --security-opt seccomp=/etc/docker/profiles-seccomp-scmp-act-trace.json

Hopefully a fix will be in the MariaDB 10.8.3 release.

https://github.com/MariaDB/mariadb-docker/issues/434

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-06-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。