As I have a librenms installation on centos !
vivafm|690x165
Problem is webui
checking the log this is what I get
[2018-09-17 20:38:04] production.ERROR: ErrorException: session_write_close(): open(/var/lib/php/session/sess_3c3era69l84ffp9g36kfmr11j4, O_RDWR) failed: Permission denied (13) in /opt/librenms/LibreNMS/Authentication/LegacyAuth.php:121
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, ‘session_write_c…’, ‘/opt/librenms/L…’, 121, Array)
#1 /opt/librenms/LibreNMS/Authentication/LegacyAuth.php(121): session_write_close()
#2 /opt/librenms/app/Http/Middleware/LegacySession.php(42): LibreNMS\Authentication\LegacyAuth::setUpLegacySession()
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(148): App\Http\Middleware\LegacySession->handle(Object(Illuminate\Http\Request), Object(Closure))
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#5 /opt/librenms/app/Http/Middleware/LegacyExternalAuth.php(38): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(148): App\Http\Middleware\LegacyExternalAuth->handle(Object(Illuminate\Http\Request), Object(Closure))
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(65): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(148): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(54): Illuminate\Routing\Pipeline->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
[root@localhost librenms]# ./validate.php
Component | Version |
---|---|
LibreNMS | 1.43-82-gcf31776 |
DB Schema | 267 |
PHP | 7.0.31 |
MySQL | 5.5.60-MariaDB |
RRDTool | 1.4.8 |
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
[root@localhost librenms]#
I do understand that is some permission issue but no idea how to fix it !
I would appreciate any suggestion