I have an old Mac Mini that I'd like to put up a low-yield Rails app onto to learn about the back end. I appear to have successfully used homebrew to install postgresql and am failing at the initdb stage:
initdb /usr/local/pgsql/data/
FATAL ... Failed system call was shmget(key=1, size=1900544, 03600)
OK, reading up on stackoverflow and here points me to creating a conf file:
sudo vi /etc/sysctl.conf
kern.sysv.shmmax=4194304
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=65536
Rebooting the Leopard machine, I attempt to redo the initdb command above and it appears that the value I put in the conf file is not anything above.
sysctl kern.sysv.shmmax => 4194304
So, to my untrained eye, it appears that my shared memory conf file is not working? What am I not understanding?