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 Web Server
  • Search

Vestacp - 502 Bad Gateway

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
16 posts
  • 1
  • 2
  • Next
nisgeo
Posts: 9
Joined: Sun Mar 01, 2015 3:44 pm

Vestacp - 502 Bad Gateway
  • Quote

Post by nisgeo » Sun Mar 01, 2015 3:53 pm

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 ?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by imperio » Sun Mar 01, 2015 3:55 pm

Hi,
The first, try to restart vestacp service

Code: Select all

service vesta restart
Top

nisgeo
Posts: 9
Joined: Sun Mar 01, 2015 3:44 pm

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by nisgeo » Sun Mar 01, 2015 3:56 pm

I have already tried this, but problem is the same.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by imperio » Sun Mar 01, 2015 3:59 pm

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)
Top

nisgeo
Posts: 9
Joined: Sun Mar 01, 2015 3:44 pm

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by nisgeo » Sun Mar 01, 2015 4:04 pm

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.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by imperio » Sun Mar 01, 2015 4:04 pm

Show me result of this command

Code: Select all

df -h
Top

nisgeo
Posts: 9
Joined: Sun Mar 01, 2015 3:44 pm

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by nisgeo » Sun Mar 01, 2015 4:05 pm

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by imperio » Sun Mar 01, 2015 4:07 pm

You don't have free space on your server hard disk
Top

nisgeo
Posts: 9
Joined: Sun Mar 01, 2015 3:44 pm

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by nisgeo » Sun Mar 01, 2015 4:08 pm

What I need to make ?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Vestacp - 502 Bad Gateway
  • Quote

Post by imperio » Sun Mar 01, 2015 4:12 pm

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)
Top


Post Reply
  • Print view

16 posts
  • 1
  • 2
  • Next

Return to “Web Server”



  • 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
 

 

cron

Login  •  Register

I forgot my password