Centos 7.x Bahmni Installation issue - Job for mysqld.service failed

Hi All,

Trying to install Bahmi on centos and getting following error

fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Job for mysqld.service failed because a timeout was exceeded. See “systemctl status mysqld.service” and “journalctl -xe” for details.\n”}

NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @all.retry

PLAY RECAP ********************************************************************* localhost : ok=33 changed=19 unreachable=0 failed=1

Traceback (most recent call last): File “/bin/bahmni”, line 9, in load_entry_point(‘bahmni==0.1’, ‘console_scripts’, ‘bahmni’)() File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/core.py”, line 716, in call return self.main(*args, **kwargs) File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/core.py”, line 696, in main rv = self.invoke(ctx) File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/core.py”, line 1060, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/core.py”, line 889, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/core.py”, line 534, in invoke return callback(*args, **kwargs) File “/usr/lib/python2.7/site-packages/click-6.6-py2.7.egg/click/decorators.py”, line 17, in new_func return f(get_current_context(), *args, **kwargs) File “build/bdist.linux-x86_64/egg/bahmni.py”, line 46, in install File “/usr/lib64/python2.7/subprocess.py”, line 542, 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 Redirecting to /bin/systemctl stop openerp.service Failed to stop openerp.service: Unit openerp.service not loaded. Redirecting to /bin/systemctl stop bahmni-erp-connect.service Failed to stop bahmni-erp-connect.service: Unit bahmni-erp-connect.service not loaded. Redirecting to /bin/systemctl stop bahmni-reports.service Failed to stop bahmni-reports.service: Unit bahmni-reports.service not loaded. error reading information on service openerp: No such file or directory error reading information on service bahmni-reports: No such file or directory error reading information on service bahmni-erp-connect: No such file or directory

Let me know what is the issue.

Thanks

Can you please confirm if you are not using Centos -7 ?

Please print the output of the command:

cat /etc/redhat-release

Its centos 7 and we have re-installed in another cloud with centos 6.8. Issue got resolved.

thank you