个人记录:
[root@xxx]# systemctl status nginx
● nginx.service - LSB: starts the nginx web server
Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
[root@xxx]# systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
start、reload、restart都没用
# 查询nginx主进程号
# ps -ef | grep nginx
# kill 重复的进程-命令skill
# skill 87488
# 重启nginx
# systemctl restart nginx
# systemctl status nginx
成功