Question

2
Replies
48
Views
Close popover
Avinash Tankala (AvinashTankala)
Aaseya IT Services Pvt. Ltd
Tech Lead
Aaseya IT Services Pvt. Ltd
ZA
AvinashTankala Member since 2014 2 posts
Aaseya IT Services Pvt. Ltd
Posted: February 12, 2021
Last activity: February 12, 2021

Unable to Install Pega 8.5.1

Output:    

 [exec] Result: 1      [exec] Result: 1 Feb 12, 2021 11:33:46 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:49 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:52 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:55 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:58 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

BUILD FAILED C:\Users\avinash.tankala\Downloads\116897_PE8.5.1\pegaGuiInstallerTemp\build.xml:164: Unable to connect to database within 15 seconds.

Total time: 2 minutes 0 seconds org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:91)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:81)     ... 2 more --- Nested Exception --- org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:81)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398)

Erros:

     [exec] Result: 1      [exec] Result: 1 Feb 12, 2021 11:33:46 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:49 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:52 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:55 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

Feb 12, 2021 11:33:58 AM org.postgresql.Driver connect SEVERE: Connection error:  org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:265)     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)     at org.postgresql.Driver.makeConnection(Driver.java:431)     at org.postgresql.Driver.connect(Driver.java:247)     at java.sql.DriverManager.getConnection(DriverManager.java:664)     at java.sql.DriverManager.getConnection(DriverManager.java:208)     at com.pega.pegarules.util.anttasks.IsDBAvailable.execute(IsDBAvailable.java:112)     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     at org.apache.tools.ant.Task.perform(Task.java:348)     at org.apache.tools.ant.Target.execute(Target.java:435)     at org.apache.tools.ant.Target.performTasks(Target.java:456)     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)     at org.tp23.antinstaller.antmod.Main.runBuild(Main.java:710)     at org.tp23.antinstaller.antmod.Main.startAnt(Main.java:218)     at org.tp23.antinstaller.antmod.Launcher.run(Launcher.java:216)     at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:79)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)     at java.net.Socket.connect(Socket.java:589)     at org.postgresql.core.PGStream.<init>(PGStream.java:62)     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)     ... 25 more

BUILD FAILED C:\Users\avinash.tankala\Downloads\116897_PE8.5.1\pegaGuiInstallerTemp\build.xml:164: Unable to connect to database within 15 seconds.

Total time: 2 minutes 0 seconds org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:91)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398) Caused by: org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:81)     ... 2 more --- Nested Exception --- org.tp23.antinstaller.InstallException: Use logs to find the cause, then correct and run again      at org.tp23.antinstaller.runtime.exe.AntLauncherFilter.exec(AntLauncherFilter.java:81)     at org.tp23.antinstaller.runtime.ExecInstall.exec(ExecInstall.java:88)     at org.tp23.antinstaller.selfextract.SelfExtractor.main(SelfExtractor.java:398)  

 

 

***Edited by Moderator: Pooja Gadige to move from Pega Academy to Product, add platform capability tag, update product version***
Pega Platform 8.5.1 System Administration Installation and Deployment