Thread: initdb problem at postgres install

initdb problem at postgres install

From
kalyanaraman rajaraman
Date:
use RHEL 3.0 and want to install postgresql 7.4.6
server (on a Compaq notebook). I have problems even at
install.
The following is the problem reported of initdb
command at shell:

-bash-3.00$ initdb -D /var/lib/pgsql/data -W template1
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
ta_IN.UTF-8.
creating directory template1... ok
creating directory template1/base... ok
creating directory template1/global... ok
creating directory template1/pg_xlog... ok
creating directory template1/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in template1/base/1... ok
initializing pg_shadow... ok
Enter new superuser password:
Enter it again:
setting password...
initdb: The password file wasn't generated. Please
report this problem.
initdb: failed
initdb: removing data directory "template1"

Please offer suggestion to install and start
postgresql
REgards
Rajaraman




__________________________________________________________
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos
http://in.photos.yahoo.com

Re: initdb problem at postgres install

From
Tom Lane
Date:
kalyanaraman rajaraman <egovernance2005@yahoo.co.in> writes:
> -bash-3.00$ initdb -D /var/lib/pgsql/data -W template1
> 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
> ta_IN.UTF-8.
> creating directory template1... ok

Not sure if this explains your problem, but you definitely don't want
that "template1" on the initdb command line.

            regards, tom lane