initdb problem on Windows XP Home

From: adurrant(at)cogeco(dot)ca
To: pgsql-general(at)postgresql(dot)org
Subject: initdb problem on Windows XP Home
Date: 2006-12-01 03:19:23
Message-ID: 456f9f3b.192.176.13740@cogeco.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Again,

I posted earlier about a problem installing 8.1.5 on Windows XP Home. THat message was delayed, so it likely will not
show up.

THe problem is occuring on execution of initdb. I skipped the cluster creation in the installation so that I could run
it manually, but it made no difference.

The contents of the temp file for the initdb is:

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory C:/Program Files/PostgreSQL/8.1/data ... ok
creating subdirectories ... initdb: could not create directory "C:/Program Files": File exists
initdb: removing contents of data directory "C:/Program Files/PostgreSQL/8.1/data"

I tried specifying a folder that doesn't exist, and then I get a permissions error. Fine, I logged into the system
under the restricted account and tried running initdb again. However, same results. I tried specifying a folder that
doesn't already exist, but of course the restricted user does not have access to the C: drive directly. If I create a
folder under C:, e.g. C:\postgres_db_cluster, and then try to run initdb -D C:\postgres_db_cluster I get the same
results, except this time the log reads
creating subdirectories ... initdb: could not create directory "C:/postgres_db_cluster": File exists
initdb: removing contents of data directory "C:/postgres_db_cluster"

Has anyone encountered this before? If so, how do I get past this? I really need to get the database going. Any help
you can offer will be most appreciated.

Thank you.
Alex.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Zagerholm 2006-12-01 08:18:30 Tsearch2 - Error using tsquery object in GROUP BBY queries
Previous Message Dave Bodenstab 2006-12-01 00:42:32 Re: Create index on array element?