Обсуждение: pg_shadow [1] Bus error (core dumped)

Поиск
Список
Период
Сортировка

pg_shadow [1] Bus error (core dumped)

От
"Forensic Labs."
Дата:
Hi List,

I've just tried to initdb on a new installation of 7.3.9 which resulted
in this output:

$ 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.

The database cluster will be initialized with locale C.

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... ok
creating configuration files... ok
initializing pg_shadow... [1]   Bus error (core dumped)
"${PGPATH}/postg...

initdb failed.

The installation is running on a 4 x 125MHz (Ross HyperSparc) SS20 with
512Mb RAM. PostgreSQL was compiled from source using GNU Make 3.80 using
the default configuration.

Can anyone help me out with this one?

--
Regards,

William.

Re: pg_shadow [1] Bus error (core dumped)

От
Tom Lane
Дата:
"Forensic Labs." <wgu@forensic-labs.co.uk> writes:
> initializing pg_shadow... [1]   Bus error (core dumped)

> Can anyone help me out with this one?

Can you provide a stack trace from that core dump?

(You'll need to run initdb with --noclean option so that it doesn't wipe
the data directory, else you lose the core file along with the rest of
the data directory.)

What compiler did you use?

            regards, tom lane