项目场景:
场景:部署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