Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

Can not login to VestaCp

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
sarzali
Posts: 2
Joined: Wed Mar 07, 2018 8:12 am

Os: CentOS 5x
Web: apache + nginx
Can not login to VestaCp
  • Quote

Post by sarzali » Wed Mar 07, 2018 8:17 am

Hello,

Today I faced a problem I haven't faced before. I was not able to access admin panels of VestaCp. So I search around and I read a topic here on forum and found out that this is a disc space problem. So I checked space on the server, so I was able to access my admin panels.

The problem is I still cannot to login to VestaCp.

This is my /usr/local/vesta/log/system.log

This is the /usr/local/vesta/log/nginx-error.log

2018/03/07 12:20:13 [error] 2013#0: *106 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 106" while reading response header from u pstream, client: 103.18.10.251, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run /vesta-php.sock:", host: "URL:8083", referrer: "https://URL:8083/login/"

and this is the /usr/local/vesta/log/auth.log

2018-01-05 15:57:51 admin 124.29.237.119 successfully logged in
2018-01-25 10:10:03 admin 124.29.237.107 successfully logged in
2018-02-08 12:20:14 admin 124.29.237.211 successfully logged in
2018-02-09 11:31:17 admin 124.29.237.111 successfully logged in
2018-02-09 11:53:58 admin 124.29.237.111 successfully logged in
2018-02-16 10:32:19 admin 103.18.10.251 successfully logged in
2018-02-26 14:17:02 admin 103.18.10.251 successfully logged in
2018-02-27 16:43:47 admin 103.18.10.251 successfully logged in
2018-03-01 13:28:34 admin 103.18.10.251 successfully logged in
2018-03-05 11:19:41 admin 103.18.10.251 successfully logged in
2018-03-07 12:48:11 admin 127.0.0.1 successfully logged in
2018-03-07 12:48:15 admin 127.0.0.1 failed to login
2018-03-07 12:48:38 admin 127.0.0.1 failed to login

The last few hours I was reading topics here on the forum, unfortunately none of them worked for me.

I would be grateful if you could help me solve this.
Thank you.
Top

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

Re: Can not login to VestaCp
  • Quote

Post by skurudo » Tue Mar 13, 2018 2:36 pm

I can't login to VestaCP
viewtopic.php?f=10&t=14958
Top

dichvuseo
Posts: 4
Joined: Thu Mar 01, 2018 1:22 pm
Contact:
Contact dichvuseo
Website

Os: CentOS 5x
Web: apache + nginx
Re: Can not login to VestaCp
  • Quote

Post by dichvuseo » Tue Jun 26, 2018 12:39 pm

The first time I know this. Thanks
Top

smartfahad358
Posts: 5
Joined: Tue Nov 16, 2021 4:27 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Can not login to VestaCp
  • Quote

Post by smartfahad358 » Wed Nov 17, 2021 9:09 am

Please try to answer Sir

viewtopic.php?f=11&t=20720


SAME ISSUE!
Top

kashif
Posts: 1
Joined: Sat Mar 04, 2023 9:23 am

Os: CentOS 7x
Web: apache
Re: Can not login to VestaCp
  • Quote

Post by kashif » Tue Jul 04, 2023 5:16 am

Im also facing the login issue and tried all mentioned steps but still failed to login

OS : CentOS 7.9

vi //etc/sudoers.d/admin

Code: Select all

# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty

# sudo is limited to vesta scripts
admin   ALL=NOPASSWD:/usr/local/vesta/bin/*
df -h

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        7.7G     0  7.7G   0% /dev
tmpfs           7.8G     0  7.8G   0% /dev/shm
tmpfs           7.8G  793M  7.0G  11% /run
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sda2       911G  117G  749G  14% /
tmpfs           1.6G     0  1.6G   0% /run/user/0
Logs

Code: Select all

==> /var/log/vesta/auth.log <==
2023-07-03 22:11:52 admin 127.0.0.1 failed to login

==> /var/log/vesta/nginx-error.log <==
2023/07/03 22:11:52 [error] 22151#0: *3 FastCGI sent in stderr: "PHP message: PHP Warning:  fopen(): Filename cannot be empty in /usr/local/vesta/web/api/v1/login/index.php on line 74
PHP message: PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /usr/local/vesta/web/api/v1/login/index.php on line 75
PHP message: PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /usr/local/vesta/web/api/v1/login/index.php on line 76
PHP message: PHP Warning:  unlink(): No such file or directory in /usr/local/vesta/web/api/v1/login/index.php on line 83
PHP message: PHP Notice:  Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 159
PHP message: PHP Notice:  Undefined variable: users in /usr/local/vesta/web/api/v1/login/index.php on line 171" while reading response header from upstream, client: 182.191.65.62, server: _, request: "POST /api/v1/login/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "host.ictfax.com:8083", referrer: "https://host.ictfax.com:8083/login"
Admin password also correct , verified the admin password from command line
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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