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 從新啓動nginxnginx

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

相關文章
相關標籤/搜索