I\'m using nginx on OS X 10.8. Freshly installed nginx but can\'t find a way to restart nginx except kill nginx_pid say kill 64116>
nginx
kill nginx_pid
kill 64116>
check if this directory exists:
/usr/local/var/run
this error can occurs when nginx try to initialise pid file in localisation that doesn't exist.