Unable to complete web installation, session not writable

Hello all,

I am at the first page of the web installation and not able to proceed.

The pre-install checks state the following:
Session directory writable = no comment: /var/lib/php/session is not writable.

The directory exists but is owned by root. Not sure if that is expected behavior.

As an aside. I have oxidized running on the same server and was setup with oxidized in mind only until I came across LibreNMS so running all commands under the “oxidized” as I ran through that instruction set to get that running.

uname:
Linux librenms.example.com 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Thanks and let me know if there’s more information required.

Are you following the install docs?

https://docs.librenms.org/#Installation/

Set permissions?

chown -R librenms:librenms /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs

Yes, I have run those commands. Here’s the permissions of the directory in question:

drwxrwx— 2 root root 6 Feb 4 05:23 session

Not sure if the directory is supposed to owned by root or not. Also, ran the commands for permissions again with no change.

during the web install, how long are you waiting? Can you post a screenshot if see any error?

Kevin,

Not waiting at all, at the first screen of the web installation.

libre

This is the screen where I’m stuck.

You haven’t said what linux distro you use or which web server?

Ah, sorry about that.
CentOS 7 3.10.0-693.21.1.el7.x86_64 (minimal install)
NGINX

Only other application on the server is Oxidized which is up and running.

So my /var/lib/php/session folder is owned by root:apache

You should be running php-fpm which also should be running as the apache user.

sudo chown -R root:apache session

Changed the ownership and now good to go! Thanks for the tip! Should be smooth sailing from here.

Thanks for the help everyone!

Of course, on the last page of the install and receive the following:

I have created the config.php file but what should be done in regards the the RRD Log Directory?

Carry on.,

Carry on I did!
After about 20 minutes and running the validation tool, all is well.

Thanks again all!