Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XzWx5-0005u2-02 for pgsql-admin@arkaria.postgresql.org; Fri, 12 Dec 2014 20:36:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XzWx4-0007vv-Ff for pgsql-admin@arkaria.postgresql.org; Fri, 12 Dec 2014 20:36:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XzWx3-0007ve-A2 for pgsql-admin@postgresql.org; Fri, 12 Dec 2014 20:36:37 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XzWwz-0006dw-O0 for pgsql-admin@postgresql.org; Fri, 12 Dec 2014 20:36:35 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XzWwv-0000dH-CP; Fri, 12 Dec 2014 15:36:29 -0500 Date: Fri, 12 Dec 2014 15:36:29 -0500 From: Bruce Momjian To: Matthieu Lejeune Cc: Peter Eisentraut , "pgsql-admin@postgresql.org" Subject: Re: Problem pg_upgradecluster from 9.1 to 9.3 Message-ID: <20141212203629.GA31889@momjian.us> References: <5481838E.6020409@exxoss.com> <54827D54.6010907@gmx.net> <5482BAF2.70307@exxoss.com> <54830B26.7050602@gmx.net> <5485551F.9080407@exxoss.com> <5487BE4F.30009@gmx.net> <548B1645.1030102@exxoss.com> <20141212180929.GA14584@momjian.us> <8ED777F0-18FF-407B-9CA5-A51739065E7E@exxoss.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8ED777F0-18FF-407B-9CA5-A51739065E7E@exxoss.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Fri, Dec 12, 2014 at 07:49:09PM +0100, Matthieu Lejeune wrote: > Do you have a documentation to do this ? No. CREATE EXTENSION is that you want, but these would be obvious to anyone who installed them in the old cluster. --------------------------------------------------------------------------- > > Thanks for your answer > > > Envoyé de mon iPhone > > > Le 12 déc. 2014 à 19:09, Bruce Momjian a écrit : > > > >> On Fri, Dec 12, 2014 at 05:22:29PM +0100, Matthieu Lejeune wrote: > >> root@p2tstl2mondbm:/# cat /home/LAMPIRIS/postgres/loadable_libraries.txt > >> Could not load library "$libdir/pg_buffercache" > >> ERROR: could not access file "$libdir/pg_buffercache": No such file > >> or directory > >> > >> Could not load library "$libdir/pg_trgm" > >> ERROR: could not access file "$libdir/pg_trgm": No such file or directory > >> > >> Could not load library "$libdir/uuid-ossp" > >> ERROR: could not access file "$libdir/uuid-ossp": No such file or directory > > > > So you need to install the shared objects into the new cluster that were > > used in the old cluster. > > > > --------------------------------------------------------------------------- > > > > > >> > >> root@p2tstl2mondbm:/# > >> > >> But the first time it was working, I canceled to find a way ton > >> optimise the cpu/ram usage of the process... > >> But now i got the error > >> > >> Any idea? > >> > >> Thanks > >> > >> Matthieu > >> > >> > >> > >> Le 10/12/14 04:30, Peter Eisentraut a écrit : > >>> 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 > > > > -- > > Bruce Momjian http://momjian.us > > EnterpriseDB http://enterprisedb.com > > > > + Everyone has their own god. + > > > > > > -- > > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > > To make changes to your subscription: > > http://www.postgresql.org/mailpref/pgsql-admin -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin