Bahmni installation failure in centos

first you shoud checking log in

/var/log/bahmni-lab

to see whether your openelis has this error or not

nohup: failed to run command/usr/java/jre1.8.0_101/bin/java’: No such file or directory`

if yes go to

/opt/bahmni-lab/etc/bahmni-lab.conf

inside bahmni-lab.conf should be like this

# required by embedded tomcat as env variables
export SERVER_PORT=8052
export BASE_DIR=/var/run/bahmni-lab
export CONTEXT_PATH=/openelis
export WAR_DIRECTORY=/var/run/bahmni-lab/bahmni-lab
export SERVER_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
export DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,address=8001,server=y,suspend=n"
export JAVA_HOME=/usr/java/jre1.8.0_101

OPENELIS_DB_SERVER="localhost"

-change JAVA_HOME=/usr/java/jre1.8.0_101 to JAVA_HOME=/usr/java/jre1.8.0_131

-start bahmni-lab service again

this work for me.