From: | "Kakoli Sen" <kakolis(at)cdacb(dot)ernet(dot)in> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Initdb failed in PostgreSQL 7.3.21 |
Date: | 2008-02-18 12:15:05 |
Message-ID: | IAEGJAMPJBBOGKLOGJADAEABCCAA.kakolis@cdacb.ernet.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I install PostgreSQL 7.3.21 successfully with sudo and could start
the postmaster as sudo.
Then I want to initialise my own db as unprivileged user. I run the
following commands:
root# mkdir /usr/local/pgsql/data
root# chown kakolis /usr/local/pgsql/data
root# su kakolis
kakolis$ initdb -D /usr/local/pgsql/data.
The last command gives the following output:
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
creating template1 database in /usr/local/pgsql/data/base/1...
initdb failed.
Where is the problem?
Regards,
Kakoli
________________________________________________________________________
KAKOLI SEN Ph:91-80-25341909/215(Extn. 309)
C-DAC Knowledge Park E-mail:
#1, Old Madras Road kakolis(at)cdacb(dot)ernet(dot)in
Bangalore - 560 038, INDIA kakoli_basu(at)yahoo(dot)co(dot)in
________________________________________________________________________
From | Date | Subject | |
---|---|---|---|
Next Message | T.J. Adami | 2008-02-18 12:18:23 | Vertical and Horizontal Table Partition |
Previous Message | Marek Lewczuk | 2008-02-18 12:14:37 | composite type vs table |