Skip site navigation (1) Skip section navigation (2)

Re: initdb fails in win xp

From: Kris Kewley <kris(dot)kewley(at)gmail(dot)com>
To: Bala senthil <bsenthil(at)ymail(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: initdb fails in win xp
Date: 2009-12-03 00:46:57
Message-ID: 16ED33C4-1BE8-43A1-A83E-BD352A7A0E13@gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Have you verified you have the permissions to execute in that dir?
What happens if you try executing postgres directly?


On 2-Dec-09, at 7:52, Bala senthil <bsenthil(at)ymail(dot)com> wrote:

> Today i installed postgres 8.3.4-1 version in my windows XP machine.
>
> Installation went of smoothly without any issue.
>
> While i tried to create the database cluster using initdb command i  
> got the following error.
>
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --------------------------------------------------------------------
> C:\postgres\bin>initdb -d -D c:\postgres\data
> Running in debug mode.
> Running in debug mode.
> VERSION=8.3.4
> PGDATA=c:/postgres/data
> share_path=C:/postgres/share
> PGPATH=C:/postgres/bin
> POSTGRES_SUPERUSERNAME=balas
> POSTGRES_BKI=C:/postgres/share/postgres.bki
> POSTGRES_DESCR=C:/postgres/share/postgres.description
> POSTGRES_SHDESCR=C:/postgres/share/postgres.shdescription
> POSTGRESQL_CONF_SAMPLE=C:/postgres/share/postgresql.conf.sample
> PG_HBA_SAMPLE=C:/postgres/share/pg_hba.conf.sample
> PG_IDENT_SAMPLE=C:/postgres/share/pg_ident.conf.sample
> The files belonging to this database system will be owned by user  
> "balas".
> This user must also own the server process.
> The database cluster will be initialized with locale English_United  
> States.1252.
> The default database encoding has accordingly been set to WIN1252.
> The default text search configuration will be set to "english".
> creating directory c:/postgres/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 10
> selecting default shared_buffers/max_fsm_pages ... 400kB/20000
> creating configuration files ... ok
> creating template1 database in c:/postgres/data/base/1 ... initdb:  
> could not execute command ""C:/postgres/bin/postgres.exe" --boot
>  -F -d 5": No error
> initdb: removing data directory "c:/postgres/data"
>
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --------------------------------------------------------------------
>
> Note: Even in the reinstalled program i got this same issue.
>
> Can someone help us in resolving this issue.
>
> Thanks,
> Bala
>
>
>

In response to

pgsql-novice by date

Next:From: Lonni J FriedmanDate: 2009-12-03 22:39:58
Subject: auto-increment integer field for each row
Previous:From: Adam GentzDate: 2009-12-02 21:07:46
Subject: Currval and transactions.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group