Error Drawing graph (permissions denied in RRD command output) (Centos 7)

Getting red/error drawing graph on our librenms instance.

====================================

Component Version
LibreNMS 1.43-110-gd9b4fb5
DB Schema 268
PHP 7.2.5
MySQL 10.1.31-MariaDB
RRDTool 1.6.0
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

I’ll take a stab in the dark: Please try this as root:

chown -R librenms:librenms /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
1 Like

Hey Daniel,

That was it! Thanks man!