After upgrading postgresql-databases are not accessible any more
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Oneiric |
Fix Released
|
Critical
|
Michael Vogt | ||
Precise |
Fix Released
|
High
|
Michael Vogt |
Bug Description
- Install postgresql on 11.04, configure applications to access postgres
- Upgrade from 11.04 to 11.10
- none of the postgresql-
Here is one error message as given by a WEB application:
Fatal error: Uncaught exception 'Zend_Exception' with message 'Fatal error: Can't connect to SQL server' in /opt/webacula/
Stack trace:
#0 {main}
thrown in /opt/webacula/
It looks like the postgresql-database is lost after upgrading. This is fatal. Not for a test sytem, but for a productive one!
There are no instructions what to do before upgrading or after upgrading. The only Instructions found are those on the PostgreSQL web site. There are no warnings, no nothing. Absolutely bad. I suppose this a critical error and showstopper!
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: postgresql 9.1+122
ProcVersionSign
Uname: Linux 3.0.0-12-virtual x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 10 18:38:48 2011
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: postgresql-common
UpgradeStatus: Upgraded to oneiric on 2011-10-10 (0 days ago)
Related branches
Changed in update-manager (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in update-manager (Ubuntu Oneiric): | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Vogt (mvo) |
Changed in update-manager (Ubuntu Oneiric): | |
status: | Fix Committed → Fix Released |
The provided error messages are a little too vague. Can you please give me the output of "pg_lsclusters"? what happens if you try
sudo -u postgres psql template1
Does this get you into the postgresql console? If not, what's the output?