I cannot login to CP as admin.
-
- Posts: 13
- Joined: Thu Jul 24, 2014 7:43 pm
I cannot login to CP as admin.
I cannot login to CP as admin. I have tried changing password from web form, server console for user admin. However, I still cannot login.
Could you prompt me what I can do or where need to check?
Could you prompt me what I can do or where need to check?
Re: I cannot login to CP as admin.
Show me VestaCP logs
and result of this command
Code: Select all
/var/log/vesta/auth.log
/var/log/vesta/nginx-error.log
Code: Select all
df -h
-
- Posts: 13
- Joined: Thu Jul 24, 2014 7:43 pm
Re: I cannot login to CP as admin.
Thank you for answer
HDD has free space 47%
I.e. is something wrong with web interface?
Code: Select all
2015-02-11 13:21:57 admin 188.31.53.6 successfully logged in
2015-02-11 13:42:56 root 188.31.53.6 successfully logged in
Code: Select all
2015/02/11 14:09:42 [error] 19978#0: *53 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: 188.31.53.6, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "seindesign.cok:8083"
I.e. is something wrong with web interface?
Re: I cannot login to CP as admin.
Try ti use this command
Code: Select all
mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
-
- Posts: 6
- Joined: Tue Mar 31, 2015 6:37 pm
Re: I cannot login to CP as admin.
Hi VestaCP Team
I have the same issue
Here my nginx-error.log:
Here my auth.log
Does my error have the same solution as above?
Thank you very much
I have the same issue
Here my nginx-error.log:
Code: Select all
2015/03/31 18:12:05 [error] 26136#0: *169 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/list/db/"
2015/03/31 18:14:16 [error] 26136#0: *174 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:14:17 [error] 26136#0: *174 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:14:42 [error] 26136#0: *174 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:14:42 [error] 26136#0: *174 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:17:38 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083"
2015/03/31 18:18:02 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:18:03 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://45.63.120.146:8083/login/"
2015/03/31 18:18:16 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:18:17 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:18:27 [error] 26136#0: *189 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:23:55 [error] 26136#0: *207 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083"
2015/03/31 18:24:13 [error] 26136#0: *215 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:24:14 [error] 26136#0: *215 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:26:33 [error] 26136#0: *225 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33" while reading response header from upstream, client: 61.94.228.137, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "45.63.120.146:8083", referrer: "https://XXXXXX:8083/login/"
2015/03/31 18:26:34 [error] 26136#0: *225 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 33
PHP message: PHP Notice: Undefined index: LANGUAGE in /usr/local/vesta/web/login/index.php on line 38" while reading response header from upstream, client: XXXXXX, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "XXXXXX:8083", referrer: "https://XXXXXX:8083/login/"
Code: Select all
2015-03-31 05:02:55 admin 61.94.228.137 successfully logged in
2015-03-31 06:06:22 admin 61.94.228.137 successfully logged in
2015-03-31 18:14:16 admin 61.94.228.137 successfully logged in
2015-03-31 18:14:42 admin 61.94.228.137 successfully logged in
2015-03-31 18:18:02 admin 61.94.228.137 successfully logged in
2015-03-31 18:18:16 root 61.94.228.137 successfully logged in
2015-03-31 18:18:27 admin 61.94.228.137 failed to login
2015-03-31 18:24:13 admin 61.94.228.137 successfully logged in
2015-03-31 18:26:33 admin 61.94.228.137 successfully logged in
Thank you very much
Re: I cannot login to CP as admin.
Look similar. Try it.DjarumSuper wrote:Does my error have the same solution as above?
But first check hdd space and try restart vesta service.
Re: I cannot login to CP as admin.
This error can be from broken sudo:
viewtopic.php?f=10&t=8349&p=27113#p27113
viewtopic.php?f=10&t=8349&p=27113#p27113
Re: I cannot login to CP as admin.
Try this: remove everything from the /tmp folder. It works for me...
Re: I cannot login to CP as admin.
Nice solution, but it's like magic... do you have same errors in vesta-nginx log?webNpro wrote:Try this: remove everything from the /tmp folder. It works for me...