error BABHMNI installation

i have install bahmni i have this error if i try to start bahmni-erp-connect ERROR : /usr/java/jre1.8.0.101/bin/java no such file or directory plse help

not sure this will help but it looks like the same problem.(I have problem with starting bahmni-lab) Can you try follow this step but using bahmni-erp-connect instead of bahmni-lab like instead of /var/log/bahmni-lab you go to /var/log/bahmni-erp-connect to check log file

1 Like

hi i have check this file and change : Export JAVA_HOME=/usr/java.jre1.8.0_131

then try to restart bahmni-erp-connect again

[root@hopital bahmni-lab]# service bahmni-erp-connect start Starting bahmni-erp-connect [root@hopital bahmni-lab]# nohup: appending output to /home/bahmni/nohup.out'** **nohup: failed to run command/usr/java/jre1.8.0_101/bin/java’: No such file or directory

root@hopital bahmni-lab]# yum list installed | grep bahmni atomfeed-console.noarch 1.0-18 @bahmni
bahmni-emr.noarch 0.89-326 @bahmni
bahmni-erp.noarch 0.89-49 @bahmni
bahmni-erp-connect.noarch 0.89-49 @bahmni
bahmni-implementer-interface.noarch 0.89-97 @bahmni
bahmni-installer.noarch 0.89-193 @/bahmni-installer-0.89-193.noarch
bahmni-lab.noarch 0.89-69 @bahmni
bahmni-lab-connect.noarch 0.89-326 @bahmni
bahmni-openmrs.noarch 0.89-89 @bahmni
bahmni-reports.noarch 0.89-64 @bahmni
bahmni-web.noarch 0.89-326 @bahmni
dcm4chee.noarch 0.89-58 @bahmni
pacs-integration.noarch 0.89-58 @bahmni
python-gdata.noarch 2.0.11-1.el6 @bahmni

it done not starting this one alone bahmni-erp-connect

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_131