Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

I cannot login to CP as admin.

Questions regarding the Web Interface
GUI
Locked
  • Print view
Advanced search
9 posts • Page 1 of 1
photographer
Posts: 13
Joined: Thu Jul 24, 2014 7:43 pm

I cannot login to CP as admin.

Post by photographer » Wed Feb 11, 2015 1:26 pm

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?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: I cannot login to CP as admin.

Post by imperio » Wed Feb 11, 2015 3:07 pm

Show me VestaCP logs

Code: Select all

/var/log/vesta/auth.log
/var/log/vesta/nginx-error.log
and result of this command

Code: Select all

df -h
Top

photographer
Posts: 13
Joined: Thu Jul 24, 2014 7:43 pm

Re: I cannot login to CP as admin.

Post by photographer » Wed Feb 11, 2015 3:37 pm

Thank you for answer

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"
HDD has free space 47%

I.e. is something wrong with web interface?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: I cannot login to CP as admin.

Post by imperio » Wed Feb 11, 2015 5:02 pm

Try ti use this command

Code: Select all

mkdir /etc/sudoers.d
/usr/local/vesta/upd/add_sudo.sh
Top

DjarumSuper
Posts: 6
Joined: Tue Mar 31, 2015 6:37 pm

Re: I cannot login to CP as admin.

Post by DjarumSuper » Tue Mar 31, 2015 6:49 pm

Hi VestaCP Team

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/"
Here my auth.log

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 
Does my error have the same solution as above?

Thank you very much
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I cannot login to CP as admin.

Post by skurudo » Thu Apr 02, 2015 10:14 pm

DjarumSuper wrote:Does my error have the same solution as above?
Look similar. Try it.

But first check hdd space and try restart vesta service.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I cannot login to CP as admin.

Post by skurudo » Wed May 27, 2015 2:34 pm

This error can be from broken sudo:
viewtopic.php?f=10&t=8349&p=27113#p27113
Top

webNpro
Posts: 2
Joined: Thu May 28, 2015 9:59 pm
Contact:
Contact webNpro
Website

Re: I cannot login to CP as admin.

Post by webNpro » Sat May 30, 2015 9:58 pm

Try this: remove everything from the /tmp folder. It works for me...
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I cannot login to CP as admin.

Post by skurudo » Sun May 31, 2015 7:09 pm

webNpro wrote:Try this: remove everything from the /tmp folder. It works for me...
Nice solution, but it's like magic... do you have same errors in vesta-nginx log?
Top


Locked
  • Print view

9 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password