Unable to connect yet

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Unable to connect yet

Postby zalver » Wed Nov 03, 2010 3:44 am

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?
zalver
 
Posts: 7
Joined: Tue Nov 02, 2010 9:34 pm

Re: Unable to connect yet

Postby kraada » Wed Nov 03, 2010 9:02 am

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?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to connect yet

Postby zalver » Wed Nov 03, 2010 11:24 am

Thanks. I follow the fool's guide of installing PostgreSQL8.4.10 and it works now:)
zalver
 
Posts: 7
Joined: Tue Nov 02, 2010 9:34 pm

Re: Unable to connect yet

Postby kraada » Wed Nov 03, 2010 11:43 am

Glad to hear it :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 31 guests

cron