Steinpilz0104
09-17-2011, 04:17 AM
Hi a fellow of pokerstrategy.com has problems with his postgres Database. I try to describe what he has done until he got the message at the end of the text:
- everything ran OK until one morning, when he got this message:
Output folder: C:\Program Files\RVG Software\Holdem Manager
Is admin account
Extract: Acid Library.dll... 100%
Extract: Acid Library.snk
Extract: AxInterop.ShockwaveFlashObjects.dll... 100%
.
.
.
(everything goes fine, all items 100% successfully installed)
.
.
.
Extract: Syncfusion.Shared.Base.dll... 100%
Extract: Syncfusion.Shared.Windows.dll... 100%
Extract: Syncfusion.Tools.Base.dll... 100%
Extract: Syncfusion.Tools.Windows.dll... 100%
Extract: Syncfusion.chart.Base.dll... 100%
Extract: log4net.dll... 100%
Extract: zlib.net.dll... 100%
Output folder: C:\Program Files\RVG Software\Holdem Manager\Temp
Output folder: C:\Program Files\RVG Software\Holdem Manager
Create folder: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager\Holdem Manager.lnk
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager\Uninstall Holdem Manager.lnk
Create shortcut: C:\Users\Public\Desktop\HoldemManager.lnk
Created uninstaller: C:\Program Files\RVG Software\Holdem Manager\UninstallHoldemManager.exe
Output folder: C:\Program Files\PSQLINSTALL
top level install dir -->C:\Program Files
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: 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
He corrected and tried to solve the problems with the connection (failed to establish connection with 127.0.0...), however it did not work. At the final he got the message: "Sorry, could not install postgreSQL"
With ping 127.0.0.1; he got the connection, however it didn't work. He tried to uninstall postgres completely, after restart he gets in PG admin and the database recreates itself.
Nowe he has the message below, what can he do to solve the problem?
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?
If you encounter this message, please check if the server you're trying to contact is actually running PostgreSQL on the given port. Test if you have network connectivity from your client to the server host using ping or equivalent tools. Is your network / VPN / SSH tunnel / firewall configured correctly?
For security reasons, PostgreSQL does not listen on all available IP addresses on the server machine initially. In order to access the server over the network, you need to enable listening on the address first.
For PostgreSQL servers starting with version 8.0, this is controlled using the "listen_addresses" parameter in the postgresql.conf file. Here, you can enter a list of IP addresses the server should listen on, or simply use '*' to listen on all available IP addresses. For earlier servers (Version 7.3 or 7.4), you'll need to set the "tcpip_socket" parameter to 'true'.
You can use the postgresql.conf editor that is built into pgAdmin III to edit the postgresql.conf configuration file. After changing this file, you need to restart the server process to make the setting effective.
If you double-checked your configuration but still get this error message, it's still unlikely that you encounter a fatal PostgreSQL misbehaviour. You probably have some low level network connectivity problems (e.g. firewall configuration). Please check this thoroughly before reporting a bug to the PostgreSQL community.
- everything ran OK until one morning, when he got this message:
Output folder: C:\Program Files\RVG Software\Holdem Manager
Is admin account
Extract: Acid Library.dll... 100%
Extract: Acid Library.snk
Extract: AxInterop.ShockwaveFlashObjects.dll... 100%
.
.
.
(everything goes fine, all items 100% successfully installed)
.
.
.
Extract: Syncfusion.Shared.Base.dll... 100%
Extract: Syncfusion.Shared.Windows.dll... 100%
Extract: Syncfusion.Tools.Base.dll... 100%
Extract: Syncfusion.Tools.Windows.dll... 100%
Extract: Syncfusion.chart.Base.dll... 100%
Extract: log4net.dll... 100%
Extract: zlib.net.dll... 100%
Output folder: C:\Program Files\RVG Software\Holdem Manager\Temp
Output folder: C:\Program Files\RVG Software\Holdem Manager
Create folder: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager\Holdem Manager.lnk
Create shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Holdem Manager\Uninstall Holdem Manager.lnk
Create shortcut: C:\Users\Public\Desktop\HoldemManager.lnk
Created uninstaller: C:\Program Files\RVG Software\Holdem Manager\UninstallHoldemManager.exe
Output folder: C:\Program Files\PSQLINSTALL
top level install dir -->C:\Program Files
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: 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
He corrected and tried to solve the problems with the connection (failed to establish connection with 127.0.0...), however it did not work. At the final he got the message: "Sorry, could not install postgreSQL"
With ping 127.0.0.1; he got the connection, however it didn't work. He tried to uninstall postgres completely, after restart he gets in PG admin and the database recreates itself.
Nowe he has the message below, what can he do to solve the problem?
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?
If you encounter this message, please check if the server you're trying to contact is actually running PostgreSQL on the given port. Test if you have network connectivity from your client to the server host using ping or equivalent tools. Is your network / VPN / SSH tunnel / firewall configured correctly?
For security reasons, PostgreSQL does not listen on all available IP addresses on the server machine initially. In order to access the server over the network, you need to enable listening on the address first.
For PostgreSQL servers starting with version 8.0, this is controlled using the "listen_addresses" parameter in the postgresql.conf file. Here, you can enter a list of IP addresses the server should listen on, or simply use '*' to listen on all available IP addresses. For earlier servers (Version 7.3 or 7.4), you'll need to set the "tcpip_socket" parameter to 'true'.
You can use the postgresql.conf editor that is built into pgAdmin III to edit the postgresql.conf configuration file. After changing this file, you need to restart the server process to make the setting effective.
If you double-checked your configuration but still get this error message, it's still unlikely that you encounter a fatal PostgreSQL misbehaviour. You probably have some low level network connectivity problems (e.g. firewall configuration). Please check this thoroughly before reporting a bug to the PostgreSQL community.