Azure 市場上的 WordPress Linux 無法運作

Azure 市場上的 WordPress Linux 無法運作

安裝後,伺服器總是回傳錯誤 502 Bad Gateway - nginx

這是日誌

2021-01-07T01:01:29 歡迎,您現在已連線至日誌流服務。啟動Log Tail -n 10 個現有日誌---- /home/LogFiles/__lastCheckTime.txt (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/__lastCheckTime.txt)01/06/2021 21 :29:48

/home/LogFiles/kudu/trace/2433a5b487bc-d26ae6de-22d3-4080-9a9e-885bc7f3eaee.txt(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/k/d -4080-9a9e-885bc7f3eaee.txt) 2021-01-06T21:30:57 啟動請求,url:/api/vfs/site/wwwroot/?_=1609967296424,方法:GET,類型:request,pid: ,15、Scm類型:無

/home/LogFiles/kudu/trace/4484297e20b6-99d3ec14-a894-45a7-9d99-6789a1c31c38.txt(http://refritec.scm.azurewebsites.net/api/vfs/Logs/ 94 -45a7-9d99-6789a1c31c38.txt) 2021-01-06T22:29:27 啟動請求,url:/api/logs/docker,方法:GET,類型:request,pid:146,1,20,ScmType:無無

/home/LogFiles/kudu/trace/b3942923d997-f2525b2e-0c42-47d6-90b2-8fe719a0deee.txt(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/k 2 -47d6-90b2-8fe719a0deee.txt) 2021-01-07T00:03:08 啟動請求,url:/api/vfs/site/wwwroot/?_=1609976744818,方法:GET,類型:1request,pid 1 ,4、ScmType:無

/home/LogFiles/kudu/trace/bc4bb9da0ee8-b3949a1c-59f5-440b-ac4a-3aec3a89b4d9.txt(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/kT/ak8 -440b-ac4a-3aec3a89b4d9.txt) 2021-01-06T23:58:13 啟動請求,url:/api/vfs/site/wwwroot/?_=1609976744815,方法:GET,類型:request,pid: ,16、Scm類型:無

/home/LogFiles/2021_01_06_lw0sdlwk00002A_default_docker.log(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/2021_01_06_lw0sdlwkd. 9267660Z 2021-01-06 23:58: 51,509 訊息產生:“nginx”,pid 119 2021-01-06T23:58:51.804316173Z 2021-01-06 23:58:51,794 訊息產生:“sshd”,pid 10201931201953195. 4Z 2021 -01-06 23:58:51,959 訊息產生:'watch-fpm-socket' pid 121 2021-01-06T23:58:52.532445506Z 2021-01-06 23:58:52,530 2021-01-06 23:58:52,53f狀態,進程已停留超過1 秒(startsecs) 2021-01-06T23:58:52.590188703Z 2021-01-06 23:58:52,580 INFO 成功:nginx 進入RUNNING 狀態,進程已停留超過1 秒-01-06T23:58:52.678840153Z 2021-01-06 23:58:52,677資訊成功:sshd23:進程已維持超過1秒(startsecs)2021-01-06T23:進程已維持超過1秒(startsecs)2021-01-06T23: 58:50.697 06 23:58:52,976 INFO 成功:watch-fpm-socket 進入RUNNING 狀態,進程已停留超過1 秒(startsecs) 2021-01-06T23:59:07.114135546Z 2021- 01-067:06 sshd(退出狀態0;預期的)

/home/LogFiles/2021_01_06_lw0sdlwk00002A_docker.log(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/2021_01_06_lw0sdlwk00002A_1385:1051075:00115-F cker hub 拉取鏡像:http://mcr.microsoft.com/appsvc/wordpress-alpine-php:0.72 2021-01-06T23:50:17.115Z 資訊 - 0.72 從 appsvc/wordpress-alpine-php 2021-01-06T23:50:17.366Z 資訊 - 摘要:sha256:093ec5b6109369610936960 7c3d9e10835c16d5896 2021-01-06T23:50:17.368Z 訊息- 狀態:影像是最新的http://mcr.microsoft.com/appsvc/wordpress-alpine-php:0.72 2021-01-06T23:50:18.012Z 訊息 - 拉取映像成功,耗時:0 分鐘 3 秒 2021-01-06T23:50:18.457Z 訊息 - 啟動站點容器 2021-01-06T23:Z -docker run -d -p 8184:80 --name refritec_4_aa081bdf -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITE_SITE_NAME=refritec -e WEBSITE_AUTH_ENABLED=WELE -e PORTf =http://ref瑞泰克。http://mcr.microsoft.com/appsvc/wordpress-alpine-php:0.72 2021-01-06T23:50:39.855Z 訊息 - 向網站 refritec 的容器 refritec_4_aa081bdf 發起預熱請求 2021-01-06T23:50:49.864Z 訊息 - 714Z 資訊 - 錯誤

/home/LogFiles/2021_01_07_lw0sdlwk00002A_default_docker.log(http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/2021_01_07_lw0sdl/api/vfs/LogFiles/2021_01_07_lw0sdlwk. 9623691Z 2021-01-07 00:00: 23,992 訊息產生:“php-fpm”,pid 118 2021-01-07T00:00:24.183214889Z 2021-01-07 00:00:24,145 訊息產生:“nginx”,pid 7508 Z 2021-01-07 00:00:24,212 產生的訊息:'sshd' pid 120 2021-01-07T00:00:24.309606065Z 2021-01-07 0:003:003:003 產生的資訊-60:01 socket' pid 121 2021-01-07T00:00:24.965113958Z 2021-01-07 00:00:24,956 INFO 成功:php-fpm 進入 RUNNING 狀態,進程已停留超過 10 秒(starts010-01001 :25.423051506Z 2021-01-07 00:00:25,421 INFO 成功:nginx 進入RUNNING 狀態,進程已保持運行超過1 秒(startsecs)2021-01-07T00:00:25.452000285-000:002 25,423 INFO 成功:sshd 進入RUNNING 狀態,進程已停留超過1 秒(startsecs) 2021-01-07T00:00:25.460312670Z 2021-01-07 00:00:25,452 INFO 2021-01-07 00:00:25,452 INFO 狀態:成功。進程已停留超過1 秒(startsecs) 2021-01-07T00:00:32.937405640Z 2021-01-07 00:00:32,928 INFO 已退出:sshd(退出狀態0;預期的)

/home/LogFiles/nginx/access.log (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/nginx/access.log)

/home/LogFiles/nginx/error.log (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/nginx/error.log)2021/01/06 21:33:12 [錯誤] 163# 163:*1 connect() 到unix:/var/run/php/php7.0-fpm.sock 在連線到上游時失敗(111:連線被拒絕),客戶端:172.16.4.1,伺服器:_,請求:“GET /robots933456.txt HTTP/1.1”,上游:“fastcgi://unix:/var/run/php/php7.0-fpm.sock:”,主機:“127.0.0.1:7038”2021/01 /06 21 :33:12 [錯誤] 163#163:* 3 connect()到unix:/var/run/php/php7.0-fpm.sock在連接到上游時失敗(111:連接被拒絕),客戶端:172.16.4.1 ,伺服器:_,請求:“GET / HTTP/1.1”,上游:“fastcgi://unix:/var/run/php/php7.0-fpm.sock:”,主機:“ http://refritec. azurewebsites.net”,引薦來源:“http://portal.azure.com”2021/01/06 22:21:24 [錯誤] 141#141:*1 connect() 到unix: /var/run/php/ php7.0-fpm.sock 連線到上游時失敗(111:連線被拒絕),客戶端:172.16.4.1,伺服器:_,請求:“GET /robots933456.txt HTTP/1.1” ,上游:「fastcgi://unix :/var/run/php/php7.0-fpm.sock:", 主機:"127.0.0.1:1392"2021/01/06 22:21:24 [crit] 141 #141: *3 connect() 到unix:/var/run/php/php7.0-fpm.sock 連線到上游時失敗(13:權限被拒絕),客戶端:172.16.4.1,伺服器:_,請求: “GET / HTTP/1.1”,上游: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”,主機:“http://refritec.azurewebsites.net”,引用者:「http://portal.azure.com “2021/01/06 23:50:10 [錯誤] 141#141: *1 connect() 到unix:/var/run/php/php7.0-fpm .sock 連線到時失敗(111: 連線被拒絕)上游,客戶端:172.16.4.1,伺服器:_,請求:「GET /robots933456.txt HTTP/1.1」,上游:「fastcgi://unix:/ var/run/php/php7.0-fpm.sock:” ,主機:「127.0.0.1:4836」2021/01/06 23:50:49 [錯誤] 141#141:*1 connect() 到unix: /var/run/php/php7.0-fpm.sock 失敗(111:連線被拒絕)連線到上游時,客戶端:172.16.4.1,伺服器:_,請求:“GET /robots933456.txt HTTP/1.1” ,上游:「fastcgi://unix:/var/run/php/ php7.0-fpm.sock:", 主機: "127.0.0.1:8184"2021/01/06 23:50:49 [錯誤] 141 #141: *3 connect() 到unix:/var/run/php /php7.0-fpm.sock 連線到上游時失敗(111:連線被拒絕),客戶端:172.16.4.1,伺服器:_,請求: “GET /install HTTP/1.1”,上游:“fastcgi://unix: /var/run/php/php7.0-fpm.sock:",主機:"http://refritec.azurewebsites.net"2021 /01/06 23:58:52 [錯誤] 141#141:*1 連線() 到unix:/var/run/php/php7.0-fpm.sock 連線到上游時失敗(111:連線被拒絕) ,客戶端:172.16.4.1,伺服器:_,請求:“GET /robots933456.txt HTTP /1.1”,上游:“fastcgi://unix:/var/run/php/php7.0-fpm.sock:” ,主機:「127.0.0.1:3981」2021/01/06 23:58:53 [錯誤] 141#141: *3 connect() 到unix:/var/run/php/php7.0-fpm.sock 失敗(111:連線被拒絕),同時連線到上游,客戶端:172.16.4.1,伺服器:_,請求:“GET / HTTP/1.1”,上游:“fastcgi://unix:/var/run/php/php7.0 -fpm.襪子:”,主機:“http://refritec.azurewebsites.net”

/home/LogFiles/nginx/php-error.log (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/nginx/php-error.log)

/home/LogFiles/supervisor/supervisord.log (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/supervisor/supervisord.log) 2021-01-07 00:00:22,853 INFO Supervisord 啟動116 2021-01-07 00:00:23,992 訊息產生:“php-fpm”,pid 118 2021-01-07 00:00:24,145 訊息產生:“nginx”,pid 119 2021-01:00 24,212 訊息產生:“sshd”,pid 120 2021-01-07 00:00:24,263 訊息產生:“watch-fpm-socket”,pid 121 2021-01-07 00:00:24,956 訊息fpm RUNNING 狀態,進程已停留超過 1 秒 (startsecs) 2021-01-07 00:00:25,421 INFO 成功:nginx 進入 RUNNING 狀態,進程已停留超過 1 秒 (startsecs) 2021-01-07 00:00: INFO 成功:sshd 進入RUNNING 狀態,進程已停留超過1 秒(startsecs) 2021-01-07 00:00:25,452 INFO 成功:watch-fpm-socket 進入RUNNING 狀態,進程已停留啟動時間超過1 秒(startsecs) 2021-01-07 00:00:32,928 INFO 已退出:sshd(退出狀態0;預期)

/home/LogFiles/webssh/pm2.log (http://refritec.scm.azurewebsites.net/api/vfs/LogFiles/webssh/pm2.log)

結束現有日誌的日誌尾部 --- 開始即時日誌流 ---

答案1

Azure 確認這是東部地區的錯誤。解決這個問題的方法就是使用 East2 區域。

相關內容