Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

After upgrading Ubuntu to version 9.10 and removing postgresql 8.3, I ran apt-get install postgresql-8.4 getting the following messages:

Setting up postgresql-8.4 (8.4.2-0ubuntu9.10) ...
Configuring already existing cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main, owner: 115:128)
Error: move_conffile: required configuration file /var/lib/postgresql/8.4/main/postgresql.conf does not exist
Error: could not create default cluster. Please create it manually with

pg_createcluster 8.4 main --start

When running that command I get the error:

Configuring already existing cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main, owner: 115:128)
Error: move_conffile: required configuration file /var/lib/postgresql/8.4/main/postgresql.conf does not exist

The output of dpkg -l | grep postgresql is

ii  postgresql-8.4             8.4.2-0ubuntu9.10    object-relational SQL database, version 8.4 

ii  postgresql-client-8.4      8.4.2-0ubuntu9.10    front-end programs for PostgreSQL 8.4

ii  postgresql-client-common   101                  manager for multiple PostgreSQL client versi

ii  postgresql-common          101                  PostgreSQL database-cluster manager
share|improve this question
    
Solved, followed this link bugs.launchpad.net/ubuntu/+source/postgresql-8.3/+bug/235379 answer #15 and it started –  xain Jan 23 '10 at 12:40
add comment

1 Answer

up vote 1 down vote accepted

Solved, followed this link https://bugs.launchpad.net/ubuntu/+source/postgresql-8.3/+bug/235379 answer #15 and it started

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.