Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mariadbd failed while attempting to check config #544

Closed
kogarastu opened this issue Sep 30, 2022 · 6 comments
Closed

mariadbd failed while attempting to check config #544

kogarastu opened this issue Sep 30, 2022 · 6 comments

Comments

@kogarastu
Copy link

Describe the bug
mariadbd error for a docker deployment

1- I did clone the Squest github branch v1.7.5
2 - i did execute the command line : docker-compose up -d
3 - for see if it works : docker ps

[root@comp squest]# 
CONTAINER ID   IMAGE                         COMMAND                  CREATED        STATUS        PORTS                                                                                                         NAMES
14cdc66c3ba7   nginx:alpine                  "/docker-entrypoint.…"   23 hours ago   Up 23 hours   80/tcp, 0.0.0.0:8080->8080/tcp                                                                                squest_nginx_1
ff61fdf676cf   rabbitmq:3-management         "docker-entrypoint.s…"   24 hours ago   Up 23 hours   4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp   squest_rabbitmq_1
9e252ca59667   redis:6-alpine                "docker-entrypoint.s…"   24 hours ago   Up 23 hours   0.0.0.0:6379->6379/tcp                                                                                        squest_redis-cache_1
1aa13d258d4a   phpmyadmin/phpmyadmin:5.1.3   "/docker-entrypoint.…"   24 hours ago   Up 23 hours   0.0.0.0:8082->80/tcp                                                                                          squest_phpmyadmin_1
57344043bfbd   nginx:alpine                  "/docker-entrypoint.…"   24 hours ago   Up 23 hours   80/tcp                                                                                                        squest_maintenance_1

The database isn't started. I have an error for db service

[root@comp squest]# docker-compose logs -f db
Attaching to squest_db_1
db_1             | 2022-09-29 13:32:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.3+maria~ubu2204 started.
db_1             | 2022-09-29 13:32:29+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
db_1             |      command was: mariadbd --verbose --help --log-bin-index=/tmp/tmp.1mcnSd4wDn
db_1             |      Can't initialize timers
db_1             | 2022-09-29 13:33:37+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.3+maria~ubu2204 started.
db_1             | 2022-09-29 13:33:37+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
db_1             |      command was: mariadbd --verbose --help --log-bin-index=/tmp/tmp.BgFSwpU3Bi
db_1             |      Can't initialize timers
db_1             | 2022-09-30 08:06:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.9.3+maria~ubu2204 started.
db_1             | 2022-09-30 08:06:24+00:00 [ERROR] [Entrypoint]: mariadbd failed while attempting to check config
db_1             |      command was: mariadbd --verbose --help --log-bin-index=/tmp/tmp.bkZFKjSNiw
db_1             |      Can't initialize timers
squest_db_1 exited with code 1

**Expected behavior**
db starting correctly and Squest is Up

**Additional context**
here the content of : ./docker/environnement_variables/db.env
MYSQL_DATABASE=squest_db
MYSQL_USER=squest_user
MYSQL_PASSWORD=squest_password
MYSQL_ROOT_PASSWORD=p@ssw0rd
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306

is it a problem with the db config ?

I try with MYSQL_HOST, MYSQL_PORT and without

- Squest version 1.7.5: 
- Ansible Tower/AWX version: NA
@EliasBoulharts
Copy link
Collaborator

Can you give me your docker version ? (docker -v)

@kogarastu
Copy link
Author

Docker version 20.10.7, build f0df350

@EliasBoulharts
Copy link
Collaborator

Should you update your docker, I think it is fixed in the 20.10.10+ versions. (See here)

@kogarastu
Copy link
Author

Great @EliasBoulharts, i'll test it right away !!!

@kogarastu
Copy link
Author

is Squest docker deployment works with Podman ? (on RHEL 8.4)

@Sispheor
Copy link
Contributor

We have a dedicated issue (#171) for Podman support. So far it's not supported. We'll work on it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants