I have same problem, only with Postgresql 8.4... I get this problem when
I make any apt-get changes or even synaptic changes...
Here is more detailed output...
Setting up postgresql-common (129ubuntu1) ...
* Starting PostgreSQL 8.4 database server
* The PostgreSQL server failed to start. Please check the log output:
2013-03-20 10:47:48 CET FATAL: could not create shared memory segment: Invalid
argument
2013-03-20 10:47:48 CET DETAIL: Failed system call was shmget(key=5432001,
size=37879808, 03600).
2013-03-20 10:47:48 CET 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 37879808 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.
[fail]
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-common (--configure):
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to postgresql-common in Ubuntu.
https://bugs.launchpad.net/bugs/1054284
Title:
package postgresql-common 129ubuntu1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in “postgresql-common” package in Ubuntu:
Invalid
Bug description:
Setting up postgresql-common (129ubuntu1) ...
* Starting PostgreSQL 9.1 database server
* The PostgreSQL server failed to start. Please check the log output.
[fail]
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing postgresql-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-contrib-9.1:
postgresql-contrib-9.1 depends on postgresql-common (>= 115~); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-contrib-9.1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib:
postgresql-contrib depends on postgresql-contrib-9.1; however:
Package postgresql-contrib-9.1 is not configured yet.
dpkg: error processing postgresql-contrib (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
No apport report written because the error message
indicates its a followup error from a previous failure.
Errors were encountered
while processing:
postgresql-common
postgresql-contrib-9.1
postgresql-contrib
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postgresql-common 129ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu13
AptOrdering:
e17-data: Install
libeet-doc: Install
postgresql-common: Configure
e17-data: Configure
libeet-doc: Configure
Architecture: amd64
Date: Fri Sep 21 14:24:44 2012
ErrorMessage: subprocess installed post-installation script returned error
exit status 1
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64
(20120822.4)
PackageArchitecture: all
SourcePackage: postgresql-common
Title: package postgresql-common 129ubuntu1 failed to install/upgrade:
subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1054284/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp