我是靠谱客的博主 任性猎豹,这篇文章主要介绍linux脚本登录启动失败,CentOS 7 编译安装Nginx1.10.2 脚本启动失败解决思路,现在分享给大家,希望可以做个参考。

环境

问题

将nginx脚本放入/etc/init.d/中,在root下使用

/etc/init.d/nginx start

Starting nginx (via systemctl): #卡住

检测服务状态如下输出:

[root@nginx]# service nginx status

● nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server

Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)

Active: inactive (dead) since Wed 2017-01-18 08:37:35 UTC; 2s ago

Docs: man:systemd-sysv-generator(8)

Process: 18249 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=0/SUCCESS)

CGroup: /system.slice/nginx.service

├─7276 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

└─7277 nginx: worker process

Jan 18 08:34:26 systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server...

Jan 18 08:34

最后

以上就是任性猎豹最近收集整理的关于linux脚本登录启动失败,CentOS 7 编译安装Nginx1.10.2 脚本启动失败解决思路的全部内容,更多相关linux脚本登录启动失败,CentOS内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(52)

评论列表共有 0 条评论

立即
投稿
返回
顶部