invalid PID number in Big Sur

bee.lists bee.lists at gmail.com
Sun Mar 7 23:52:24 UTC 2021


Trying to get nginx working in Big Sur.  Upon trying to start the server (nginx.conf test passes fine), I get this:

nginx: [error] invalid PID number “” in “/opt/homebrew/var/run/nginx.pid”

The file is there, but it seems empty.  Given that homebrew now chooses that location, and is set in nginx.conf, how can I get this to work properly?  I tried deleting it, but it just threw an error that it wasn’t there.  


Cheers, Bee






More information about the nginx mailing list