Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23242

MariaDB Not Started in CentOS8 with service command

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • N/A
    • Packaging
    • 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]#

      Attachments

        Activity

          People

            Unassigned Unassigned
            SEONGHWAN_KIM SEONGHWAN KIM
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.