Re: [GENERAL] 6.4.2 install on sparc solaris 2.6 - Mailing list pgsql-general

From Aaron Holtz
Subject Re: [GENERAL] 6.4.2 install on sparc solaris 2.6
Date
Msg-id Pine.LNX.4.10.9906210731030.21741-100000@blacker.bright.net
Whole thread Raw
In response to Re: [GENERAL] 6.4.2 install on sparc solaris 2.6  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List 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@bright.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
>
>
>


pgsql-general by date:

Previous
From: Jochen Scharrlach
Date:
Subject: GROUP BY and empty queries
Next
From: Grigory Kljuchnikov
Date:
Subject: Re: [GENERAL] 6.4.2 install on sparc solaris 2.6