Same here CWP6, when trying to log in to user's panel (2083 port) get the login page again.
relevant error_log (domain.com is fake, not the real one used):
2018/03/07 14:39:02 [info] 1817#0: *518 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [info] 1816#0: *520 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [info] 1817#0: *521 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [error] 1816#0: *516 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): open(/tmp/session/sess_8eincqamai531tm09jtle6jo11, O_RDWR) failed: Permission denied (13) in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning: strpos(): Empty needle in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning: Unknown: open(/tmp/session/sess_8eincqamai531tm09jtle6jo11, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/session) in Unknown on line 0" while reading response header from upstream, client: 5.248.17.23, server: localhost, request: "POST /av/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/av.sock:", host: "lamp1.domain.com:2083", referrer: "https://lamp1.domain.com:2083/"
the session file and parent directory:
[root@lamp1 session]# ls -la
total 340
drwxr-xr-x 2 login login 163840 Mar 7 14:02 .
drwxrwxrwt. 9 root root 176128 Mar 7 14:39 ..
-rw------- 1 login login 0 Mar 7 14:02 sess_8eincqamai531tm09jtle6jo11
what i tried:
deleting the session file, the new one was created with the same permissions.
ensured that /tmp is not full.
upd:
have also a CWP7 server, checked it's error_log and it has the same permission errors about the session files but user login works fine there, so this is not the cause of login failure.