PostgreSQL is not Responding

Bug #508290 reported by Iven Mathew Simon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql-8.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: postgresql-8.4

On my Lamp Server, the PostgreSQL is not working and I can't do any task on it. I can't remove, or install it.

ProblemType: Package
Architecture: i386
Date: Sat Jan 16 12:11:23 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed pre-removal script returned error exit status 9
Package: postgresql-8.4 8.4.2-0ubuntu9.10
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic-pae
SourcePackage: postgresql-8.4
Title: package postgresql-8.4 8.4.2-0ubuntu9.10 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 9
Uname: Linux 2.6.31-17-generic-pae i686

Revision history for this message
Iven Mathew Simon (ivenms) wrote :
Revision history for this message
Iven Mathew Simon (ivenms) wrote :

Here is the error message when I tried to remove postgresql:
-----------------------------------------------------------------------------

The following packages will be REMOVED:
  postgresql-8.4 postgresql-client-common postgresql-common
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 14.0MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 235496 files and directories currently installed.)
Removing postgresql-8.4 ...
 * Stopping PostgreSQL 8.4 database server * Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 53.
                                                                                                                                                                [fail]
invoke-rc.d: initscript postgresql-8.4, action "stop" failed.
dpkg: error processing postgresql-8.4 (--remove):
 subprocess installed pre-removal script returned error exit status 9
 * Starting PostgreSQL 8.4 database server * Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 53.
                                                                                                                                                                [fail]
invoke-rc.d: initscript postgresql-8.4, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 9
Removing postgresql-common ...
Removing postgresql-client-common ...
Processing triggers for man-db ...
Errors were encountered while processing:
 postgresql-8.4
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Iven Mathew Simon (ivenms) wrote :

On force removal, Following Error Occurred:
------------------------------------------------------------
The following packages will be REMOVED:
  postgresql-8.4
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 13.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 235417 files and directories currently installed.)
Removing postgresql-8.4 ...
.: 19: Can't open /usr/share/postgresql-common/maintscripts-functions
dpkg: error processing postgresql-8.4 (--remove):
 subprocess installed pre-removal script returned error exit status 2
Errors were encountered while processing:
 postgresql-8.4
E: Sub-process /usr/bin/dpkg returned an error code (1)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.