在启动nginx的时候出现如下命令:
检查语法正常
[[email protected] 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的时候出现:
[[email protected] nginx]# /application/tools/nginx/sbin/nginx -s reload
nginx: [alert] kill(1726, 1) failed (3: No such process)
提示未找到nginx相关进程
解决办法:
[[email protected] nginx]# /application/tools/nginx/sbin/nginx 重新启动nginx
[[email protected] nginx]# /application/tools/nginx/sbin/nginx -s reload 优雅重启nginx服务
原文地址:http://blog.51cto.com/cainiaibage/2061314
时间: 2024-10-12 16:29:14