nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx.pid" code example Example: nginx: invalid option: "restart" /etc/init.d/nginx restart