initdb problem "ShmemIndex entry size is wrong"

From: Vladimir Bychkovsky <vladimir(dot)bychkovsky(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: initdb problem "ShmemIndex entry size is wrong"
Date: 2005-03-07 15:20:42
Message-ID: ac2299440503070720521a78f8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I have cross-compiled Postgresql 7.4.7. However, I can't initialized
the database:
-------------------------------------------------
[postgres(at)192 ~]$ initdb /mnt/var/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 /mnt/var/pgsql/data... ok
creating directory /mnt/var/pgsql/data/base... ok
creating directory /mnt/var/pgsql/data/global... ok
creating directory /mnt/var/pgsql/data/pg_xlog... ok
creating directory /mnt/var/pgsql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /mnt/var/pgsql/data/base/1... WARNING:
ShmemIndex entry size is wrong
FATAL: could not initialize lock table "LockTable"

initdb: failed
------------------------------------
I suspect that this is a problem with my configuration... I have a
trimed-down 2.4.28 kernel on a i386 (with uclibc) device with 64MB Ram
and 64 MB flash.

Do I need to setup any special devices, kernel options, or mounts?

Thanks in advance,
Vlad.

P.S. Is this the right mailing list for my post? should I post this else where?

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2005-03-07 16:13:34 Re: initdb problem "ShmemIndex entry size is wrong"
Previous Message Vladimir Bychkovsky 2005-03-05 20:41:04 Re: cross compiling postgresql 8.0.1 -- suggestion