can't login in my vestacp admin panel
Re: can't login in my vestacp admin panel
Logs from /usr/local/vesta/log/ and especially /usr/local/vesta/log/nginx-error.logshankarnewton wrote: Also, I have no logs recorded for /var/log/vesta/auth.log and /var/log/vesta/nginx-error.log
Re: can't login in my vestacp admin panel
I am having the same issue and cannot figure it out. Any help would be greatly appreciated. I am unable to reset my password or anything at this point.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: can't login in my vestacp admin panel
Can you log in as root or admin via ssh? Do you have some error when you try to log into your Vesta cp?thirdly wrote:I am having the same issue and cannot figure it out. Any help would be greatly appreciated. I am unable to reset my password or anything at this point.
Re: can't login in my vestacp admin panel
skurudo wrote:Logs from /usr/local/vesta/log/ and especially /usr/local/vesta/log/nginx-error.logshankarnewton wrote: Also, I have no logs recorded for /var/log/vesta/auth.log and /var/log/vesta/nginx-error.log
Code: Select all
2016/06/17 20:49:56 [error] 25012#0: *36 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 92" while reading response header from upstream, client: 85.173.192.xxx, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "82.146.33.123:8083", referrer: "https://82.146.33.xxx:8083/login/"
Re: can't login in my vestacp admin panel
Popular reason - you don't have free disk space or inode. Check with commands:Sanes wrote:Code: Select all
2016/06/17 20:49:56 [error] 25012#0: *36 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 92" while reading response header from upstream, client: 85.173.192.xxx, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "82.146.33.123:8083", referrer: "https://82.146.33.xxx:8083/login/"
Code: Select all
df -h
df -i
Code: Select all
nano /usr/local/vesta/data/users/admin/user.conf
Code: Select all
DISK_QUOTA='unlimited'
Code: Select all
v-update-user-quota admin
https://bugs.vestacp.com/issues/261
-
- Posts: 5
- Joined: Tue Sep 15, 2015 3:56 pm
Re: can't login in my vestacp admin panel
I sadly have the similar issue, I've:
- Made sure there is available disk space
- Reset password via CLI
- Set unlimited quota via SSH
- Reset quota via CLI
- Restarted the whole box
Any thoughts? Cheers.2017/07/04 21:18:17 [error] 1722#0: *16 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_CLIENT_IP in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_X_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_FORWARDED_FOR in /usr/local/vesta/web/inc/main.php on line 14
PHP message: PHP Notice: Undefined index: HTTP_FORWARDED in /usr/local/vesta/web/inc/main.php on line 14" while reading response header from upstream, client: 79.68.19.98, server: _, request: "POST /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "url.co.uk:8083", referrer: "https://url.co.uk:8083/login/"
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: can't login in my vestacp admin panel
if you are on Ubuntu, search a bit more, you probably have a corrupted sudoers module. Common prob in Ubuntu
-
- Posts: 5
- Joined: Tue Sep 15, 2015 3:56 pm
Re: can't login in my vestacp admin panel
Thanks @mehargags
Sudo seems to work fine while logged in via SSH? Would you expect this?
Thanks again,
Dave.
Sudo seems to work fine while logged in via SSH? Would you expect this?
Thanks again,
Dave.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: can't login in my vestacp admin panel
it is not about sudo command working fine or not... something with the Sudo config files is corrupted.
https://www.google.com/search?q=vesta+C ... udo+broken
https://www.google.com/search?q=vesta+C ... udo+broken