New installation - Application Manager will not run - Complains about Mysql even though I selected bundled PostgreSQL

New installation - Application Manager will not run - Complains about Mysql even though I selected bundled PostgreSQL

I downloaded and installed the 64bit version of AppManager12, selected the defaults

... snip ..
Select the database to use.

[X] 1 - PostgreSQL (bundled with the product. No setup required.)

...snip..




I start the postgres db from results of the pgsql.txt file :


Success. You can now start the database server using:

    /app/ME/AppManager12/working/pgsql/bin/postgres -D /app/ME/AppManager12/working/pgsql/data/amdb
or
    /app/ME/AppManager12/working/pgsql/bin/pg_ctl -D /app/ME/AppManager12/working/pgsql/data/amdb -l logfile start

/app/ME/AppManager12/working/bin/initPGSQLDB.sh ran to completion



I see this in the /app/ME/AppManager12/working/logs/amdb.out

[ 2015-09-10 16:55:22.949 GMT ]:LOG:  could not bind IPv6 socket: Cannot assign requested address
[ 2015-09-10 16:55:22.949 GMT ]:HINT:  Is another postmaster already running on port 15435? If not, wait a few seconds and retry.


But I find it running

[root@dfwlncmstweb-01 logs]# ps -ef|grep post
postgres 14304     1  0 11:55 ?        00:00:00 /app/ME/AppManager12/working/pgsql/bin/postgres -D /app/ME/AppManager12/working/pgsql/data/amdb
postgres 14305 14304  0 11:55 ?        00:00:00 postgres: logger process                                                                       
postgres 14307 14304  0 11:55 ?        00:00:00 postgres: checkpointer process                                                                 
postgres 14308 14304  0 11:55 ?        00:00:00 postgres: writer process                                                                       
postgres 14309 14304  0 11:55 ?        00:00:00 postgres: wal writer process                                                                   
postgres 14310 14304  0 11:55 ?        00:00:00 postgres: autovacuum launcher process                                                          
postgres 14311 14304  0 11:55 ?        00:00:00 postgres: archiver process                                                                     
postgres 14312 14304  0 11:55 ?        00:00:00 postgres: stats collector process                                                              
root     14885 13012  0 12:00 pts/1    00:00:00 grep post


[root@dfwlncmstweb-01 logs]# netstat -an|grep 15435
tcp        0      0 127.0.0.1:15435             0.0.0.0:*                   LISTEN      
unix  2      [ ACC ]     STREAM     LISTENING     6621891 ./.s.PGSQL.15435
[root@dfwlncmstweb-01 logs]# 


When I start the Application server

nohup sh ./startApplicationsManager.sh &

I find this in logs/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:771)
        at jdbc.CreateSchema.init(CreateSchema.java:97)
        at jdbc.CreateSchema.main(CreateSchema.java:107)
        at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:1118)
Thu Sep 10 11:56:35 CDT 2015 :  Mysql daemon is not running on your Linux machine.Please start the daemon and retry
Thu Sep 10 11:56:35 CDT 2015 :  Unable to create database. Exiting Applications Manager

                New to ADSelfService Plus?