I have the same problem with latest LTS Ubuntu, and the proper solution is to set BOTH SHMMAX and SHMALL to the same value, the best is ¼ of total memory.
kernel.shmmax = xxx kernel.shmall = xxx Still, I would consider this an real bug, especially because the postgres error is misleading and incomplete. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/264336 Title: pgsql fails to start due to shared buffer setting greater than kernel allows To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/264336/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs