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:
- login to your server
$ cd /opt
$ wget https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/NSG/common/x86_64/jre-8u101-linux-x64.rpm
$ yum install jre-8u101-linux-x64.rpm
$ service openmrs restart