Comment 2 for bug 264336

Revision history for this message
Nordisk (kristiina) wrote :

Automatic upgrades on Ubuntu 8.10 i386 desktop failed with:

Setting up postgresql-8.3 (8.3.5-0ubuntu8.10) ...
 * Starting PostgreSQL 8.3 database server
 * The PostgreSQL server failed to start. Please check the log output:
2008-11-28 18:50:00 CET LOG: could not load root certificate file "root.crt": no SSL error reported
2008-11-28 18:50:00 CET DETAIL: Will not verify client certificates.
2008-11-28 18:50:00 CET FATAL: could not create shared memory segment: Invalid argument
2008-11-28 18:50:00 CET DETAIL: Failed system call was shmget(key=5432001, size=38207488, 03600).
2008-11-28 18:50:00 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 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.
                                                                                                                                                 [fail]
invoke-rc.d: initscript postgresql-8.3, action "start" failed.
dpkg: error processing postgresql-8.3 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)