Re: [GENERAL] 6.4.2 install on sparc solaris 2.6

From: Aaron Holtz <aholtz(at)bright(dot)net>
To: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
Cc: Lauri Posti <lauri(at)peak(dot)edu(dot)ee>, pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] 6.4.2 install on sparc solaris 2.6
Date: 1999-06-21 11:31:28
Message-ID: Pine.LNX.4.10.9906210731030.21741-100000@blacker.bright.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Put this at the bottom of /etc/system and then reboot:

set semsys:seminfo_semmap=64
set semsys:seminfo_semmni=4096
set semsys:seminfo_semmns=4096
set semsys:seminfo_semmnu=4096
set semsys:seminfo_semume=64
set semsys:seminfo_semmsl=100
set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmmin=100
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=100

This should create the shared memory segments you need to run with the -B
option.

--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Specialist
Email: aholtz(at)bright(dot)net
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------

On Mon, 21 Jun 1999, Herouth Maoz wrote:

>At 22:38 +0300 on 20/06/1999, Lauri Posti wrote:
>
>
>> I'm trying to install pg6.4.2 on Sparc Soalris 2.6 with no success.
>> (6.4.2 because python interface to LO doesn't work in 6.5).
>>
>> 6.4.2 compliles fine [with gcc version egcs-2.91.66 19990314 (egcs-1.1.2
>> release)]. initdb runs ok, but pstmaster -i :
>>
>> $postmaster -i
>> IpcMemoryCreate: shmget failed (Invalid argument) key=5432010, size=24588,
>> permission=700
>> IpcMemoryIdGet: shmget failed (Invalid argument) key=5432010, size=24588,
>> permission=0
>> IpcMemoryAttach: shmat failed (Invalid argument) id=-2
>> FATAL 1: AttachSLockMemory: could not attach segment
>
>Perhaps your kernel is configured differently than ours, but we have
>compiled and are running 6.4.2 on Solaris 2.6 (Sparc) without a hitch. So,
>either there is not enough shared memory in your kernel, or it's something
>to do with the compiler - we used the commercial Sun c compiler.
>
>Herouth
>
>--
>Herouth Maoz, Internet developer.
>Open University of Israel - Telem project
>http://telem.openu.ac.il/~herutma
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Grigory Kljuchnikov 1999-06-21 11:52:05 Re: [GENERAL] 6.4.2 install on sparc solaris 2.6
Previous Message Jochen Scharrlach 1999-06-21 10:51:46 GROUP BY and empty queries