项目场景:
场景:部署zabbix5.0,启动Nginx 服务报错问题描述:
错误代码:Job for rh-nginx116-nginx.service failed because the control process exited with error code. See "systemctl status rh-nginx116-nginx.service" and "journalctl -xe" for details.
解决方案
查看Nginx 状态
[root@zabbix5 conf.d]# systemctl status rh-nginx116-nginx.service

修改Nginx文件
[root@zabbix5 conf.d]# vi /etc/opt/rh/rh-nginx116/nginx/nginx.conf
把最后那个;去掉 wq保存即可
启动Nginx
[root@zabbix5 conf.d]# systemctl start rh-nginx116-nginx
在部署Zabbix5.0时遇到Nginx服务启动失败,错误信息显示Job for rh-nginx116-nginx.service failed because the control process exited with error code。通过运行'systemctl status rh-nginx116-nginx.service'和'journalctl -xe'检查详情。解决方法是编辑/etc/opt/rh/rh-nginx116/nginx/nginx.conf,移除末尾分号并保存,然后重新启动Nginx服务。
8万+

被折叠的 条评论
为什么被折叠?



