app manager getting this error

app manager getting this error

Hi while installing the app manager getting this error. Please help us to resolve the same.

[appuser@APAC-L2-LNX01 AppManager13]$ sudo sh startApplicationsManager.sh

##########################################################################
 Note:It is recommended to start the product in nohup mode.
 Usage : nohup sh startApplicationsManager.sh &
##########################################################################
AppManager Info: Temporary image files are removed
This evaluation copy is valid for 27 days
[appuser@APAC-L2-LNX01 AppManager13]$


[appuser@APAC-L2-LNX01 logs]$ tailf StartUpLogs_out0.txt
Thu Jun 08 14:20:16 IST 2017 :  The properties file going to be initialized is ::: /opt/ME/AppManager13/AppManager13/working/html/en/EnglishToNative.properties
Thu Jun 08 14:20:16 IST 2017 :  ResourceGroupDisplayMap to be returned ::: {VIR=Virtualization, NET=Networks, CAM=Custom Monitors, MOM=Middleware/Portal, EMO=Site24x7 Monitors, HAI=Monitor Group, CLD=Cloud Apps, NWD=Network Devices, MS=Mail Servers, SAN=Storage Devices, SER=Services, APP=Application Servers, DBS=Database Servers, SYS=Servers, URL=Web Server/Services, ERP=ERP}
Thu Jun 08 14:20:16 IST 2017 :  *******************************************************
Thu Jun 08 14:20:16 IST 2017 :  The Build edition is the Enterprise
Thu Jun 08 14:20:16 IST 2017 :  *******************************************************
Thu Jun 08 14:20:16 IST 2017 :  isconsole false
Thu Jun 08 14:20:16 IST 2017 :  waiting for the connection in the database for Postgresql host : localhost, port : 15433
Thu Jun 08 14:20:17 IST 2017 :  waiting for the connection in the database for Postgresql host : localhost, port : 15433
Thu Jun 08 14:20:18 IST 2017 :  waiting for the connection in the database for Postgresql host : localhost, port : 15433


In  StartUpLogs_err0.txt

java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at jdbc.CreateWebNmsDB.main(CreateWebNmsDB.java:329)
        at jdbc.CreateSchema.checkForDBServerPresence(CreateSchema.java:800)
        at jdbc.CreateSchema.init(CreateSchema.java:97)
        at jdbc.CreateSchema.main(CreateSchema.java:107)
        at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:1232)
Thu Jun 08 13:09:34 IST 2017 :  Mysql daemon is not running on your Linux machine.Please start the daemon and retry
Thu Jun 08 13:09:34 IST 2017 :  Unable to create database. Exiting Applications Manager
[appuser@APAC-L2-LNX01 logs]$ 


Pgsql is running fine:

[appuser@APAC-L2-LNX01 AppManager13]$ ps -ef| grep pgsql
postgres 14831     1  0 Jun07 ?        00:00:00 /opt/ME/AppManager13/AppManager13/working/pgsql/bin/postgres -D /opt/ME/AppManager13/AppManager13/working/pgsql/data/amdb
appuser  22248 21055  0 14:32 pts/1    00:00:00 grep pgsql
[appuser@APAC-L2-LNX01 AppManager13]$
[appuser@APAC-L2-LNX01 AppManager13]$
[appuser@APAC-L2-LNX01 AppManager13]$
[appuser@APAC-L2-LNX01 AppManager13]$ netstat -napl | grep 15432
(No info could be read for "-p": geteuid()=500 but you should be root.)
tcp        0      0 127.0.0.1:15432             0.0.0.0:*                   LISTEN      -
unix  2      [ ACC ]     STREAM     LISTENING     3021682 -                   ./.s.PGSQL.15432
[appuser@APAC-L2-LNX01 AppManager13]$

commented Ipv6 in /etc/host files.
[appuser@APAC-L2-LNX01 logs]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.10.109     APAC-L2-LNX01


                New to ADManager Plus?

                  New to ADSelfService Plus?