当前位置:网站首页>5xx series problem solving
5xx series problem solving
2022-06-13 07:08:00 【guangsu.】
5xx Solution of a series of problems
solve 5xx The first means to solve a series of problems is to query nginx Error log .
- 500( Server internal error ) Server encountered an error , Unable to complete request .
- 501( Not yet implemented ) The server does not have the function to complete the request . for example , When the server does not recognize the request method , The server may return this code .
- 502 Bad Gateway bad gateway Upstream error php-fpm Not started or not responding correctly .
- 503 service temporarily unavailable In general, it is caused by too many visits to the website , When the number of visits to the website has passed, the website will return to normal
- 504 gateway timeout gateway time-out Upstream timeout php-fpm Execution timeout
- 505(HTTP Version not supported ) The server does not support HTTP Protocol version .
I centos On nginx Of error.log stay var Next
[[email protected] public]$>sudo tailf /var/log/nginx/error.log
...
2020/10/18 20:37:52 [error] 19271#19271: *19 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: local.laravel.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "local.laravel.com"
2020/10/18 20:37:52 [crit] 19271#19271: *19 open() "/var/log/nginx/local.laravel.com.access.log" failed (13: Permission denied) while logging request, client: 127.0.0.1, server: local.laravel.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "local.laravel.com"
Written clearly , No response from upstream . It turns out to be php-fpm Didn't start …
边栏推荐
猜你喜欢

Tikv key performance parameters and optimization

Application of DS18B20 temperature sensor based on FPGA

Network planning common interview knowledge (I)

Tidb dashboard modify port

Recently, the popular social e-commerce marketing model, blind box e-commerce, how beautiful every second is accurately drained

Xuanwu cloud technology passed the listing hearing: the performance fluctuated significantly, and chenyonghui and other three were the controlling shareholders

Simple understanding of basic language of C language

C # related knowledge points

微隔离(MSG)

RT thread simulator lvgl control: button button event
随机推荐
Ticdc introduction
检测循环数“142857“
如何从头自己制作开发板?图文并茂,一步步操作给你看。
Priority analysis of list variables in ansible playbook and how to separate and summarize list variables
简单了解C语言基本语
RT thread simulator lvgl control: button button event
Host computer development (Architecture Design of firmware download software)
MySQL系列之分库分表学习笔记
[Markov chain Monte Carlo] Markov chain Monte Carlo method sampling prior distribution
Problems encountered during commissioning of C # project
Tidb data migration (DM) Introduction
Normalizing y-axis in histograms in R ggplot to proportion
How to write an amazing design document?
MongoDB系列之SQL和NoSQL的区别
Br backup test
Tidb execution plan -- II
TXT_ File encryption and compression
Is it safe for Hangzhou Securities to open an account?
【云原生 | Kubernetes篇】Kubernetes 配置
[turn to] FPGA interview questions