在 RHEL 服务器上进行固件更新后
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Dec 17 12:14:26 mnmmoweb01p.jkhy.com systemd[1]: Unit nginx.service entered failed state.
Dec 17 12:14:26 mnmmoweb01p.jkhy.com systemd[1]: nginx.service failed.
Dec 17 12:14:26 mnmmoweb01p.jkhy.com polkitd[13138]: Unregistered Authentication Agent for unix-process:15176:292396 (system bus name :1.107, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale e
Dec 17 12:14:26 mnmmoweb01p.jkhy.com sudo[15175]: pam_unix(sudo:session): session closed for user root
不确定如何排除 polkit 故障,任何建议都值得赞赏
编辑:nginx 日志,
2019/12/17 13:10:23 [emerg] 30120#30120: module "/usr/lib64/nginx/modules/ngx_http_geoip_module.so" version 1010002 instead of 1017006 in /usr/share/nginx/modules/mod-http-geoip.conf:1
答案1
内部 nginx 冲突,yum remove nginx; yum install nginx 解决了该问题