Page 1 of 1

Unable to connect yet

PostPosted: Wed Nov 03, 2010 3:44 am
by zalver
Hi,
I download PostgreSQL9.0 and it messages "postgresql.conf not found" at the end of the installation. PGAdmin is unable to connect to the server and when I check the event viewer I find the following:

postgres cannot access the server configuration file "D:/Program Files/PostgreSQL/9.0/data/postgresql.conf": No such file or directory

I try to creat such a file with the following content:

listen_addresses = 'localhost' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost', '*' = all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
password_encryption = on

Then I reload the PGAdmin but it still does not work. The event viewer says:

FATAL: "D:/Program Files/PostgreSQL/9.0/data" is not a valid data directory
DETAIL: File "D:/Program Files/PostgreSQL/9.0/data/PG_VERSION" is missing.

I even open the pot 5432 manually and allow the four programs listed to go through the wall, but the pokertracker still does not work, messaging "unbale to connect to this database". So could anyone help me editing the "postgresql.conf" file?

Re: Unable to connect yet

PostPosted: Wed Nov 03, 2010 9:02 am
by kraada
It sounds like the installation didn't work quite right - those files should definitely be installed by default and I'm guessing that even if you add the next one in, there'll be another that you'll need and so on because something in the installation didn't take. What installer did you use?

Re: Unable to connect yet

PostPosted: Wed Nov 03, 2010 11:24 am
by zalver
Thanks. I follow the fool's guide of installing PostgreSQL8.4.10 and it works now:)

Re: Unable to connect yet

PostPosted: Wed Nov 03, 2010 11:43 am
by kraada
Glad to hear it :)