linux系统开启关闭nginx出现的问题?
[root@localhostinit.d]#servicenginxstatusnginx(pid55275526)isrunning...[root@localhos...
[root@localhost init.d]# service nginx status
nginx (pid 5527 5526) is running...
[root@localhost init.d]# service nginx stop
Stopping nginx: Usage: killproc [-p pidfile] [ -d delay] {program} [-signal]
[root@localhost init.d]# service nginx start
nginx already running.... exit 1
Starting nginx: daemon -c RETVAL=0
[root@localhost init.d]#
为什么不能正常关闭? 该如何解决? 展开
nginx (pid 5527 5526) is running...
[root@localhost init.d]# service nginx stop
Stopping nginx: Usage: killproc [-p pidfile] [ -d delay] {program} [-signal]
[root@localhost init.d]# service nginx start
nginx already running.... exit 1
Starting nginx: daemon -c RETVAL=0
[root@localhost init.d]#
为什么不能正常关闭? 该如何解决? 展开
2个回答
2019-11-29
展开全部
nginx -s stop 关闭
nginx -s reload 重型滚载
希扮激望可以帮助卜缺余你 请采纳 谢谢
追问
[root@localhost init.d]# nginx -s stop
-bash: nginx: command not found
[root@localhost init.d]# service nginx -s stop
Usage: nginx {start|stop|restart|reload|status|help}
[root@localhost init.d]# service nginx -s reload
Usage: nginx {start|stop|restart|reload|status|help}
[root@localhost init.d]# nginx -s reload
-bash: nginx: command not found
关不掉哦
追答
你是怎么安装的?
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询