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

Re: initdb failing !

From: mike g <mike(at)thegodshalls(dot)com>
To: S R <irq7service(at)yahoo(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb failing !
Date: 2004-07-26 02:32:09
Message-ID: 1090809129.20392.4.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hello,

Signal 12 indicates that cygserver is either not running or not in your
path.

The readme included with the postgresql install has the instructions for
setting up cygserver.

Mike
On Sun, 2004-07-25 at 20:51, S R wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

In response to

pgsql-cygwin by date

Next:From: Carlo FlorendoDate: 2004-07-26 05:26:04
Subject: Re: Invalid User ID: 0
Previous:From: S RDate: 2004-07-26 01:51:15
Subject: initdb failing !

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