I am here sending all output and please tell me where I am doing wrong.
JAVA
[root@dhcppc5 log]# java -version
java version “1.7.0_79”
OpenJDK Runtime Environment (rhel-2.5.5.4.el6-x86_64 u79-b14)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
[root@dhcppc5 log]# whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz
[root@dhcppc5 log]# yum list installed |grep java
java-1.5.0-gcj.x86_64 1.5.0.0-29.1.el6 @base/$releasever
java-1.6.0-openjdk.x86_64 1:1.6.0.35-1.13.7.1.el6_6 @base/$releasever
java-1.7.0-openjdk.x86_64 1:1.7.0.79-2.5.5.4.el6 @base/$releasever
java_cup.x86_64 1:0.10k-5.el6 @base/$releasever
tzdata-java.noarch 2015e-1.el6 @base/$releasever
[root@dhcppc5 log]# yum list installed |grep jre
[root@dhcppc5 log]# yum list installed |grep jdk
java-1.6.0-openjdk.x86_64 1:1.6.0.35-1.13.7.1.el6_6 @base/$releasever
java-1.7.0-openjdk.x86_64 1:1.7.0.79-2.5.5.4.el6 @base/$releasever
[root@dhcppc5 log]#
BAHMNI INSTALL
[root@dhcppc5 log]# yum list installed |grep bahmni
bahmni-certs.noarch 1.0-48 @bahmni
bahmni-emr.noarch 0.83-289 @bahmni
bahmni-erp.noarch 0.83-36 @bahmni
bahmni-erp-connect.noarch 0.83-36 @bahmni
bahmni-installer.noarch 0.83-142 @/bahmni-installer-0.83-142.noarch
bahmni-lab.noarch 0.83-34 @bahmni
bahmni-lab-connect.noarch 0.83-289 @bahmni
bahmni-openmrs.noarch 0.83-8 @bahmni
bahmni-reports.noarch 0.83-31 @bahmni
bahmni-web.noarch 0.83-289 @bahmni
python-gdata.noarch 2.0.11-1.el6 @bahmni
[root@dhcppc5 log]#
ALL SERVICE
[root@dhcppc5 log]# sudo service --status-all
abrt-ccpp hook is installed
abrtd (pid 2788) is running…
abrt-dump-oops is stopped
acpid (pid 1897) is running…
atd (pid 2840) is running…
auditd (pid 1593) is running…
automount (pid 2062) is running…
Service bahmni-erp-connect is not running
Service bahmni-lab is not running
Service bahmni-reports is not running
Usage: /etc/init.d/bluetooth {start|stop}
certmonger (pid 2872) is running…
cpuspeed is stopped
crond (pid 2813) is running…
cupsd (pid 1844) is running…
dnsdomainname: Unknown host
dnsmasq is stopped
/usr/sbin/fcoemon – RUNNING, pid=1747
No interfaces created.
firstboot is not scheduled to run
hald (pid 1917) is running…
I don’t know of any running hsqldb server.
htcacheclean is stopped
httpd (pid 2801) is running…
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all ::/0 ::/0 state RELATED,ESTABLISHED
2 ACCEPT icmpv6 ::/0 ::/0
3 ACCEPT all ::/0 ::/0
4 ACCEPT udp ::/0 fe80::/64 state NEW udp dpt:546
5 ACCEPT tcp ::/0 ::/0 state NEW tcp dpt:22
6 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
IPsec stopped
Table: filter
Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:8069 /* BAHMNIERP /
2 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:5432 / POSTGRES /
3 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:8052 / BAHMNILAB /
4 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:8051 / BAHMNIREPORTS /
5 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 / https /
6 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 / WEB SERVER /
7 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:8050 / OPENMRS /
8 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306 / MYSQL /
9 ACCEPT all – 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
10 ACCEPT icmp – 0.0.0.0/0 0.0.0.0/0
11 ACCEPT all – 0.0.0.0/0 0.0.0.0/0
12 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
13 REJECT all – 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
14 ACCEPT all – 0.0.0.0/0 0.0.0.0/0 / lo /
15 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 / SSH */
Chain FORWARD (policy DROP)
num target prot opt source destination
1 REJECT all – 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
irqbalance (pid 1661) is running…
iscsi is stopped
iscsid is stopped
Kdump is operational
lldpad (pid 1707) is running…
lvmetad is stopped
dmeventd is stopped
mdmonitor is stopped
messagebus (pid 1762) is running…
multipathd is stopped
mysqld (pid 2545) is running…
netconsole module not loaded
Configured devices:
lo
Currently active devices:
lo eth1
NetworkManager (pid 1775) is running…
rpc.svcgssd is stopped
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd (pid 1798) is running…
grep: /proc/fs/nfsd/portlist: No such file or directory
nscd is stopped
nslcd is stopped
ntpd (pid 2180) is running…
oddjobd is stopped
ifdhandler is stopped
Waiting for reader attach/detach events…
openerp-server is running…
Service openmrs is not running
pcscd (pid 2042) is running…
portreserve is stopped
master (pid 2759) is running…
postgresql-9.2 (pid 2663) is running…
pppoe-server is stopped
Process accounting is disabled.
quota_nld is stopped
rdisc is stopped
Low level hardware support loaded:
none found
Upper layer protocol modules:
none found
User space access modules:
none found
Connection management modules:
none found
rngd is stopped
rpcbind (pid 1685) is running…
rpc.gssd is stopped
rpc.idmapd is stopped
rpc.svcgssd is stopped
rsyslogd (pid 1627) is running…
sandbox is stopped
saslauthd is stopped
smartd is stopped
spice-vdagentd is stopped
openssh-daemon is stopped
sssd is stopped
Xvnc is stopped
wdaemon is stopped
winbindd is stopped
wpa_supplicant (pid 1845) is running…
ypbind is stopped
note- you can see in service that service related to openmrs and bahmni are not started. not even after restarting.
OPENMRS LOG
[root@dhcppc5 log]# cat openmrs.log
nohup: failed to run command /usr/java/jre1.7.0_79/bin/java': No such file or directory nohup: failed to run command
/usr/java/jre1.7.0_79/bin/java’: No such file or directory
nohup: failed to run command `/usr/java/jre1.7.0_79/bin/java’: No such file or directory
OPENMRS CONF
[root@dhcppc5 openmrs]# cat openmrs.conf
export OPENMRS_RUNTIME_PROPERTIES_FILE=/etc/openmrs/openmrs-runtime.properties
export MODULE_REPO=/home/bahmni/.OpenMRS/modules
export SERVER_PORT=8050
export BASE_DIR=/var/run/openmrs
export CONTEXT_PATH=openmrs
export WAR_DIRECTORY=/var/run/openmrs/openmrs
export SERVER_OPTS=“-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m”
export DEBUG_OPTS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
export JAVA_HOME=/usr/java/jre1.7.0_79
[root@dhcppc5 openmrs]#
OUTPUT OF - cd /usr/java/ && ll
[root@dhcppc5 ~]# cd /usr/java
bash: cd: /usr/java: No such file or directory
[root@dhcppc5 ~]# ^C
[root@dhcppc5 ~]#
NOTE-IS THERE ANY PROBLEM WITH PATH OF JAVA_HOME?
HERE I AM ATTACHING PDF FILE OF BAHMNI-INSTALLE LOG.bahmni-installer.pdf (598.0 KB)
waiting for reply.