PDA

View Full Version : Unable to install HM1 - connection to DB failed



Overtoon
01-20-2012, 06:43 AM
Hello,

After recently formatting my computer I've tried to reinstall HM1, but keep getting this error message:

-------------------------
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: 1
starting seclogon
seclogon error status: 0
seclogon status: 4
firewall enabled: 0
firewall not 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\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
no existing install dir
wrote testfile
Delete file: C:\Program Files\testfile
Extract: postgresql-8.4.1-1-windows.exe... 100%
Execute: "C:\Program Files\PSQLINSTALL\postgresql-8.4.1-1-windows.exe" --mode unattended --superpassword postgrespass
postgres installdir: C:\Program Files\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

--------------------------------------
I'm using Win7pro, and AVG as anti-virus software.

I've followed the steps in the faq:
- disabled User account control
- enabled secundairy log-in
- disabled windows firewall
- disabled AVG internet security 2011 firewall
- after uninstalling, used the command prompt "net user postgres /delete" before reinstalling

I've tried different versions of Postgres, but none of them seem to work. Could someone help me plz?

netsrak
01-20-2012, 09:52 AM
Please try to install Postgresql 8.2 from http://ftp.postgresql.org/pub/binary/v8.2.23/win32/postgresql-8.2.23-1.zip
Unzip the file to a temporary folder and start the installation from this folder.

Overtoon
01-24-2012, 05:46 AM
Thank, this works for me.

Are there any disadvantages using an older version of Postgresql ?

netsrak
01-24-2012, 08:40 AM
Not really, maybe a little bit less performance but not noticeable. Its just based on an older installer which runs better on some systems. It is regularly updated as the newer releases so it is safe to use it.