Validate config page report wrong issue

Hello Guys,

Two of my librenms server report an issue in the validate config page which is :

We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
Fix: chown -R librenms:librenms /opt/librenms

Files
/opt/librenms/.pki/nssdb

After looking to the directory mention the rights are correct all along :

[root@lclmphnms librenms]# ls -al | grep pki
drwxr----- 3 librenms librenms 18 13 mai 00:15 .pki

[root@lclmphnms .pki]# ls -al
total 8
drwxr----- 3 librenms librenms 18 13 mai 00:15 .
drwxr-xr-x 31 librenms librenms 4096 13 mai 13:21 …
drwxr----- 2 librenms librenms 6 13 mai 00:15 nssdb

No issue so far with librenms functionality themself .
Any help would be appreciate :slight_smile:

Both of my servers report the same issues.

OS is Centos 7.5 and below is the validate script return :
-bash-4.2$ ./validate.php

Component Version
LibreNMS 1.39-49-g7cb930e
DB Schema 249
PHP 7.0.29
MySQL 5.5.56-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

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

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

Thx u :slight_smile:

That validate output looks ok. If you are still having an issue post the entire output from validate.php

Still having the issue :

Here is the screenshot of the validate config page.
Do u need something more?

Found that setting chmod 755 on .pki directory solve the issue but maybe this is still something to address?

1 Like

That file isn’t from us so it’s not something we can ignore. Remove it unless you have a reason for it to be there.

That is a linux cert store directory, created when you did the useradd for librenms. It can be deleted.

1 Like