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

MariaDB can't start while bootup

    XMLWordPrintable

Details

    Description

      Start it from command:

      /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql --log-error=/var/log/mysqld.log

      And it will NOT never create sub process with mysqld , the status is shown as below:

      root     13648  0.0  0.1 122240  4784 ?        S    13:18   0:00 /usr/bin/python /usr/bin/pidproxy /var/run/mysqld/mysqld.pid /usr/bin/mysqld_safe --datadir=/var/lib/my
      root     13649  0.0  0.0 108328  1544 ?        S    13:18   0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/va
      root     13921  0.0  0.0 103248   848 ?        S    13:18   0:00 grep WSREP: Recovered position:

      HOW TO FIX IT:
      in /usr/bin/mysqld_safe (MariaDB-Galera-server-5.5.29-1.x86_64.rpm)
      line 220:

        [ "$EUID" = "0" ] && chown $user $wr_logfile 

      to fix it:

        [ "$EUID" == "0" ] && chown $user $wr_logfile 

      Attachments

        Activity

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            yourchanges Yuanjun.Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.