记一次zabbix服务器重启导致的zabbix web界面503提示不可用

近期因某些原因,导致一台平台类服务器重启了,其中上面有个zabbix的监控服务。服务器正常启动之后,zabbix服务正常起来,但是访问web界面时,apache报503故障

 

去查看zabbix服务端的日志没发现异常,怀疑是某个服务没有没有起来,导致访问不可用

这时查看apache的错误日志,发现了一下异常:

[Fri Feb 19 16:50:12.822075 2021] [proxy:error] [pid 27451] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock (*) failed
[Fri Feb 19 16:50:12.822131 2021] [proxy_fcgi:error] [pid 27451] [client 127.0.0.1:41278] AH01079: failed to make connection to backend: httpd-UDS
[Fri Feb 19 16:50:14.631067 2021] [proxy:error] [pid 27452] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock (*) failed
[Fri Feb 19 16:50:14.631118 2021] [proxy_fcgi:error] [pid 27452] [client 127.0.0.1:41326] AH01079: failed to make connection to backend: httpd-UDS
[Fri Feb 19 16:50:15.936591 2021] [proxy:error] [pid 27453] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/opt/rh/rh-php72/run/php-fpm/zabbix.sock (*) failed
[Fri Feb 19 16:50:15.936643 2021] [proxy_fcgi:error] [pid 27453] [client 127.0.0.1:41356] AH01079: failed to make connection to backend: httpd-UDS

原因:

有个服务rh-php72-php-fpm没有启动,导致apache连接到后端的fccgi解析器的时候,连接不上,无法解析php

解决办法:

重新启动该服务即可

systemctl restart rh-php72-php-fpm

这时候,重新打开,就能看到界面了

 

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇