2013-10-06 63 views
0

在RHEL6安裝MariaDB的,並與service start mysql啓動服務器給出了錯誤MariaDB的啓動失敗在RHEL 6

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: 

我怎樣才能解決這個問題。

回答

1

這是一個selinux錯誤。根據MariaDB網站上提供的說明,唯一受支持的配置是禁用selinux。

1

如果您在禁用了SELinux是不是一種選擇的環境中,你可以,而不是僅僅刪除mysql的模塊,這是造成使用問題:

semodule -r mysql