initDB problem


Read With Formatting | Free Open Source Tutorials Account

PostgreSQL
Thread: initDB problem


musicfanz
Hi all,

I'm new to PostgreSQL and have experienced quite a number of problems when installing this.

I'm currently using PostgreSQL 7.4.5 on Cygwin (Win2K Prof).
Before executing the initdb command, I run the ipc-daemon& and the output shown is [1] 1132

Qn: How do i know if this is indeed running in the background??

The problem comes when I'm executing the initdb command:
initdb -D /usr/local/pgsql/data -W -E Latin1

But the following output is shown:
The files belonging to this database system will be owned by user "Administrator
".
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
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... Signal 12

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
[1]+ Done ipc-daemon


I'm not sure wat the problem may be...pls help. Thanks.

Rgds,
Tracy