Page 1 of 2

Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 3:53 pm
by nisgeo
I have problem with vestacp - 502 Bad Gateway (nginx). I can't log in to vestacp panel too.

Do you know how can I fix this problem ?

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 3:55 pm
by imperio
Hi,
The first, try to restart vestacp service

Code: Select all

service vesta restart

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 3:56 pm
by nisgeo
I have already tried this, but problem is the same.

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 3:59 pm
by imperio
What OS on your server ?
Show me vesta logs

Code: Select all

/var/log/vesta/nginx-error.log
/usr/local/vesta/php/var/log/php-fpm.log 
/var/log/vesta/error.log (if exist)

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:04 pm
by nisgeo
nginx-error.log

Code: Select all

2015/03/01 15:33:54 [error] 1116#0: *1424 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/tmp/sess_qacg5snckrln7no8uq5aj88k87, O_RDWR) failed: No space left on device (28) in /usr/local/vesta/web/index.php on line 2
PHP message: PHP Warning:  Unknown: open(/tmp/sess_qacg5snckrln7no8uq5aj88k87, O_RDWR) failed: No space left on device (28) in Unknown on line 0
php-fpm.log

Code: Select all

[25-Feb-2015 19:57:05] NOTICE: fpm is running, pid 1139
[25-Feb-2015 19:57:05] NOTICE: ready to handle connections
[01-Mar-2015 16:42:54] NOTICE: Terminating ...
[01-Mar-2015 16:42:54] NOTICE: exiting, bye-bye!
[01-Mar-2015 16:42:55] NOTICE: fpm is running, pid 16028
[01-Mar-2015 16:42:55] NOTICE: ready to handle connections
[01-Mar-2015 16:56:14] NOTICE: Terminating ...
[01-Mar-2015 16:56:14] NOTICE: exiting, bye-bye!
[01-Mar-2015 16:56:15] NOTICE: fpm is running, pid 17098
[01-Mar-2015 16:56:15] NOTICE: ready to handle connections
And if I am going to domains, I received 500 Internal Server Error.

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:04 pm
by imperio
Show me result of this command

Code: Select all

df -h

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:05 pm
by nisgeo

Code: Select all

Filesystem           Size  Used Avail Use% Mounted on
rootfs                12G   12G     0 100% /
udev                  12G     0   12G   0% /dev
213.133.99.101:/nfs  247G  119G  116G  51% /root/.oldroot/nfs
aufs                  12G   12G     0 100% /
tmpfs                2.4G  332K  2.4G   1% /run
tmpfs                5.0M     0  5.0M   0% /run/lock
tmpfs                4.8G     0  4.8G   0% /run/shm

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:07 pm
by imperio
You don't have free space on your server hard disk

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:08 pm
by nisgeo
What I need to make ?

Re: Vestacp - 502 Bad Gateway

Posted: Sun Mar 01, 2015 4:12 pm
by imperio

Code: Select all

rootfs                12G   12G     0 100% /
213.133.99.101:/nfs  247G  119G  116G  51% /root/.oldroot/nfs
Ask about that your hosting provider (mount the disk partitions)