nginx: [crit] pread() "/opt/nginx" failed (21: Is a directory)

Gray, Steve, Wipro steve.gray.wipro at sonymusic.com
Sat Apr 28 01:59:15 UTC 2012


Hi,
I am using nginx 1.0.15 running on Solaris 10.  When I issue my "/opt/nginx/sbin/nginx -s stop" command, I get this error "nginx: [crit] pread() "/opt/nginx" failed (21: Is a directory)". The funny thing is that I can issue "/opt/nginx/sbin/nginx" to start nginx and get no errors.  Nginx starts okay.  I can also issue "/opt/nginx/sbin/nginx -V or v" and get no errors.  The "nginx: [crit] pread() "/opt/nginx" failed (21: Is a directory)" error happens when I issue the command with the "-s stop|reload|quit|reopen" options.
My configure argument is --prefix=/opt/nginx. Has anyone seen this or know why this is happening?  Let me know if you need any more information from me.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120427/5b1d04c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 530 bytes
Desc: image001.gif
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120427/5b1d04c9/attachment.gif>


More information about the nginx mailing list