Bahmni Installation issue

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

Moved to #software:bahmni category

Hi @flogo,

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

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

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

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

openmrs unable to get user interface

i am getting Error on The Request information does not exits

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