DHIS setup in Debian 11 Virtual Machine

I have tried to install DHIS2.38 on Debian 11 Virtual machine. I followed this Doc.

When i run tomcat-dhis/bin/startup.sh, it says tomcat started.

In the browser of my Native Machine, it says the site can’t be reached.

The output of catalina.out:
" There is Insufficient memory for the Java runtime Environment to continue"
“Native memory allocation (mmap) failed to map”

Kindly help.
Thanks.

You should use # ./catalina.sh start
Because that shell reads setenv.sh file that setup Java vars

1 Like

Or you can force the environment variables via export in your script :slight_smile:

2 Likes