[Rdo-list] MariaDB installation fails

Giulio Fidente gfidente at redhat.com
Wed Feb 5 03:19:53 UTC 2014


On 02/04/2014 12:54 PM, Dafna Ron wrote:
> You had the same last night - can you please help Yogev?
>
> On 02/04/2014 11:36 AM, Yogev Rabl wrote:
>
>> Error: Could not start Service[mysqld]: Execution of '/sbin/service
>> mariadb start' returned 1: ESC[0m

this is a "known issue" but due to multiple bugs, #1061045 and #981116; 
I think the workaround in the etherpad(1) was missing at least the 
selinux step, needed if you have selinux in enforcing mode

the full sequence for me sums up to:

"""
# yum install -y mariadb-server
# chown mysql:mysql /var/log/mariadb/mariadb.log

# touch /var/log/mysqld.log
# chcon -u system_u -r object_r -t mysqld_log_t /var/log/mysqld.log
# chown mysql:mysql /var/log/mysqld.log

# rm /usr/lib/systemd/system/mysqld.service
# cp /usr/lib/systemd/system/mariadb.service 
/usr/lib/systemd/system/mysqld.service
"""

1. https://etherpad.openstack.org/p/rdo_test_day_feb_2014
-- 
Giulio Fidente
GPG KEY: 08D733BA | IRC: giulivo




More information about the dev mailing list