Re: Install Mariadb on Centos 7 fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sep 23, 2016, at 10:36 AM, cpolish@xxxxxxxxxxxx wrote:
> 
> What do these commands show?
> 
>    ls -lF /var/log/mysqld.log
>    ls -lZ /var/log/mysqld.log
>    getenforce

Simply saying 'sudo restorecon -R /var/log’ may fix it by resetting SELinux file permissions to their intended defaults.

That won’t help if you have explicit SELinux labels applied to that one log file, though.  The ls -lZ output (from after the restorecon command) would be necessary to understand the complaint from mysqld_safe in that case.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux