Bahmni homepage error

Okay, I solved this. Maybe it is interesting for anybody getting the same error:

I was checking /var/log/openmrs/openmrs/log which stated: failed to run command /usr/java/jre1.8.0_101/bin/java': No such file or directory

However, jre’s version on my server was jre1.8.0_131. Thus, I removed my jre with $ yum remove jre and installed jre1.8.0_101 as described here:

  1. login to your server
  2. $ cd /opt
  3. $ wget https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/NSG/common/x86_64/jre-8u101-linux-x64.rpm
  4. $ yum install jre-8u101-linux-x64.rpm
  5. $ service openmrs restart
1 Like