ITSec-Chile / Waf2Py

Waf2Py is a nice and easy to use web interface for modsecurity v3 with nginx connector. Waf2Py is free and powered by Web2Py that controls modsecurity and nginx configuration in an easy way, allowing you to configure protection for any web application in just minutes.
Other
51 stars 17 forks source link

Nginx error when click start #5

Open vincentteo opened 3 years ago

vincentteo commented 3 years ago

Deployed on Debian 10.7 . Debian VM was built successful and follow the step by step of the installation . Until the start up nginx step was failed with the error nginx: [error] invalid PID number "" in "/opt/waf/nginx/var/run/nginx.pid"

ch-rigu commented 3 years ago

could you check if that file contains the pid ? if not you could add any random number there and start it

another thing you could try is: start nginx manually by executing: /opt/waf/nginx/sbin/nginx
stop nginx by executing: /opt/waf/nginx/sbin/nginx -s stop

then should be work

I will add check if pid is empty.