nginx: [alert] kill(1726, 1) failed

在啓動nginx的時候出現如下命令:
檢查語法正常
[root@mytest nginx]# /application/tools/nginx/sbin/nginx -t
nginx: the configuration file /application/tools/nginx1.6.2/conf/nginx.conf syntax is ok
nginx: configuration file /application/tools/nginx1.6.2/conf/nginx.conf test is successful
啓動nginx的時候出現:
[root@mytest nginx]# /application/tools/nginx/sbin/nginx -s reload
nginx: [alert] kill(1726, 1) failed (3: No such process)
提示未找到nginx相關進程
解決辦法:
[root@mytest nginx]# /application/tools/nginx/sbin/nginx 重新啓動nginx

[root@mytest nginx]# /application/tools/nginx/sbin/nginx -s reload 優雅重啓nginx服務

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章