Re: initdb fails in win xp

Поиск
Список
Период
Сортировка
От Kris Kewley
Тема Re: initdb fails in win xp
Дата
Msg-id 16ED33C4-1BE8-43A1-A83E-BD352A7A0E13@gmail.com
обсуждение исходный текст
Ответ на initdb fails in win xp  (Bala senthil <bsenthil@ymail.com>)
Список 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@ymail.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
 
 

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Adam Gentz"
Дата:
Сообщение: Currval and transactions.
Следующее
От: Lonni J Friedman
Дата:
Сообщение: auto-increment integer field for each row