kernel versions 2.6.32-42* have a reduced SHMMAX kernel parameter (don't know 
why).
on my laptop it was 256MiB now it's 32MiB.
this is to small to start the postgresql server in it's default configuration.

to verify please try to start postgresql by hand. it will complain about SHMMAX.
or try to start an older 2.6.32-41* kernel. under this kernel the postgresql 
server should start as normal.

to solve the problem you have to increase SHMMAX, e.g. (64MiB) : 
# echo 67108864 > /proc/sys/kernel/shmmax

to make this permanent you can put a file in /etc/sysctl.d/, e.g.: 
# echo "kernel.shmmax = 67108864" > /etc/sysctl.d/60-shmmax.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1041206

Title:
  package postgresql-8.4 8.4.13-0ubuntu10.04 failed to install/upgrade:
  sub-processo script post-installation instalado retornou estado de
  saída de erro 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-8.4/+bug/1041206/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to