Question
Accenture
IN
Last activity: 2 Apr 2023 8:11 EDT
Pega 8.7 personal edition installation error-unable to connect to db
Below my log file details....
Targets:Initialization,Database Server Installation,Data Load,Configuration,PRPC Launching Buildfile: C:\Users\User\Downloads\.\pegaGuiInstallerTemp\build.xml
Initialization: [echo] Beginning installation of Pega Platform 8.7.0 Personal Edition -- this process should take about 5-10 minutes ... [unzip] Expanding: C:\Users\User\Downloads\pegaGuiInstallerTemp\PersonalEdition.zip into C:\PRPCPersonalEdition [echo] Configuring Tomcat (Setting Java Home and Catalina Home)... [replace] Replaced 0 occurrences in 0 files. [replace] Replaced 1 occurrences in 1 files. [replace] Replaced 2 occurrences in 1 files. [replace] Replaced 1 occurrences in 1 files.
Below my log file details....
Targets:Initialization,Database Server Installation,Data Load,Configuration,PRPC Launching Buildfile: C:\Users\User\Downloads\.\pegaGuiInstallerTemp\build.xml
Initialization: [echo] Beginning installation of Pega Platform 8.7.0 Personal Edition -- this process should take about 5-10 minutes ... [unzip] Expanding: C:\Users\User\Downloads\pegaGuiInstallerTemp\PersonalEdition.zip into C:\PRPCPersonalEdition [echo] Configuring Tomcat (Setting Java Home and Catalina Home)... [replace] Replaced 0 occurrences in 0 files. [replace] Replaced 1 occurrences in 1 files. [replace] Replaced 2 occurrences in 1 files. [replace] Replaced 1 occurrences in 1 files.
Database Server Installation: [exec] Result: -1073741515 [exec] Result: -1073741515 [echo] [echo] Waiting for Postgres to start... Feb 11, 2022 7:02:14 PM 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:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) 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
Unable to connect to database -- will retry in 1 second... Feb 11, 2022 7:02:17 PM 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:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) 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
Unable to connect to database -- will retry in 1 second... Feb 11, 2022 7:02:20 PM 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:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) 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
Unable to connect to database -- will retry in 1 second... Feb 11, 2022 7:02:23 PM 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:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) 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
Unable to connect to database -- will retry in 1 second... Feb 11, 2022 7:02:26 PM 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:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1264) 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
Unable to connect to database -- will retry in 1 second...
BUILD FAILED C:\Users\User\Downloads\pegaGuiInstallerTemp\build.xml:164: Unable to connect to database within 15 seconds.
Total time: 2 minutes 3 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)