[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx -s reload

nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)

[root@RHEL6 init.d]# /usr/local/nginx/s

sbin/      scgi_temp/ 

[root@RHEL6 init.d]# /usr/local/nginx/s

sbin/      scgi_temp/ 

[root@RHEL6 init.d]# /usr/local/nginx/s

sbin/      scgi_temp/ 

[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx 

aix/     debian/  fedora/  freebsd/ gentoo/  README   suse/    tru64/   ubuntu/  

[root@RHEL6 init.d]# ll/usr/local/nginx/sbin/nginx 

-bash: ll/usr/local/nginx/sbin/nginx: 没有那个文件或目录

[root@RHEL6 init.d]# ll /usr/local/nginx/sbin/nginx 

-rwxr-xr-x 1 root root 3600185 3月   9 22:03 /usr/local/nginx/sbin/nginx

[root@RHEL6 init.d]# ll /usr/local/nginx/sbin/nginx ^C

[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/c

client_body_temp/ conf/             

[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/c

client_body_temp/ conf/             

[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf

#上面就可以解决提示失败

[root@RHEL6 init.d]# /usr/local/nginx/sbin/nginx -s reload

[root@RHEL6 init.d]#