Worked fine for years, closed down last night and now it won't connect
I have tried every method I could, following ALL the tips on here, including watching the video (postgres can't connect)
UAC is off, I deleted all anti virus, re installed 8.4 yet still won't connect
Tried through HM2 and PGAdmin all run as admin
I did note that when I reinstalled at the end it said can't connect to server during installation
I even changed the port to 5433 for ver 9.1
Postgres is allowed through the firewall
So i uninstalled both and reinstalled using the "download a trial" version
When ran it said " could not install postgres"
At a loss what to try next as I have ran out of ideas
HELP PLEASE, as i support 100 guys who use HM2 am at a loss of what the problem could be
The pic is the error when i try to connect through PGadmin
The 2nd Pic is when trying to run through HM1
Below is the install error output
Output folder: C:\Program Files (x86)\PSQLINSTALL
top level install dir -->C:
Is admin account
fs=NTFS
.NET found
Extract: TestFirewall.exe... 100%
Extract: TestFirewall.exe.config... 100%
Antivirus Installed: False
test antivirus returned 0
seclogon error status: 0
seclogon status: 4
firewall enabled: 1
firewall port 5432 enabled: 1
port 5432 already enabled
postgresql error status: 1060
postgresql status: 0
starting pgsql-8.3
postgresql error status: 1060
postgresql status: 0
postgresql error status: 1060
postgresql status: 0
starting postgresql-8.4
postgresql error status: 1060
postgresql status: 0
postgres installdir: C:\Program Files (x86)\PSQLINSTALL
==================== running PsqlTestClient
try userid: postgres
try pass: postgrespass
try pass: postgrespass
Connection to database failed: -->could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
<--error
1
testclient return status: 1
testclient return from file: 1
==================== finished PsqlTestClient
granting write permission on top level postgres directory
found dir
try rename C:\PostgreSQL --> C:\PostgreSQL-prev-2014-24-Mar-18-27-42
Create folder: C:\PostgreSQL-prev-2014-24-Mar-18-27-42
Moving files: C:\PostgreSQL\*.* to C:\PostgreSQL-prev-2014-24-Mar-18-27-42\
Remove folder: C:\PostgreSQL\
renamed dir
wrote testfile
Create folder: c:\postgreSQL
Execute: "C:\Program Files (x86)\PSQLINSTALL\postgres84.exe" --mode unattended --superpassword postgrespass --prefix c:\postgreSQL --datadir c:\postgreSQL\data
postgres installdir: C:\Program Files (x86)\PSQLINSTALL
==================== running PsqlTestClient
try userid: postgres
try pass: postgrespass
try pass: postgrespass
Connection to database failed: -->server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
<--error
1
testclient return status: 1
testclient return from file: 1
==================== finished PsqlTestClient