Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group