Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
None
Description
Hi,
I install MariaDB 10.5 in CentOS7 & CentOS8
I installed same command.
CentOS7 is working good.
But CentOS8 is Not workng like below.
I think MariaDB was not working in CentOS 8 properly.
What is problem???
[root@test3 mariadb]# systemctl start mariadb
[root@test3 mariadb]#
[root@test3 mariadb]# systemctl status mariadb
● mariadb.service - LSB: start and stop MariaDB
Loaded: loaded (/etc/rc.d/init.d/mariadb; generated)
Active: active (exited) since Tue 2020-07-21 00:10:04 EDT; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 6953 ExecStart=/etc/rc.d/init.d/mariadb start (code=exited, status=0/SUCCESS)
7월 21 00:10:04 test3 systemd[1]: Starting LSB: start and stop MariaDB...
*7월 21 00:10:04 test3 mariadb[6953]: /etc/rc.d/init.d/mariadb: line 211: my_print_defaults: command not found
7월 21 00:10:04 test3 mariadb[6953]: /etc/rc.d/init.d/mariadb: line 303: cd: /MARIADB/mariadb: 디렉터리가 아닙니다
7월 21 00:10:04 test3 mariadb[6953]: Starting MariaDB ERROR! Couldn't find MariaDB server (/MARIADB/mariadb/bin/mysqld_safe)*
7월 21 00:10:04 test3 systemd[1]: Started LSB: start and stop MariaDB.
[root@test3 mariadb]#
[root@test3 mariadb]# systemctl stop mariadb
[root@test3 mariadb]# systemctl status mariadb
● mariadb.service - LSB: start and stop MariaDB
Loaded: loaded (/etc/rc.d/init.d/mariadb; generated)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
7월 21 09:09:32 test3 systemd[1]: Stopped LSB: start and stop MariaDB.
7월 21 00:10:04 test3 systemd[1]: Starting LSB: start and stop MariaDB...
7월 21 00:10:04 test3 mariadb[6953]: /etc/rc.d/init.d/mariadb: line 211: my_print_defaults: command not found
7월 21 00:10:04 test3 mariadb[6953]: /etc/rc.d/init.d/mariadb: line 303: cd: /MARIADB/mariadb: 디렉터리가 아닙니다
7월 21 00:10:04 test3 mariadb[6953]: Starting MariaDB ERROR! Couldn't find MariaDB server (/MARIADB/mariadb/bin/mysqld_safe)
7월 21 00:10:04 test3 systemd[1]: Started LSB: start and stop MariaDB.
7월 21 00:10:25 test3 systemd[1]: Stopping LSB: start and stop MariaDB...
7월 21 00:10:25 test3 mariadb[6972]: /etc/rc.d/init.d/mariadb: line 211: my_print_defaults: command not found
7월 21 00:10:25 test3 mariadb[6972]: ERROR! MariaDB server PID file could not be found!
7월 21 00:10:25 test3 systemd[1]: Stopped LSB: start and stop MariaDB.
[root@test3 mariadb]#