HTTP Status 404 – Not Found

Hi all,

Our server went down after a power outage. The power is restored, and the server is on again, but we can not access the DHIS 2 instance. We get the error above. What general steps should we take to get the DHIS 2 instance working in case of occurrences of power outages?

Thanks

1 Like

Hello,

Here are the general steps, which’ll be helpful to troubleshoot this issue.

  1. Please check the war file name.
  2. Make sure you are running the complete url example- https://dhis.abc.org/dhis2
  3. Check the Catalina logs, you can find some clue.
  4. Need to check environment variables.
1 Like
  • As @MohinderS suggested, check the logs first e.g sudo tail -fn200 /path/to/catalina.out
  • Confirm that the server is actually running e.g sudo systemctl status mydhis2.service
  • Ensure that your database is enabled to auto start on machine start/reboot
  • If you’re using reverse proxy, ensure that the proxy is listening on the correct port
1 Like