From: Justin Clift <justin@postgresql.org>
To: Adam Haberlach <adam@newsnipple.com>
Cc: pgsql-general@postgresql.org
Subject: Re: 7.1 on Solaris 8 run failure?
Date: Sun, 15 Apr 2001 15:12:38 +1000
Message-ID: <3AD92DC6.A615F697@postgresql.org> (raw)
References: <20010414191137.A979@newsnipple.com>
Hi Adam,
As other others have pointed out to you, this is because you haven't
configured the shared memory and semaphores settings yet.
There is also an installation guide for PostgreSQL 7.1 on Solaris that
has settings for his, as well as explaining how to get readline and
OpenSSL working.
http://techdocs.postgresql.org/installguides.html#solaris
Regards and best wishes,
Justin Clift
Adam Haberlach wrote:
>
> I've been holding off installing 7.1 on my Solaris machine, since
> it is at home and I didn't want to download it more then once, but
> now that it is released, I've tried, and...
>
> I built straight out of the box, using configure, the initdb seemed
> to work, and now I get:
>
> IpcMemoryCreate: shmget(key=5432001, size=1245184, 03600) failed: Invalid argument
>
> This error can be caused by one of three things:
>
> 1. The maximum size for shared memory segments on your system was
> exceeded. You need to raise the SHMMAX parameter in your kernel
> to be at least 1245184 bytes.
>
> 2. The requested shared memory segment was too small for your system.
> You need to lower the SHMMIN parameter in your kernel.
>
> 3. The requested shared memory segment already exists but is of the
> wrong size. This is most likely the case if an old version of
> PostgreSQL crashed and didn't clean up. The `ipcclean' utility
> can be used to remedy this.
>
> ---
>
> This is on the mostly-stock Solaris that came on my Netra X1 server.
>
> # uname -a
> SunOS snatch 5.8 Generic_108528-06 sun4u sparc SUNW,UltraAX-i2
>
> ...anyone have any ideas?
>
> --
> Adam Haberlach |
> adam@newsnipple.com | http://youlook.org
> http://www.newsnipple.com |
> '88 EX500 '00 >^< |
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: justin@postgresql.org, adam@newsnipple.com
Subject: Re: 7.1 on Solaris 8 run failure?
In-Reply-To: <3AD92DC6.A615F697@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox