bahmni does not work after reboot

Solved the issu by reinstalling Centos and bahmni and disabling firewalld permanently using sudo systemctl disable firewalld

but is that safe?

You shouldn’t disable firewall especially if exposed to internet publicly. The least you should do is only open port 80 and 443 and tunnel requests through the apache server. Security goes much beyond a particular server that acting as a gateway server. If your server is public, then you should install at the minimum IDS/IPS systems like snort or so.

1 Like

We have a common strong firewall installed in our network which works fine is that ok…?

That depends on your perceived security threats, potential actors, access to the network and many things. In general, disabling firewall is not recommended unless you can have a watertight process and access (external firewall). The least you should do is tunnel all traffic through apache and allow only port 80 and 443. For example, can you ensure that access to MySQL over ip/fqdn 3306 or postgres 5432 ports are not allowed? Imagine if your grant rules are such that it allows connection from any other machine!

1 Like

This solved my issue. Thank you!

Plese check your firewall or run command : sudo service firewalld stop then try again its working

if you are using Bahmni 0.92 or above, refrain from using “service” command. use systemctl instead.

systemctl enable

If you are using older version of Bahmni or a specific service does not have a service unit file, then use the chkconfig command.