"ERROR! /usr/share/cacti/log/ Not Writable"
[root@cact-testbed2 jnomwesigwa]# setenforce 0 [root@cact-testbed2 jnomwesigwa]# systemctl restart httpd.service [root@cact-testbed2 jnomwesigwa]# systemctl restart mariadb.service
Problem or Goal:
Installing cacti on CentOS 8
Cause:
Apache user doesn't have write access to directory /usr/share/cacti/log/
Solution:
Simply turning off the SELinux (using setenforce cmd) and restarting the services did the trick for me.
Note: SELinux (Security-Enhanced Linux) is a security architecture for Linux® systems that allows administrators to have more control over who can access the system. It was originally developed by the United States National Security Agency (NSA) as a series of patches to the Linux kernel using Linux Security Modules (LSM).
Problem Solved?
yes
2 comments:
yes very good it works
thankyou so much, it works!
Post a Comment