Author Topic: Can Not Log in Client Side  (Read 357 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can Not Log in Client Side
« on: January 17, 2018, 02:46:58 AM »
Hello,

I am unable to log in as client,
  • Client panel is opened
  • When I enter a username and password don't go anywhere, it is stuck here.

Centos 7.

Anybody could help?

Thanks,

Asrofi
Indonesia

Offline
*
Re: Can Not Log in Client Side
« Reply #1 on: January 19, 2018, 09:38:55 AM »
I have the same issue but it login but very very slow, in 2-5 minutes

CWP version: 0.9.8.424
CentOS Linux release 7.4.1708 - updated

On /usr/local/cwpsrv/logs/error_log the i have these errors:

Code: [Select]
2018/01/19 11:32:37 [error] 13971#0: *3187 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/tmp/session/sess_kc9ngs9hm36ug13fa80hp54697, O_RDWR) failed: Permission denied (13) in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 172.16.1.126, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "s2.user.biz:2082", referrer: "http://s2.user.biz:2082/login/index.php?login=userlogin"
2018/01/19 11:32:37 [error] 13971#0: *3187 FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: open(/tmp/session/sess_kc9ngs9hm36ug13fa80hp54697, 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 upstream, client: 172.16.1.126, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "s2.user.biz:2082", referrer: "http://s2.user.biz:2082/login/index.php?login=userlogin"


I tried to force into /usr/local/cwpsrv/conf.d/users.conf the session, but still i got the issue
Code: [Select]
fastcgi_param   PHP_ADMIN_VALUE "session.save_path = /tmp/session";


On the php-fpm-slowlog-cwpsrv.log i have these:

Code: [Select]
[19-Jan-2018 11:32:47]  [pool cwpsrv] pid 32150
script_filename = /usr/local/cwpsrv/var/services/user_api/v1/index.php
[0x00007f13166163d0] shell_exec() /usr/local/cwpsrv/var/services/user_api/v1/app/routes/api.php:0
[0x00007f13166142b0] {closure}() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Route.php:0
[0x00007f1316614230] call_user_func_array() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Route.php:0
[0x00007f1316614070] dispatch() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php:0
[0x00007f1316613ca0] call() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/Flash.php:0
[0x00007f1316613b40] call() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/MethodOverride.php:0
[0x00007f13166138a0] call() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Middleware/PrettyExceptions.php:0
[0x00007f1316613620] call() /usr/local/cwpsrv/var/services/user_api/v1/Slim/Slim.php:0
[0x00007f1316613170] run() /usr/local/cwpsrv/var/services/user_api/v1/index.php:0


Offline
***
Re: Can Not Log in Client Side
« Reply #2 on: January 19, 2018, 06:32:41 PM »
Do your tmp folder have space?

Offline
*
Re: Can Not Log in Client Side
« Reply #3 on: January 26, 2018, 03:00:01 PM »
ofc i have space :|