Thread: initdb failing ?

initdb failing ?

From
S R
Date:
I am trying to (for the first time) setup PostgreSQL
on my windows 2000 box. I haev cygwin 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!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail