package postgresql-8.4 8.4.4-0ubuntu10.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
During upgrade from 9.10 Karmic to 10.04 Lucid. it suddenly come up with this problem, saying it was going to restore the original system but just hung. I seem to now have some kind of hybrid, between 9.10 & 10.04.
This is on a mackbook 2.1
I think it is i386.
Now I get this bug every time I try to update anything.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: postgresql-8.4 8.4.4-0ubuntu10.04
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 11 19:12:02 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: postgresql-8.4
Title: package postgresql-8.4 8.4.4-0ubuntu10.04 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Relevant error:
Setting up postgresql-8.4 (8.4.4- 0ubuntu10. 04) ...^M
* Starting PostgreSQL 8.4 database server^M
* The PostgreSQL server failed to start. Please check the log output:^M
2010-08-11 19:12:01 NZST FATAL: could not create shared memory segment: Invalid argument^M
2010-08-11 19:12:01 NZST DETAIL: Failed system call was shmget(key=5432001, size=36880384, 03600).^M
2010-08-11 19:12:01 NZST HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 36880384 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 103).^M
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.^M
The PostgreSQL documentation contains more information about shared memory configuration.^M
...fail!