Unable to install Bahmni on CentOS 6.8

Q) When i try to install bahmni on local host on CentOs 6.8 then installation starts and the installation dose not complete it gives the following error? Need suggestion for what should i do next ?

TASK [oracle-java : Download Java] ********************************************* task path: /opt/bahmni-installer/bahmni-playbooks/roles/oracle-java/tasks/oracle-java.yml:13 fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“wget”, “-q”, “-p”, “-O”, “/opt/jre-8u101-linux-x64.rpm”, “–no-check-certificate”, “–no-cookies”, “–header”, “Cookie:oraclelicense=accept-securebackup-cookie”, “http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jre-8u101-linux-x64.rpm”], “delta”: “0:00:03.728885”, “end”: “2017-05-24 12:26:17.995658”, “failed”: true, “rc”: 8, “start”: “2017-05-24 12:26:14.266773”, “stderr”: “”, “stdout”: “”, “stdout_lines”: [], “warnings”: [“Consider using get_url or uri module rather than running wget”]} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP ********************************************************************* localhost : ok=82 changed=27 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.7-py2.6.egg/click/core.py”, line 722, in call return self.main(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 697, in main rv = self.invoke(ctx) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.6/site-packages/click-6.7-py2.6.egg/click/core.py”, line 535, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.6/site-packages/click-6.7-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 91, 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-backrest.conf’ --extra-vars ‘@/etc/bahmni-installer/setup.yml’’ returned non-zero exit status.

@nawazshaikh, could you try this steps, java issue while bahmni installation process ?

@mksrom Thanks a lot i was able to install bahmni.

I am also getting same Error in CentOS 6.9

doc link https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS

I used following this steps

1 - yum upgrade python-setutools

2 - yum install https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.89-193.noarch.rpm
3- bahmni --help

4 - curl -L http://tiny.cc/defaultsetup >> /etc/bahmni-installer/setup.yml

5 - cat /etc/bahmni-installer/setup.yml

6 - echo “export BAHMNI_INVENTORY=local” >> ~/.bashrc

7 - source ~/.bashrc

8 - bahmni install

9 - yum list installed | grep bahmni

please help me …