Apache::Session module failed
Concerned version
Version: 2.0
Summary
Hello,
After a fresh installation of LemonlDAP::NG 2.0 on CentOs7, we get Apache::Session module failed on portal, while trying to login. In apache2 error_log file, we have permission denied error on directories that belong to apache, though, we gave the rights and these directories to the user apache. When we connect to the system as user apache we are able to create files in these directories.
Logs
(in cleanup) Could not open file (/usr/local/lemonldap-ng/data/psessions/lock/Apache-Session-5efe8af397fc3577e05b483aca964f1b.lock) for writing: Permission denied at /usr/share/perl5/vendor_perl/Apache/Session/Lock/File.pm line 75.
(in cleanup) Could not open file (/usr/local/lemonldap-ng/data/psessions/lock/Apache-Session-5efe8af397fc3577e05b483aca964f1b.lock) for writing: Permission denied at /usr/share/perl5/vendor_perl/Apache/Session/Lock/File.pm line 75.
(in cleanup) Could not open file (/usr/local/lemonldap-ng/data/sessions/lock/Apache-Session-1d34d88188bc69134ed362db7ae5f21f0d08ea1c7e2720e8ffc277c5ce643713.lock) for writing: Permission denied at /usr/share/perl5/vendor_perl/Apache/Session/Lock/File.pm line 75.
[error] Session cannot be tied: Could not open file (/usr/local/lemonldap-ng/data/sessions/lock/Apache-Session-1d34d88188bc69134ed362db7ae5f21f0d08ea1c7e2720e8ffc277c5ce643713.lock) for writing: Permission denied at /usr/share/perl5/vendor_perl/Apache/Session/Lock/File.pm line 75.
Backends used
Let by default.