Page 1 of 1

Can't login to Control Panel

Posted: Sat Sep 05, 2015 4:51 am
by aryalsan
It working fine but I changed the password of Admin using centos commant and from then i couldn't log in to the server. Its says password failed.

Is there any other alternative ways to fix this issue!

Re: Can't login to Control Panel

Posted: Mon Sep 07, 2015 8:59 am
by tjebbeke
aryalsan wrote:It working fine but I changed the password of Admin using centos commant and from then i couldn't log in to the server. Its says password failed.

Is there any other alternative ways to fix this issue!
Try to login by ssh and change password: v-change-user-password USER PASSWORD

Re: Can't login to Control Panel

Posted: Mon Sep 07, 2015 9:18 am
by aryalsan
I did every steps to change the password. But its working. I check for my logs file and I am getting an php argument error in login.php file.

Nginx-error log file

Code: Select all

2015/09/07 04:40:59 [error] 4553#0: *158 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083"
2015/09/07 04:41:07 [error] 4553#0: *158 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:47:46 [error] 4553#0: *164 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:47:50 [error] 4553#0: *164 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:47:52 [error] 4553#0: *164 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:47:54 [error] 4553#0: *164 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:47:55 [error] 4553#0: *164 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:50:21 [error] 4553#0: *184 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:50:23 [error] 4553#0: *184 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
2015/09/07 04:50:25 [error] 4553#0: *184 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 83" while reading response header from upstream, client: 43.245.85.75, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "191.101.13.204:8083", referrer: "https://191.101.13.204:8083/login/"
And Auth log no activites since i got the problem

Code: Select all

2015-07-26 01:53:06 admin 110.44.119.189 successfully logged in 
2015-07-27 01:18:23 admin 110.44.118.144 successfully logged in 
2015-07-29 10:33:25 admin 110.44.118.76 successfully logged in 
2015-08-04 01:54:06 admin 110.44.117.40 successfully logged in 
2015-08-06 08:29:31 admin 110.44.118.108 successfully logged in 
2015-08-12 06:42:45 admin 43.245.85.105 successfully logged in 
2015-08-18 00:16:21 admin 43.245.85.190 failed to login 
2015-08-18 00:16:27 admin 43.245.85.190 successfully logged in 
2015-08-18 06:39:01 admin 43.245.85.190 failed to login 
2015-08-18 06:39:10 admin 43.245.85.190 successfully logged in 
Error log

Code: Select all

2015-09-07 04:06:01 v-change-user-password admin ******        [Error 1]
2015-09-07 04:06:15 v-change-user-password admin ******        [Error 1]
2015-09-07 04:23:57 v-list-web-domains          [Error 1]
2015-09-07 04:25:06 v-list-user          [Error 1]
2015-09-07 04:27:33 v-list-user          [Error 1]
2015-09-07 04:28:25 v-add-user  ******        [Error 1]
2015-09-07 04:29:09 v-add-user santosh ****** [email protected] default Santosh Aryal    [Error 2]
2015-09-07 04:29:29 v-add-user santosh ******[email protected] default Santosh Aryal    [Error 4]
2015-09-07 04:37:17 v-change-user-contact admin         [Error 1]
2015-09-07 04:38:54 v-restart-system          [Error 1]
What is the php error for?

Re: Can't login to Control Panel

Posted: Mon Sep 07, 2015 10:42 pm
by SCelik
Check your disk space and disk quota.
Then search this forum for solution.
You can not start new session becouse, there is no space left on your user account.

Re: Can't login to Control Panel

Posted: Tue Jan 19, 2016 8:51 pm
by skurudo
There is quota solution:
viewtopic.php?p=36771#p36781