Thread: pgsql 7.0.2 initdb on alpha linux 2.2.15

pgsql 7.0.2 initdb on alpha linux 2.2.15

From
Peter Nelson
Date:
Hi

I've successfully installed postgresql-7.0.2 from the sources on an Alpha
machine running Linux 2.2.15 with 128 MB memory, but `initdb` is failing:

postgres@viagra:/usr/local/pgsql$ /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/data
Creating database system directory /usr/local/pgsql/data/base
Creating database XLOG directory /usr/local/pgsql/data/pg_xlog
Creating template database in /usr/local/pgsql/data/base/template1

FATAL: s_lock(20323d40) at spin.c:116, stuck spinlock. Aborting.

FATAL: s_lock(20323d40) at spin.c:116, stuck spinlock. Aborting.

initdb failed.
Removing /usr/local/pgsql/data.
Removing temp file /tmp/initdb.10203.

This was compiled using unpatched source and I am a bit stumped, as it
were...

Thanks for any help.

--
Peter Nelson
Bucks Net Services


Re: pgsql 7.0.2 initdb on alpha linux 2.2.15

From
"David LANDGREN"
Date:
|Hi
|
|I've successfully installed postgresql-7.0.2 from the sources on an Alpha
|machine running Linux 2.2.15 with 128 MB memory, but `initdb` is failing:

Hmm, almost the same setup as me.

[...]
|FATAL: s_lock(20323d40) at spin.c:116, stuck spinlock. Aborting.
|
|initdb failed.
|Removing /usr/local/pgsql/data.
|Removing temp file /tmp/initdb.10203.

I didn't realise it was up to .2 already. Nic Bellamy posted an URI for a
patch to the 7.0.0 source. I don't know if these have been folded into the
main tree yet or not, and I don't know if they apply cleanly to 7.0.2.

In any event this was the same message I received with I tried to build
6.5.2 and 6.5.3 a few months ago. I have yet to try building 7.0.x (waiting
for the dust to settle a bit). Certainly looking forward to getting it
running on my Alpha.

David



Re: pgsql 7.0.2 initdb on alpha linux 2.2.15

From
Nic Bellamy
Date:
On Wed, 14 Jun 2000, David LANDGREN wrote:

> I didn't realise it was up to .2 already. Nic Bellamy posted an URI for a
> patch to the 7.0.0 source. I don't know if these have been folded into the
> main tree yet or not, and I don't know if they apply cleanly to 7.0.2.

http://www.rkirkpat.net/

The patch for 7.0.0 does apply (with a small amount of fuzz) to 7.0.2, and
it's working on my Alpha.

Regards,
    Nic.

-- Nic Bellamy <nic@bellamy.co.nz>
   Director, Bellamy Consulting Ltd.