Install and Configure DB Server task

Hi @Inderpreet @mmumshad @vijin.palazhi

Could you please review this task for me.
as per the status mariadb is running and also i am able to access the db from all the three app servers and able to load wordpress site as well.

image

image
image
image
image
image
image

Hi @Inderpreet @mmumshad @vijin.palazhi

Could you please assist here?

Hi @Inderpreet @mmumshad @vijin.palazhi ing for assistance

Thanks
Sumit

Hi shanker

was your task failed ?

if failed can you share the error message .

Hi @sadiq1425

Its already attached in the previous comments.

Did you make sure mariabd is started up without any errrors

[root@stdb01 ~]# systemctl start mariadb
[root@stdb01 ~]# systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-01-23 05:07:56 UTC; 4s ago
Process: 330 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 248 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 329 (mysqld_safe)
CGroup: /docker/46127882e90a5f9eedfea510ec6a61f19762eefdd174c01f91bd19488011eb2c/system.slice/mariadb.service
├─329 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─493 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=…

Jan 23 05:07:54 stdb01.stratos.xfusioncorp.com systemd[329]: Executing: /usr/bin/mysqld_safe --basedir=/usr
Jan 23 05:07:54 stdb01.stratos.xfusioncorp.com systemd[330]: Executing: /usr/libexec/mariadb-wait-ready 329
Jan 23 05:07:54 stdb01.stratos.xfusioncorp.com mysqld_safe[329]: 210123 05:07:54 mysqld_safe Logging to ‘/var/log/mariadb/…og’.
Jan 23 05:07:54 stdb01.stratos.xfusioncorp.com mysqld_safe[329]: 210123 05:07:54 mysqld_safe Starting mysqld daemon with d…ysql
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: Child 330 belongs to mariadb.service
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: mariadb.service: control process exited, code=exited status=0
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: mariadb.service got final SIGCHLD for state start-post
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: mariadb.service changed start-post → running
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: Job mariadb.service/start finished, result=done
Jan 23 05:07:56 stdb01.stratos.xfusioncorp.com systemd[1]: Started MariaDB database server.

hi @sadiq1425
thanks for pointing out.
I started mysql service only instead of mariadb service.

may be this is the miss here.
Could you please re-assign the task if possible from your end.
I am currently do not have any task assigned for now.