【问题标题】:MariaDB fails to start on RHEL 6MariaDB 无法在 RHEL 6 上启动
【发布时间】:2013-10-06 21:30:43
【问题描述】:

在 RHEL6 中安装 MariaDB 并使用 service start mysql 启动服务器会出现错误

131007 02:56:13 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
131007 02:56:13 mysqld_safe WSREP: Running position recovery with --log_error=                                 --pid-file=/var/lib/mysql/hostname.pid
131007 02:56:15 mysqld_safe WSREP: Failed to recover position: 

我该如何解决这个问题。

【问题讨论】:

    标签: mariadb rhel6


    【解决方案1】:

    这是一个 selinux 错误。根据 MariaDB 网站上提供的说明,唯一支持的配置是禁用 selinux。

    【讨论】:

      【解决方案2】:

      如果您处于无法禁用 SELinux 的环境中,您可以使用以下方法删除导致问题的 mysql 模块:

      semodule -r mysql
      

      【讨论】:

        猜你喜欢
        • 2021-03-19
        • 1970-01-01
        • 2013-10-03
        • 1970-01-01
        • 2018-08-08
        • 2018-09-16
        • 2017-05-16
        • 1970-01-01
        • 2018-08-30
        相关资源
        最近更新 更多