On Sun, Dec 9, 2012 at 10:29 PM, Behrang Saeedzadeh <[email protected]> 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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>sysctl</string> <key>ProgramArguments</key> <array> <string>/usr/sbin/sysctl</string> <string>-w</string> <string>kern.sysv.shmmax=1073741824</string> <string>kern.sysv.shmall=1073741824</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-users
