From: Peter Eisentraut <peter_e@gmx.net>
To: Matthieu Lejeune <matthieu.lejeune@exxoss.com>
To: pgsql-admin@postgresql.org
Subject: Re: Problem pg_upgradecluster from 9.1 to 9.3
Date: Tue, 09 Dec 2014 22:30:23 -0500
Message-ID: <5487BE4F.30009@gmx.net> (raw)
In-Reply-To: <5485551F.9080407@exxoss.com>
References: <5481838E.6020409@exxoss.com>
<54827D54.6010907@gmx.net>
<5482BAF2.70307@exxoss.com>
<54830B26.7050602@gmx.net>
<5485551F.9080407@exxoss.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@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.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: peter_e@gmx.net, matthieu.lejeune@exxoss.com
Subject: Re: Problem pg_upgradecluster from 9.1 to 9.3
In-Reply-To: <5487BE4F.30009@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox