Page 1 of 1

Timeout when trying to access login.

Posted: Mon Apr 08, 2019 10:23 pm
by TomAldy
Hi, I have installed VestaCP on my Debian 9 machine successfully, but whenever I try to access the login page I seem to get a timeout error. The actual home page works fine.

CPU: 1 CPU
RAM: 3 GB RAM
Disc Space: 50 GB
Operating System: Debian 9

I've tried changing the port and that had no effect, so I've switched back to 8083 as that clearly wasn't the issue. Also checked existing topics/threads created about the same issue and tried most, if not all the options posted in the past and none seem to have helped.

This file seems to be all fine...

/etc/sudoers.d/admin

Code: Select all

# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
I checked my nginx error log and I seem to be getting the same issue every 5 minutes about _SESSION being undefined...

/var/log/vesta/nginx-error.log

Code: Select all

2019/04/08 22:15:01 [error] 9536#0: *7 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
df -h command shows no obvious issues...

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       50G  2.3G   48G   5% /
devtmpfs        1.5G     0  1.5G   0% /dev
tmpfs           1.5G     0  1.5G   0% /dev/shm
tmpfs           1.5G  8.2M  1.5G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.5G     0  1.5G   0% /sys/fs/cgroup
tmpfs           308M     0  308M   0% /run/user/0
df-l commans also seems to show no obvious problems...

Code: Select all

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/simfs      52428800 2372108  50056692   5% /
devtmpfs         1572864       0   1572864   0% /dev
tmpfs            1572864       0   1572864   0% /dev/shm
tmpfs            1572864    8364   1564500   1% /run
tmpfs               5120       0      5120   0% /run/lock
tmpfs            1572864       0   1572864   0% /sys/fs/cgroup
tmpfs             314572       0    314572   0% /run/user/0
Tried stopping the firewall but still can't access it.
I've reinstalled my VestaCP twice now, also allocated more memory and storage space to the server and that also hasn't helped.

Any help will be greatly appreciated or simply pointing me in the right direction.

Re: Timeout when trying to access login.

Posted: Fri Aug 30, 2019 2:34 am
by sysdop
Try

service vesta restart