Trouble installing PostgreSQL

Alejandro Imass aimass at
Sun Dec 9 20:20:00 PST 2012

On Sun, Dec 9, 2012 at 10:29 PM, Behrang Saeedzadeh <behrangsa at> wrote:
> This is happening on Mountain Lion. After installing postgresql92-server, I
> followed the instructions and I am getting this error:

remove it and use these 2 commands _before_ trying install again

sudo sysctl -w kern.sysv.shmmax=1073741824
sudo sysctl -w kern.sysv.shmall=1073741824

If it fixes your problem you can make the above changes permanent by
adding these lines to the file /Library/LauchDaemons/sysctl.plist
Create the file with the following content if it does not exist:

  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
  <plist version="1.0">

More information about the macports-users mailing list