Bahmni 0.82 installation hangs

Hello friends,

Please help. I’m using centos 6.5 and Java 7 I used instructions from https://bahmni.atlassian.net/wiki/display/BAH/Install+Bahmni+on+CentOS

Will really appreciate your help.

My opt folder has only: bahmni-certs bahmni-installer bahmnia-web microsoft omi openmrs rh jre-7u79-linux-x64.rpm

Error:

fatal: [localhost]: FAILED! => {“failed”: true, “msg”: “the file_name ‘/etc/bahmni-installer/deployment-artifacts/e4e_config’ does not exist, or is not readable”} to retry, use: --limit @all.retry

PLAY RECAP ********************************************************************* localhost : ok=119 changed=38 unreachable=0 failed=1

Traceback (most recent call last): File “/usr/bin/bahmni”, line 9, in load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)() File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/core.py”, line 716, in call return self.main(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/core.py”, line 696, in main rv = self.invoke(ctx) File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/core.py”, line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/core.py”, line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/core.py”, line 534, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.6-py2.6.egg/click/decorators.py”, line 17, in new_func return f(get_current_context(), *args, **kwargs) File “/usr/lib/python2.6/site-packages/bahmni-0.1-py2.6.egg/bahmni.py”, line 46, in install return subprocess.check_call(command, shell=True) File “/usr/lib64/python2.6/subprocess.py”, line 505, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘ansible-playbook -i /etc/bahmni-installer/local all.yml -vv --extra-vars ‘@/etc/bahmni-installer/rpm_versions.yml’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’’ returned non-zero exit status 2

Truly, /etc/bahmni-installer/deployment-artifacts/e4e_config doesn’t exist. But I just followed all the instructions as you gave

Thanks for your help

Hi! Were you able to get Bahmni installed, or are you still struggling with this issue? I haven’t personally installed Bahmni on CentOS v6.5. Is this Centos v6.5 Minimal Server Edition? Can you instead try on Centos v6.7 or v6.8, minimal server instead – since those should definitely work.

Thanks so much for checking @gsluthra.

I have now gotten the installation to complete. From the logs, the problem was: nohup: failed to run command `/usr/java/jre1.7.0_79/bin/java’: No such file or directory Which I solved by yum install /opt/jre-7u79-linux-x64.rpm

Everything is fine now…so far.