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@xxxxxxxxxxxxxx
Bangalore -
560 038, INDIA
kakoli_basu@xxxxxxxxxxx
________________________________________________________________________