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

initdb failing !

From: S R <irq7service(at)yahoo(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Cc: irq7service(at)yahoo(dot)com
Subject: initdb failing !
Date: 2004-07-26 01:51:15
Message-ID: 20040726015115.37311.qmail@web50406.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
I am trying to (for the first time) setup PostgreSQL
(version 7.4.3) on my windows 2000 box. I have cygwin
(version 1.5.10) installed and running. However, when
I give "initdb -D /usr/local/pgsql/data" command in a
cygwin window, I get an error "initdb failed".
Following is the dump on the screen (when the command
is run with -d option):

-------------------------------------------------
$ initdb -D /usr/local/pgsql/data -d
Running in debug mode.

initdb: internal variables:
  PGDATA=/usr/local/pgsql/data
  datadir=/usr/share/postgresql
  PGPATH=/usr/bin
  ENCODING=
  ENCODINGID=0
  POSTGRES_SUPERUSERNAME=Jaguar
  POSTGRES_BKI=/usr/share/postgresql/postgres.bki
 
POSTGRES_DESCR=/usr/share/postgresql/postgres.descrip
 
POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgres
 
PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sampl
 
PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.s
The files belonging to this database system will be
own
This user must also own the server process.

The database cluster will be initialized with locale
C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
2
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in
/usr/local/pgsql/data/ba
IpcMemoryCreate(size=950272)
Signal 12

initdb: failed
initdb: removing data directory
"/usr/local/pgsql/data"

--------------------------------------------
Any pointers ? It will be great help.

Thanks,
SR


		
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

Responses

pgsql-cygwin by date

Next:From: mike gDate: 2004-07-26 02:32:09
Subject: Re: initdb failing !
Previous:From: S RDate: 2004-07-26 01:37:01
Subject: initdb failing ?

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