Thread: Fw: Init DB Fails

Fw: Init DB Fails

From
"anil"
Date:
 
----- Original Message -----
From: anil
Sent: Monday, January 17, 2005 7:36 PM
Subject: Init DB Fails

Dear ALL,
FAQ_MSWIN  given me steps for windows version
I followed the steps
 
When I Run the Initdb I get Following error
the Dump is as bellow:
 
================================
$ initdb -D /usr/local/pgsql/data -W -E LATIN1 -d
Running in debug mode.
 
initdb: internal variables:
  PGDATA=/usr/local/pgsql/data
  datadir=/usr/share/postgresql
  PGPATH=/usr/bin
  ENCODING=LATIN1
  ENCODINGID=8
  POSTGRES_SUPERUSERNAME=anil
  POSTGRES_BKI=/usr/share/postgresql/postgres.bki
  POSTGRES_DESCR=/usr/share/postgresql/postgres.description
  POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
  PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
  PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
The files belonging to this database system will be owned by user "anil".
This user must also own the server process.
 
The database cluster will be initialized with locale C.
 
fixing permissions on existing 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
10
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/base/1... DEBUG:  invoking
IpcMemoryCreate(size=1081344)
Signal 12
 
initdb: failed

Re: Fw: Init DB Fails

From
"Mike G."
Date:
Are you sure cygserver is running and in your path?  What windows version is this on?
On Mon, Jan 17, 2005 at 07:50:45PM +0530, anil wrote:
>
> ----- Original Message -----
> From: anil
> To: pgsql-cygwin@postgresql.org
> Sent: Monday, January 17, 2005 7:36 PM
> Subject: Init DB Fails
>
>
> Dear ALL,
> FAQ_MSWIN  given me steps for windows version
> I followed the steps
> http://www.postgresql.org/files/documentation/faqs/text/FAQ_CYGWIN
>
> When I Run the Initdb I get Following error
> the Dump is as bellow:
>
> ================================
> $ initdb -D /usr/local/pgsql/data -W -E LATIN1 -d
> Running in debug mode.
>
> initdb: internal variables:
>   PGDATA=/usr/local/pgsql/data
>   datadir=/usr/share/postgresql
>   PGPATH=/usr/bin
>   ENCODING=LATIN1
>   ENCODINGID=8
>   POSTGRES_SUPERUSERNAME=anil
>   POSTGRES_BKI=/usr/share/postgresql/postgres.bki
>   POSTGRES_DESCR=/usr/share/postgresql/postgres.description
>   POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
>   PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
>   PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
> The files belonging to this database system will be owned by user "anil".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> fixing permissions on existing 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
> 10
> 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/base/1... DEBUG:  invoking
> IpcMemoryCreate(size=1081344)
> Signal 12
>
> initdb: failed