Re: 7.4 on Mac OS X 10.3 (Panther): initdb shmget fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steffen Schmidt <Schmidt(at)EMBL(dot)de>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: 7.4 on Mac OS X 10.3 (Panther): initdb shmget fails
Date: 2003-11-28 22:01:31
Message-ID: 1562.1070056891@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Steffen Schmidt <Schmidt(at)EMBL(dot)de> writes:
> The solution I found was increasing the kernel kern.sysv.shmmax flag
> (i.e. editing the /etc/rc file and rebooting). But this is not a nice
> solution as my older postgres 7.3.4 daemon now doesn't start because of
> the same issue :-( - and I want to keep this daemon for a while

You need to increase shmmax enough to accommodate both. 20meg or so
ought to do it.

regards, tom lane

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Chris Langlois 2003-12-04 02:18:47 darwin x86
Previous Message Karl DeBisschop 2003-11-27 02:27:53 Comments on PostgreSQL client wrapper proposal