Skip to main content

205050 - Failed to Reload Nginx

Agent error code #205050 means the agent ran sudo -n nginx -s reload after editing the include file, but the reload failed. The new ACL is on disk; nginx has not picked it up yet.

Steps to Resolve

  1. Run sudo nginx -t on the agent host to check the running configuration is still valid.

  2. On the agent host, run:

    sudo /opt/knocknoc-agent/knocker/knocker enable nginx
    
  3. Tail /var/log/nginx/error.log on the agent host for the underlying reload failure (most commonly a syntax error in an unrelated server block).

Still Having Issues?

Contact us at support@knocknoc.io.