6.5beta to 6.5 update fails on Solaris 2.7

Поиск
Список
Период
Сортировка
От Ivor Durham
Тема 6.5beta to 6.5 update fails on Solaris 2.7
Дата
Msg-id 3769EFDE.8DB94983@thegrid.net
обсуждение исходный текст
Список pgsql-ports
Hi. I have just built the latest 6.5 release on Solaris 2.7 with gcc
2.8.1 on a SPARCstation 5 with 96Mb of memory. I have already posted a
bug via the browser about a compilation failure in pl/plpgsql/gram.l.
However, having resolved that, the postmaster fails to acquire some
shared memory when launched. This worked fine with the beta release for
which I acquired the pre-built binaries. This time, the pre-built binary
was not available so I built it locally using all the default options
for ./configure.

The failure:

IpcMemoryCreate: shmget failed (Invalid argument) key=5432001,
size=1073152, permission=600
FATAL 1:  ShmemCreate: cannot create region

It was launched via:

#!/bin/sh

PGSQL=/usr/local/pgsql

if [ -x $PGSQL/bin/postmaster ]; then
    (su pgsql -c "$PGSQL/bin/postmaster -i -S -D $PGSQL/data >>
$PGSQL/server.lo
g" && echo "Started PostreSQL server.") &> /dev/console
fi

What am I missing?

Thanks.

Ivor Durham

В списке pgsql-ports по дате отправления:

Предыдущее
От: Paibool Prueksunand
Дата:
Сообщение: Can't compile Postgres-6.5
Следующее
От: "Pedro J. Lobo"
Дата:
Сообщение: Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)