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

Postgresql installation-initdb failed

From: AJIT K KADARI <akada005(at)odu(dot)edu>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Postgresql installation-initdb failed
Date: 2004-12-06 06:12:34
Message-ID: OFCE000714.6FB2B9D0-ON85256F62.00221C47-85256F62.00221C68@notes.odu.edu (view raw or flat)
Thread:
Lists: pgsql-cygwin



Hi,

Can anybody with good knowledge on Postgresql installation on Windows XP
using Cygwin, please help me. I have installed cygwin, run

cygserver-config

both cygserver and postmaster are running as per the messages below. And no
changes have been made to postgresql.conf or any configuration files, and i
am including the version of postgresql below.

 Thanks in advance,
 ajit
>
>
> postgres(at)AKA ~
> $ psql --version
> psql (PostgreSQL) 7.4.5
> contains support for command-line editing
>
> postgres(at)AKA ~
> $ cygrunsrv -Q cygserver
> Service cygserver exists
> Type                : Own Process
> Current State       : Running
> Controls Accepted   : Accept Stop
>
> postgres(at)AKA ~
> $ cygrunsrv -Q postmaster
> Service postmaster exists
> Type                : Own Process
> Current State       : Running
> Controls Accepted   : Accept Stop, Accept Shutdown
>
> postgres(at)AKA ~
> $ initdb -d -D /var/postgresql/data
> Running in debug mode.
>
> initdb: internal variables:
>   PGDATA=/var/postgresql/data
>   datadir=/usr/share/postgresql
>   PGPATH=/usr/bin
>   ENCODING=
>   ENCODINGID=0
>   POSTGRES_SUPERUSERNAME=postgres
>   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
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> fixing permissions on existing directory /var/postgresql/data... ok
> creating directory /var/postgresql/data/base... ok
> creating directory /var/postgresql/data/global... ok
> creating directory /var/postgresql/data/pg_xlog... ok
> creating directory /var/postgresql/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 /var/postgresql/data/base/1... DEBUG:
> invoking I
> pcMemoryCreate(size=1081344)
> Signal 12
>
> initdb: failed
>
> postgres(at)AKA ~
> $ initdb -d -D /tmp/atest2
> Running in debug mode.
>
> initdb: internal variables:
>   PGDATA=/tmp/atest2
>   datadir=/usr/share/postgresql
>   PGPATH=/usr/bin
>   ENCODING=
>   ENCODINGID=0
>   POSTGRES_SUPERUSERNAME=postgres
>   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
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /tmp/atest2... ok
> creating directory /tmp/atest2/base... ok
> creating directory /tmp/atest2/global... ok
> creating directory /tmp/atest2/pg_xlog... ok
> creating directory /tmp/atest2/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 /tmp/atest2/base/1... DEBUG:  invoking
> IpcMemoryC
> reate(size=1081344)
> Signal 12
>
> initdb: failed
> initdb: removing data directory "/tmp/atest2"
>
> postgres(at)AKA ~
> $


Responses

pgsql-cygwin by date

Next:From: SehatRosnyDate: 2004-12-06 10:33:48
Subject: Postgres Database Design Issues in Tablespace
Previous:From: =?ISO-8859-1?Q?Kasimir_M=FCller?=Date: 2004-12-05 10:13:12
Subject: postgresql-cygwin-windowsXP

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