Re: Problem pg_upgradecluster from 9.1 to 9.3

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Matthieu Lejeune <matthieu(dot)lejeune(at)exxoss(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Problem pg_upgradecluster from 9.1 to 9.3
Date: 2014-12-10 03:30:23
Message-ID: 5487BE4F.30009@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 12/8/14 2:37 AM, Matthieu Lejeune wrote:
> I have upgraded the postgresql-common and postgresql-client-common :

> But I got the same error :
>
> root(at)p2tstl2mondbm:/var/lib# pg_upgradecluster 9.1 main --method=upgrade
> Disabling connections to the old cluster during upgrade...
> Restarting old cluster with restricted connections...
> Stopping old cluster...
> Creating new cluster 9.3/main ...
> config /etc/postgresql/9.3/main
> data /var/lib/postgresql/9.3/main
> locale C
> Flags of /var/lib/postgresql/9.3/main set as ---------------C
> port 5433
> Error: could not create symlink /var/lib/postgresql/9.1/main/pg_ident.conf
> Re-enabling connections to the old cluster...
> Error during cluster dumping, removing new cluster
> pg_ctl: PID file "/var/lib/postgresql/9.1/main/postmaster.pid" does not
> exist
> Is server running?
> Error: could not reload old cluster, please do that manually

At this point, I think you should add some manual debug statements into
the script and see what's going on. The script itself is not very
complicated, so you can tweak to make it work for you.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ferrell, Denise CTR NSWCDD, Z11 2014-12-10 14:08:12 Comparing two databases for differences
Previous Message David G Johnston 2014-12-09 15:05:24 Re: Group by clause - Postgres 9.2.4