pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kovaral@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7921: Problem while initializing db..initdb could not create directory..
Date: Wed, 06 Mar 2013 14:59:53 +0000
Message-ID: <E1UDFov-0000gl-RO@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      7921
Logged by:          Vinny
Email address:      kovaral@gmail.com
PostgreSQL version: 9.2.1
Operating system:   Windows 7
Description:        

When I tried to install a product that uses postgres as a database
server,installation fails during the initialization of postgres db..

Error Trace:
<quote>
C:\xyz\bin>call initPgsql.bat 
"C:\xyz\bin\\..\pgsql"
"Creating data directory"
"Grant privileges for data directory using icacls.exe ..."
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
"Running Postgres initdb..."
The files belonging to this database system will be owned by user "xxx".
This user must also own the server process.

The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".

fixing permissions on existing directory C:/xyz/bin/../pgsql/data ... ok

Creating subdirectories ... initdb: could not create directory "C:/xyz":
File Exists

initdb: removing contents of data directory "C:/xyz/bin/../pgsql/data"

Problem while initializing DB. 
</quote>


The actual db dome folder is 'C:/xyz/pgsql'..My question is why pgsql tries
to create directory outside pgsql folder that is already created??



 



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <E1UDFov-0000gl-RO@wrigleys.postgresql.org>
Permalink:  ../E1UDFov-0000gl-RO@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1UDFov-0000gl-RO@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: kovaral@gmail.com
  Subject: Re: BUG #7921: Problem while initializing db..initdb could not create directory..
  In-Reply-To: <E1UDFov-0000gl-RO@wrigleys.postgresql.org>
  References: <E1UDFov-0000gl-RO@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox