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:37:01
Message-ID: 20040726013702.35105.qmail@web50406.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
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

pgsql-cygwin by date

Next:From: S RDate: 2004-07-26 01:51:15
Subject: initdb failing !
Previous:From: mike gDate: 2004-07-24 03:44:38
Subject: Re: "initdb: failed" (invalid argument)?????????????

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