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

MariaDB deployment failed due to permission issue

    XMLWordPrintable

    Details

      Description

      Hi,

      We are trying to install MariaDB 10.3.27 in Customer Pre-Production environment (VNF).

      Getting failed with permission denied error when run the bootstrap.sh script.

      Selinux policy is disabled and umask also having 022.

      Also we have given the 755 for /data folder. Still having the issue.

      -bash-4.2# systemctl status mariadb -l
      ● mariadb.service - MariaDB 10.3.27 database server
         Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/mariadb.service.d
                 └─mariadb-alt.conf, migrated-from-my.cnf-settings.conf
         Active: failed (Result: exit-code) since Fri 2021-10-22 18:08:17 UTC; 3s ago
           Docs: man:mysqld(8)
                 https://mariadb.com/kb/en/library/systemd/
        Process: 3891 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
        Process: 3695 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
        Process: 3692 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
       Main PID: 3891 (code=exited, status=1/FAILURE)
         Status: "MariaDB server is down"
       
      Oct 22 18:08:16 btc-mdb-01 systemd[1]: Starting MariaDB 10.3.27 database server...
      Oct 22 18:08:17 btc-mdb-01 mysqld[3891]: 2021-10-22 18:08:17 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-log) starting as process 3891 ...
      Oct 22 18:08:17 btc-mdb-01 mysqld[3891]: 2021-10-22 18:08:17 0 [Warning] Can't create test file /data/mdb_data/btc-mdb-01.lower-test
      Oct 22 18:08:17 btc-mdb-01 mysqld[3891]: [90B blob data]
      Oct 22 18:08:17 btc-mdb-01 mysqld[3891]: 2021-10-22 18:08:17 0 [ERROR] Aborting
      Oct 22 18:08:17 btc-mdb-01 systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
      Oct 22 18:08:17 btc-mdb-01 systemd[1]: Failed to start MariaDB 10.3.27 database server.
      Oct 22 18:08:17 btc-mdb-01 systemd[1]: Unit mariadb.service entered failed state.
      Oct 22 18:08:17 btc-mdb-01 systemd[1]: mariadb.service failed.
      -bash-4.2#
      

        Attachments

        1. mysqld.site
          1 kB
        2. mysqld.log
          1.0 kB

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            satheesh Satheeshkumar Kandasamy
            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.