I have been following instructions from https://docs.librenms.org/Installation/Installation-CentOS-7-Apache/ and ran into a problem when at the step to run http://librenms.example.com/install.php.
At that point the WebUI tells me that the session directory and /tmp are not writable.
I’ve reviewed various threads that cover the session directory, but I am stumped at getting this step working.
Session directory permissions look like this:
/var/opt/rh/rh-php72/lib/php
drwxrwx—. 2 root apache 45 Apr 15 19:25 session
/tmp directory permissions look like this:
drwxrwxrwt. 16 root root 4096 Apr 15 19:35 tmp
I’ve tried removing and recreating the session directory. I’ve validated that I can create and delete files as various users in /tmp.
Some other system info:
# uname -r
3.10.0-1062.18.1.el7.x86_64
# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.62-62-gc4ee93c
DB Schema | Not Connected (0)
PHP | 7.2.24
MySQL | ?
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[FAIL] config.php does not exist, please copy config.php.default to config.php
thanks in advance!