Have you placed the WAR file in the folder? It seems it should be in /home/dhis/tomcat-dhis/ and I believe there you should see there a webapps folder and the WAR should be inside.
Ok, checking at the logs again … it seems that your user dhis is not being able to authenticate on postgres. Can you double check that you created the user properly and that it matches your dhis.conf (user / password)?
Hello @Meky have you had a breakthrough with your problem i am currently facing the same issue if yes please i need assistance i am using ubuntu 18.04 and completed the installation process but get the 404 error
1st. but i think you should allow ubuntu firewall thing to allow Apache tomcat to work
2nd. other thing is try to check file called catalina.out use command tail -f tomcat-dhis/logs/catalina.out this can help you to see some errors also try to make a screenshoot and drop it here
Hey @Kibahila i have seen you are in Tanzania please send me your phone number so that we can share some knowledge because i’m just new also in using dhis2