Hello
I am not a techi or programmer, i am doctor by profession and trying to install bahmni for my hospital.
I contacted professional implementators but the the cost is too high (3lacs +) and in that cost i could get myself a custom made HMS from scratch.
I recently installed Bahmni in centOS 6.7
My issue is that i cannot get the webpage up.
All the services are working and loaded and checked with service command.
What i have noticed is that there are no files is the var/www/html folder and as far as i can check the default httpd config file points to that.
Please help me in this.
[root@localhost /]# sudo service mysqld status mysqld (pid 1771) is running... [root@localhost /]# sudo service postgresql-9.2 status postgresql-9.2 (pid 1892) is running... [root@localhost /]# sudo service openmrs status Service openmrs is running with pid: 1854 [root@localhost /]# sudo service httpd status httpd (pid 1926) is running... [root@localhost /]# sudo service bahmni-reports status Service bahmni-reports is running with pid: 1454 [root@localhost /]# sudo service bahmni-lab status Service bahmni-lab is running with pid: 1435 [root@localhost /]# sudo service openerp status openerp-server is running... [root@localhost /]# sudo service bahmni-erp-connect status Service bahmni-erp-connect is running with pid: 1416
Hi Dr. Puneet,
Its fine if the html folder is empty. Its not an issue. The angular app is served from /var/www/bahmniapps folder and its configured in ssl.conf
I am facing a issue wherein after the installation if I open the URL http:///home.
I am seeing the message on the screen as ERROR: Not able to find the required information.
I am seeing the below messages in httpd error log
[Fri May 20 04:50:17 2016] [error] [client 192.168.136.1] File does not exist: /var/www/bahmniapps/bahmni_config, referer: http://192.168.136.128/home/index.html
[Fri May 20 05:37:13 2016] [error] [client 192.168.136.1] File does not exist: /var/www/bahmniapps/openmrs, referer: http://192.168.136.128/home/index.html
Uploading the screen shot aswell.
Also while launching http:///openelis I am not getting the UI page.
[root@localhost ~]# cd /var/www
[root@localhost www]# ls -ltr
total 16
drwxr-xr-x. 2 root root 4096 Mar 23 00:34 html
drwxr-xr-x. 2 root root 4096 Mar 23 00:34 cgi-bin
drwxr-xr-x. 3 root root 4096 May 19 15:17 error
drwxr-xr-x. 3 root root 4096 May 19 15:17 icons
lrwxrwxrwx. 1 bahmni bahmni 40 May 19 15:25 client_side_logging → /opt/bahmni-web/etc/client_side_logging/
lrwxrwxrwx. 1 bahmni bahmni 31 May 19 15:25 bahmniapps → /opt/bahmni-web/etc/bahmniapps/
lrwxrwxrwx. 1 bahmni bahmni 34 May 19 15:25 bahmni_config → /opt/bahmni-web/etc/bahmni_config/
[root@localhost www]#
@bharath0987: Can you please mention what steps did you follow to install Bahmni? Are you installing Bahmni on a CentOS box? Which version of Centos? And flavor (minimal/etc?).
By looking at your errors it seems the installation didn’t happen properly. Most install files look to be missing.
[root@localhost bahmniapps]# service httpd status
httpd (pid 3664) is running…
[root@localhost bahmniapps]# service openmrs status
Service openmrs is running with pid: 1763
[root@localhost bahmniapps]#
Without httpd service the web page itself will not be displayed right.
I am able to launch the page but seeing the error which I have uploaded a screenshot
Please find attached screen shot.All the services are up and running.
I am able to open http://ip:8069 but unable to load bahmni home page and openelis pages
Looks like OpenELIS isn’t starting for you. You can try:
# Stop the service
service bahmni-lab stop
# Check no bahmni-lab process is running
ps -ef | grep bahmni-lab
# Now start the service
service bahmni-lab start
If it still doesn’t come up, you can paste the contents of your /var/log/bahmni-lab/ log files in pastebin.com.
From the logs I see:
ERROR org.quartz.core.ErrorLogger - Job (atom-feed-openmrs-patient-failed.atom-feed-openmrs-patient-failedJob threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.bahmni.webclients.WebClientsException: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8050 refused]
at org.quartz.core.JobRunShell.run(JobRunShell.java:218)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:560)
Caused by: org.bahmni.webclients.WebClientsException: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8050 refused