# Bahmni Installation issue

**URL:** <https://talk.openmrs.org/t/bahmni-installation-issue/12917>\
**Category:** Bahmni\
**Created:** [August 16, 2017, 12:47pm UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917 "2017-08-16T12:47:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![flogo](https://talk.openmrs.org/letter_avatar/flogo/32/6_22734026db12803ebb3e059622ac3534.png) [@flogo](https://talk.openmrs.org/u/flogo)\
**Post date:** [August 16, 2017, 12:47pm UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/1 "2017-08-16T12:47:57Z")

</div>

Hi. I got an issue while installing bahmni on Centos. When running this command below: bahmni -i local install I got this error: 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.

I need help on this issue.

Thanks

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [August 18, 2017, 12:26am UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/2 "2017-08-18T00:26:04Z")

</div>

Moved to #software:bahmni category

---

<div class="post-metadata">

**Author:** ![binduak](https://talk.openmrs.org/letter_avatar/binduak/32/6_22734026db12803ebb3e059622ac3534.png) [@binduak](https://talk.openmrs.org/u/binduak)\
**Post date:** [August 19, 2017, 7:45am UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/3 "2017-08-19T07:45:35Z")

</div>

Hi @flogo,

> [@flogo](#):
>
> 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

It doesn’t have much details about the error to debug. Can you share more error stack trace.

---

<div class="post-metadata">

**Author:** ![flogo](https://talk.openmrs.org/letter_avatar/flogo/32/6_22734026db12803ebb3e059622ac3534.png) [@flogo](https://talk.openmrs.org/u/flogo)\
**Post date:** [August 21, 2017, 1:31pm UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/4 "2017-08-21T13:31:42Z")

</div>

Hi binduak,

Below is more details on the error:

7b-1.el6 will be an update\n—\> Package xml-common.noarch 0:0.6.3-33.el6 will be installed\n–\> Running transaction check\n—\> Package ConsoleKit.x86\_64 0:0.4.1-6.el6 will be installed\n–\> Processing Dependency: libck-connector.so.0()(64bit) for package: ConsoleKit-0.4.1-6.el6.x86\_64\n—\> Package alsa-lib.x86\_64 0:1.1.0-4.el6 will be installed\n—\> Package bahmni-erp.noarch 0:0.82-56 will be installed\n–\> Processing Dependency: mx for package: bahmni-erp-0.82-56.noarch\n—\> Package cdparanoia-libs.x86\_64 0:10.2-5.1.el6 will be installed\n—\> Package compat-xcb-util.x86\_64 0:0.4.0-2.2.el6 will be installed\n—\> Package eggdbus.x86\_64 0:0.6-3.el6 will be installed\n—\> Package gnome-themes.noarch 0:2.28.1-7.el6 will be installed\n–\> Processing Dependency: gtk2-engines \>= 2.15.3 for package: gnome-themes-2.28.1-7.el6.noarch\n–\> Processing Dependency: gnome-icon-theme for package: gnome-themes-2.28.1-7.el6.noarch\n—\> Package gstreamer-tools.x86\_64 0:0.10.29-1.el6 will be installed\n—\> Package hunspell.x86\_64 0:1.2.8-16.el6 will be installed\n—\> Package iso-codes.noarch 0:3.16-2.el6 will be installed\n—\> Package libXv.x86\_64 0:1.0.11-1.el6 will be installed\n—\> Package libgudev1.x86\_64 0:147-2.73.el6\_8.2 will be installed\n–\> Processing Dependency: libudev = 147-2.73.el6\_8.2 for package: libgudev1-147-2.73.el6\_8.2.x86\_64\n—\> Package libogg.x86\_64 2:1.1.4-2.1.el6 will be installed\n—\> Package liboil.x86\_64 0:0.3.16-4.1.el6 will be installed\n—\> Package libproxy.x86\_64 0:0.3.0-10.el6 will be installed\n–\> Processing Dependency: libproxy-python = 0.3.0-10.el6 for package: libproxy-0.3.0-10.el6.x86\_64\n–\> Processing Dependency: libproxy-bin = 0.3.0-10.el6 for package: libproxy-0.3.0-10.el6.x86\_64\n—\> Package libtheora.x86\_64 1:1.1.0-2.el6 will be installed\n—\> Package libvisual.x86\_64 0:0.4.0-10.el6 will be installed\n—\> Package libvorbis.x86\_64 1:1.2.3-4.el6\_2.1 will be installed\n–\> Running transaction check\n—\> Package ConsoleKit-libs.x86\_64 0:0.4.1-6.el6 will be installed\n—\> Package bahmni-erp.noarch 0:0.82-56 will be installed\n–\> Processing Dependency: mx for package: bahmni-erp-0.82-56.noarch\n—\> Package gnome-icon-theme.noarch 0:2.28.0-8.el6 will be installed\n—\> Package gtk2-engines.x86\_64 0:2.18.4-5.el6.centos will be installed\n—\> Package libproxy-bin.x86\_64 0:0.3.0-10.el6 will be installed\n—\> Package libproxy-python.x86\_64 0:0.3.0-10.el6 will be installed\n—\> Package libudev.x86\_64 0:147-2.63.el6 will be updated\n—\> Package libudev.x86\_64 0:147-2.73.el6\_8.2 will be an update\n–\> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n"]} to retry, use: --limit @/opt/bahmni-installer/bahmni-playbooks/all.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* localhost : ok=219 changed=91 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 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

---

<div class="post-metadata">

**Author:** ![govind](https://talk.openmrs.org/user_avatar/talk.openmrs.org/govind/32/7233_2.png) [@govind](https://talk.openmrs.org/u/govind)\
**Post date:** [March 28, 2018, 5:50am UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/5 "2018-03-28T05:50:02Z")

</div>

Hi. I got an issue while installing bahmni on Centos 6.9. When running this command below: bahmni -i local install I got this error:

\*\*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.**

I need help on this issue.

Thanks

---

<div class="post-metadata">

**Author:** ![tmlewin](https://talk.openmrs.org/letter_avatar/tmlewin/32/6_22734026db12803ebb3e059622ac3534.png) [@tmlewin](https://talk.openmrs.org/u/tmlewin)\
**Post date:** [March 28, 2018, 9:57am UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/6 "2018-03-28T09:57:51Z")

</div>

i tried on 6.9 it didnt instlaa. i did a fresh os install of version 6.6 and was able to sucessfully install bahmni

---

<div class="post-metadata">

**Author:** ![govind](https://talk.openmrs.org/user_avatar/talk.openmrs.org/govind/32/7233_2.png) [@govind](https://talk.openmrs.org/u/govind)\
**Post date:** [March 28, 2018, 10:34am UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/7 "2018-03-28T10:34:10Z")

</div>

openmrs unable to get user interface

 ![openmrs ls -ahl](https://talk.openmrs.org/uploads/default/original/2X/9/947dd4b2fc2d2af73352166c71345548251bcf80.png)

# i am getting Error on The Request information does not exits

 ![Screenshot-2](https://talk.openmrs.org/uploads/default/original/2X/b/bb06019e2bb20af4f21219de3e26a58ea750d975.png)

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [March 28, 2018, 1:15pm UTC](https://talk.openmrs.org/t/bahmni-installation-issue/12917/8 "2018-03-28T13:15:17Z")

</div>

Govind, you are posting the same issue in multiple threads. It does not help you or others at all.
