Search My Techie Guy

Tuesday, July 14, 2020

ERROR! /var/lib/cacti/csrf/csrf-secret.php Not Writable (Installing Cacti on CentOS 8)

Summary: 

ERROR! /var/lib/cacti/csrf/csrf-secret.php  Not Writable

Problem or Goal: 

This error was generated while installing cacti on CentOS 8, during the final stages of the setup script.

Cause: 

ERROR! /var/lib/cacti/csrf/csrf-secret.php  Not Writable

Solution: 

Find and edit "/etc/cacti/db.php", locate this line of code " $path_csrf_secret = '/var/lib/cacti/csrf/csrf-secret.php';" and comment it out. 

For example: 

Remember to restart services:

systemctl restart php-fpm.servicesystemctl restart httpd.servicesystemctl restart mariadb.service

Problem Solved?

Yes

No comments: