When i run bahmni install, I end up with the following displayed in red:
TASK [selinux : set selinux state and policy] **********************************
task path: /opt/bahmni-installer/bahmni-playbooks/roles/selinux/tasks/main.yml:11
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IOError: [Errno 2] No such file or directory: ‘/etc/selinux/config’
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “Traceback (most recent call last):\n File “/tmp/ansible_nO8AzU/ansible_module_selinux.py”, line 211, in \n main()\n File “/tmp/ansible_nO8AzU/ansible_module_selinux.py”, line 151, in main\n config_policy = get_config_policy(configfile)\n File “/tmp/ansible_nO8AzU/ansible_module_selinux.py”, line 78, in get_config_policy\n myfile = open(configfile, “r”)\nIOError: [Errno 2] No such file or directory: ‘/etc/selinux/config’\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “parsed”: false}
Verifying installed components gives me the following result:
thank you sravanthi for getting back to me. Yes I did realize that you recommend Centos 6.7 but having already installed 6.8 i thought i could get away with it.
Hi. I have run the selinux-olicy install as suggested above and all seemed to work fine. however /etc/selinux/config still does not exist after this.
I decided to try installing Bahmni via the base.sh script and unlike before the rpm were installed.
During the install process both MySql and Postgres Db failed to be populated with sample data and after install both services failed to start. pacs-intergration also failed.
I would suggest you not install v0.80, and instead try and use v0.82 (latest installer) as documented on Wiki. Also, maybe it will be a good idea to remove all bahmni rpms from your machine, and redo the process for v0.82.
I was getting an error “mysqld dead but subsys locked” that i managed to fix by removing /var/lock/subsys/mysqld, stopping all services and restarting mysql. Thanks