FreeBSD Clean Install nginx.pid Permissions Errors

Francis Daly francis at daoine.org
Thu Jul 13 22:46:12 UTC 2017


On Thu, Jul 13, 2017 at 09:37:08AM -0400, Viaduct Lists wrote:

Hi there,

> [Wed Jul 12 06:08:41 rich at neb /var/log/nginx] nginx -t

If you were running this command as "root", would that prompt say
"root at neb" and end with a # ?

> nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
> nginx: [emerg] open() "/var/run/nginx.pid" failed (13: Permission denied)

That might relate to permissions on /, /var, or /var/run, instead of
on /var/run/nginx.pid.

But still: from what you've shown, there is no indication that user
"rich" has the necessary permissions.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list