Page 1 of 1

Can't Access VestaCP

Posted: Mon Apr 09, 2018 1:22 pm
by kianmag
Good day!

I haven't accessed my vesta admin interface for about 2 weeks then when I did this morning it just showed my this error on my browser:

This site can’t be reached
139.59.62.51 took too long to respond.

The server is a droplet with DigitalOcean active since June last year.
OS is Ubuntu 14.04
VestaCP is 139.59.62.51:8083

I tried all listed fixes in this forum to no avail.

here's my nginx-error.log

Code: Select all

2018/03/10 00:08:02 [error] 1849#0: *474 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /SQLiteManager/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "139.59.62.51:8083"
2018/03/16 08:28:39 [error] 1849#0: *480 open() "/usr/local/vesta/web/recordings/theme/main.css" failed (2: No such file or directory), client: 213.227.141.73, server: _, request: "GET /recordings//theme/main.css HTTP/1.1", host: "139.59.62.51:8083"
2018/03/16 08:29:05 [error] 1849#0: *482 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 213.227.141.73, server: _, request: "GET /elastix_warning_authentication.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "139.59.62.51:8083"
2018/03/25 07:52:14 [error] 1849#0: *522 open() "/usr/local/vesta/web/index.action" failed (2: No such file or directory), client: 119.90.133.13, server: _, request: "GET /index.action HTTP/1.1", host: "139.59.62.51:8083"
and here's my disk usage

Code: Select all

admin@vestacp:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            984M  4.0K  984M   1% /dev
tmpfs           201M  416K  200M   1% /run
/dev/vda1        30G   20G  9.0G  68% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none           1001M     0 1001M   0% /run/shm
none            100M     0  100M   0% /run/user
admin@vestacp:~$ df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            251667    422  251245    1% /dev
tmpfs           256067    391  255676    1% /run
/dev/vda1      1958400 409499 1548901   21% /
none            256067      2  256065    1% /sys/fs/cgroup
none            256067      2  256065    1% /run/lock
none            256067      1  256066    1% /run/shm
none            256067      2  256065    1% /run/user

Re: Can't Access VestaCP

Posted: Mon Apr 09, 2018 1:51 pm
by gzboril
Hello,

i have the same problem. I logged in successfully last week, from today i have the same problem.

Code: Select all

2018/03/09 13:42:36 [error] 596#0: *167 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /sqlite/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host:$
2018/03/09 13:42:38 [error] 596#0: *170 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /SQLite/SQLiteManager-1.2.4/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/ves$
2018/03/09 13:42:39 [error] 596#0: *173 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /SQLiteManager-1.2.4/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.$
2018/03/09 13:42:40 [error] 596#0: *176 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /sqlitemanager/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:"$
2018/03/09 13:42:41 [error] 596#0: *179 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /SQlite/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host:$
2018/03/09 13:42:44 [error] 596#0: *182 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.169.226.71, server: _, request: "GET /SQLiteManager/main.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:"$

Code: Select all

root@vesta:/usr/local/vesta/log# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        30G   13G   16G  45% /
udev             10M     0   10M   0% /dev
tmpfs           793M  412K  793M   1% /run
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup

Re: Can't Access VestaCP

Posted: Mon Apr 09, 2018 2:06 pm
by cloudzentral
It seems thart i am on same page, everything worked perfectly yesterday, and now i get a timeout.

Re: Can't Access VestaCP

Posted: Mon Apr 09, 2018 2:13 pm
by gzboril
If you are on digitalocean, here is why

Code: Select all

https://www.digitalocean.com/community/questions/how-do-i-determine-the-impact-of-vestacp-vulnerability-from-april-8th-2018

Re: Can't Access VestaCP

Posted: Wed Jun 06, 2018 7:39 pm
by vestabel
Cool!

Re: Can't Access VestaCP

Posted: Fri Jun 22, 2018 1:37 pm
by treatys
https://github.com/serghey-rodin/vesta/issues/1625

I have the same problem. Only it's on my servers with Proxmox.

Re: Can't Access VestaCP

Posted: Fri Jun 22, 2018 3:04 pm
by badmarsh
I have the same issue.

I am running two Vesta panels, CentOS 6.9 (no issue), CentOS 7 (bad gateway). For now i setup cronjob which restarts vesta service every minute, that makes the panel usable, but fix would be better obviously.

Re: Can't Access VestaCP

Posted: Fri Jul 20, 2018 3:01 pm
by abesse
Hi guys

I can't access to the management interface.

When I am on login page (index), nginx get this error bellow :

Code: Select all

2018/07/20 14:42:48 [error] 3718#0: *25 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 126" while reading response header from upstream, client: 109.190.50.71, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "cloud.biarritz.ink:8083", referrer: "https://cloud.biarritz.ink:8083/login/"
When I try to login I have this nginx issue :

Code: Select all

2018/07/20 14:57:28 [error] 3718#0: *34 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/vesta/web/login/index.php on line 126
PHP message: PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/local/vesta/web/login/index.php on line 140" while reading response header from upstream, client: 83.193.155.238, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "cloud.biarritz.ink:8083", referrer: "https://cloud.biarritz.ink:8083/login/"
Could you please help me

Thank you