package postgresql-8.3 8.3.8-0ubuntu9.04 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Bug #434518 reported by
Rob Plant
This bug report is a duplicate of:
Bug #264336: pgsql fails to start due to shared buffer setting greater than kernel allows.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-8.3
Automatic update failed. Running Jaunty.
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: postgresql-8.3 8.3.8-0ubuntu9.04
SourcePackage: postgresql-8.3
Title: package postgresql-8.3 8.3.8-0ubuntu9.04 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-15-generic i686
To post a comment you must log in.
Here is more information for anyone looking into the issue:
2009-09-22 11:25:15 MDT FATAL: could not create shared memory segment: Invalid argument
2009-09-22 11:25:15 MDT DETAIL: Failed system call was shmget(key=5432001, size=38207488, 03600).
2009-09-22 11:25:15 MDT 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 38207488 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 103).
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.
The PostgreSQL documentation contains more information about shared memory configuration.
I will also say that I am using a Dell mini 9 and the kernel could be configured as such perhaps causing issues. Just an FYI.