Instead of executing the command from root ...login as postgres user and try
like
su - postgres
----- Original Message -----
From: "Paolo De Simone" <pdesimone@infocall.it>
To: <pgsql-admin@postgresql.org>
Sent: Tuesday, February 21, 2006 5:34 PM
Subject: [ADMIN] problems to install PostgreSQL
> Hello all,
>
> i'm trying to install postgresql 8.1.3
> on AIX 5.2 RISC 6000
>
> the steps
> - ./configure
> - gmake
> - gmake install
>
> are OK
>
> so i created /usr/local/pgsql/data
> but when ran
> - initdb -D /usr/local/pgsql/data
>
> had the following result :
>
> "
> 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 en_US.
> The default database encoding has accordingly been set to LATIN1.
>
> fixing permissions on existing directory /usr/local/pgsql/data ... 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_xlog/archive_status ... ok
> creating directory /usr/local/pgsql/data/pg_clog ... ok
> creating directory /usr/local/pgsql/data/pg_subtrans ... ok
> creating directory /usr/local/pgsql/data/pg_twophase ... ok
> creating directory /usr/local/pgsql/data/pg_multixact/members ... ok
> creating directory /usr/local/pgsql/data/pg_multixact/offsets ... ok
> creating directory /usr/local/pgsql/data/base ... ok
> creating directory /usr/local/pgsql/data/base/1 ... ok
> creating directory /usr/local/pgsql/data/pg_tblspc ... ok
> selecting default max_connections ... 10
> selecting default shared_buffers ... 50
> creating configuration files ... ok
> creating template1 database in /usr/local/pgsql/data/base/1 ... child
> process was terminated by signal 11
> initdb: removing contents of data directory "/usr/local/pgsql/data"
> "
>
> I have repeated the installation steps for
> 8.1.0, 8.1.1, 8.1.2 versions
> but I obtained the same result
>
>
> Many thanx to any that can help.
>
>
>
> Greetings
> paolo
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>