[MDEV-23242] MariaDB Not Started in CentOS8 with service command Created: 2020-07-21  Updated: 2020-07-24  Resolved: 2020-07-24

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: SEONGHWAN KIM Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 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]#



 Comments   
Comment by Daniel Black [ 2020-07-24 ]

lets continue in MDEV-23243 that you created.

Comment by Daniel Black [ 2020-07-24 ]

MDEV-23243

Generated at Thu Feb 08 09:20:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.