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:1232)
Mon Oct 24 13:01:57 UTC 2016 : Mysql daemon is not running on your Linux machine.Please start the daemon and retry
Mon Oct 24 13:01:57 UTC 2016 : Unable to create database. Exiting Applications Manager
-bash-4.1$ /AppManager12/working/pgsql/bin/postgres -D /AppManager12/working/pgsql/data/amdb
[ 2016-10-24 13:39:56.960 GMT ]:LOG: could not create IPv6 socket: Address family not supported by protocol