Re: Majordomo results: Re: 6A20-D98E-81DE : CONFIRM from pgsql-
deny wrote:
good morning
can you excuse my bad english , i m french!!
i try to install postgreql on mandrake 8 with source version
...
creating template1 database in /usr/local/pgsql/data/base/1...
initdb failed.
i really don t know why initdb failled
You might already have an older version of PostgreSQL installed as RPMs?
- Thomas
Import Notes
Reference msg id not found: 20020223111712.7FDB14759A4@postgresql.orgReference msg id not found: 3C77D2E2.AB6B7A85@monaco.net
good morning
can you excuse my bad english , i m french!!
i try to install postgreql on mandrake 8 with source version
i do
./configure gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
et when i try initdb ; i ve this message:
[postgres@localhost data]$ /usr/local/pgsql/bin/initdb -D
/usr/local/pgsql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
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.
i really don t know why initdb failled
thanks for you advise ...
Import Notes
Reference msg id not found: 20020223111712.7FDB14759A4@postgresql.org | Resolved by subject fallback
deny <deny@monaco.net> writes:
creating template1 database in /usr/local/pgsql/data/base/1...
initdb failed.
i really don t know why initdb failled
Try running initdb with --debug so you can see more debugging output.
(Caution: it might be pretty voluminous; but only the last few lines
are likely to be interesting.)
regards, tom lane