I can't initialize

Started by Fernando Schutzabout 25 years ago2 messagesbugs
Jump to latest
#1Fernando Schutz
fschutz@univel.br

This error ocurs when I've tried to run /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data:
------------------------------------------------------------------------------------

This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on pre-existing data directory /usr/local/pgsql/dados/
Creating database system directory /usr/local/pgsql/dados//base
Creating database XLOG directory /usr/local/pgsql/dados//pg_xlog
Creating template database in /usr/local/pgsql/dados//base/template1
ERROR: Error: unknown type 'ame'.

ERROR: Error: unknown type 'ame'.

Creating global relations in /usr/local/pgsql/dados//base
ERROR: Error: unknown type 'ame'.

ERROR: Error: unknown type 'ame'.

Adding template1 database to pg_database
/usr/local/pgsql/bin/initdb: line 481: 1109 Falha de segmentação "$PGPATH"/postgres $BACKENDARGS template1 <"$TEMPFILE"

initdb failed.
Removing /usr/local/pgsql/dados/.
rm: não foi possível remover diretório `/usr/local/pgsql/dados': Permissão negada
Failed.
Removing temp file /tmp/initdb.1076.
/bin/nice: /usr/local/pgsql/~bin/initdb: Arquivo ou diretório não encontrado

Please, I'm in a hurry.
Thanks.
Fernando.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Fernando Schutz (#1)
Re: I can't initialize

Fernando Schutz writes:

This error ocurs when I've tried to run /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data:
------------------------------------------------------------------------------------

This database system will be initialized with username "postgres".
This user will own all the data files and must also own the server process.

Fixing permissions on pre-existing data directory /usr/local/pgsql/dados/
Creating database system directory /usr/local/pgsql/dados//base
Creating database XLOG directory /usr/local/pgsql/dados//pg_xlog
Creating template database in /usr/local/pgsql/dados//base/template1
ERROR: Error: unknown type 'ame'.

Update to 7.1 or search the archives for the fix. (Searching for the
error message should provide the answer.)

--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/