From: | Dennis Clark <dclark1330(at)gmail(dot)com> |
---|---|
To: | Doug Graham <duggram(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Adjusting Shared Memory with sysctl.conf not working? |
Date: | 2009-03-27 23:23:23 |
Message-ID: | 6fb84bdd0903271623w7f6e22b4n267eaf8cb27c7f65@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hi Doug,
I have a very similar configuration to yours, but I was able to install
PostgreSQL successfully through dumb luck; that is, I simply ignored the
advice about the shared memory just to see what would happen. The
installation apparently is smart enough to fix one's environment
automatically now, and I received this nice message telling me to re-boot
and re-run the installer. I did that and everything works just fine. You
may simply want to delete /etc/sysctl.conf and try again.
Good Luck,
Dennis Clark
On Fri, Mar 27, 2009 at 3:05 PM, Doug Graham <duggram(at)gmail(dot)com> wrote:
> I'm trying to install Postresql on my Mac Book Pro which has 4GB ram and
> runs OS X 10.5.6. Postgres won't install because it says I don't have more
> than 32MB of shared memory. So as they tell you in their readme I created a
> file /etc/sysctl.conf with these lines:
>
> kern.sysv.shmmax=16777216
> kern.sysv.shmall=16777216
> kern.sysv.shmmin=1
> kern.sysv.shmmni=4096
> kern.sysv.shmseg=8
>
> Reboot multiple times. Here's what shared memory I have running now:
>
> DougMBP:~ duggram$ sysctl -a | grep shm
> kern.exec: unknown type returned
> kern.sysv.shmall: 16777216
> kern.sysv.shmseg: 8
> kern.sysv.shmmni: 4096
> kern.sysv.shmmin: 1
> kern.sysv.shmmax: 4194304
>
> Which is more than Postgres says is required. Any suggestions on what I
> need to do to get Postgres to install?
>
> Any advice appreciated, Doug
>
--
Dennis M. Clark
OSS Analyst
http://www.nexb.com
http://www.EasyEclipse.org
From | Date | Subject | |
---|---|---|---|
Next Message | Nagle, Gail A (US SSA) | 2009-03-27 23:38:54 | Problem editing pg_hba.conf on Vista |
Previous Message | Tom Lane | 2009-03-27 23:22:18 | Re: Adjusting Shared Memory with sysctl.conf not working? |