Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UKXYR-0007Jj-W1 for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Mar 2013 17:21:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UKXYP-00087q-Ti for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Mar 2013 17:20:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UKXYP-00087k-22 for pgsql-bugs@postgresql.org; Tue, 26 Mar 2013 17:20:57 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UKXYL-0006Ms-Dc for pgsql-bugs@postgresql.org; Tue, 26 Mar 2013 17:20:56 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1UKXYJ-0000MD-52; Tue, 26 Mar 2013 13:20:51 -0400 Date: Tue, 26 Mar 2013 13:20:51 -0400 From: Bruce Momjian To: RAVALET Jacques Cc: pgsql-bugs@postgresql.org, jacques.ravalet@steria.com Subject: Re: JRV problem with pg_upgrade Message-ID: <20130326172051.GF20871@momjian.us> References: <33DD7B734A847440AD07BD647035F58B03E878C0@DUBLIN.solano.alize> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33DD7B734A847440AD07BD647035F58B03E878C0@DUBLIN.solano.alize> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Please run pg_ctl manually on the failed cluster and get the error message reported, or find out how to make it work successfully. --------------------------------------------------------------------------- On Mon, Mar 25, 2013 at 04:19:48PM +0100, RAVALET Jacques wrote: > > > Hello, > > I'am a database administrateur and I get trouble to upgrade database postgres > from 8.4.6 to 9.2.3. > > > > During pg_upgrade, I can't start the old cluster with parameter -c > listen_addresses='' > > > > This syntax work to start the old cluster and to access to the database > > "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l > "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data" > -o "-p 50432 -c autovacuum=off > > -c autovacuum_freeze_max_age=2000000000 -c listen_addresses='*' -c > unix_socket_permissions=0700" start > > > > This syntax doesn't work to start the old cluster > > "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l > "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data" > -o "-p 50432 -c autovacuum=off > > -c autovacuum_freeze_max_age=2000000000 -c listen_addresses='' -c > unix_socket_permissions=0700" start > > > > But pg_upgrade use this "bad" syntax even I try to force -c listen_addresses= > '*' > > > > pg_upgrade -c -d /distrib/postgresql/data/chorus_formulaires/data -D /distrib/ > postgresql/data/chorus_formulaires/data/9.2.3 -b /distrib/postgresql/app/chfdba > /produit/8.4.6/bin -B /distrib/postgresql/app/chfdba/produit/9.2.3/bin -o "-c > listen_addresses='*'" > > > > more pg_upgrade_server.log > > could not connect to old postmaster started with the command: > > "/distrib/postgresql/app/chfdba/produit/8.4.6/bin/pg_ctl" -w -l > "pg_upgrade_server.log" -D "/distrib/postgresql/data/chorus_formulaires/data" > -o "-p 50432 -c autovacuum=off -c autovacuum_freeze_max_age=2000000000 > > -c listen_addresses='*' -c listen_addresses='' -c unix_socket_permissions=0700" > start > > Failure, exiting > > > > I don't know how to workaround this problem ? > > > > Best regards, > > > > Jacques ravalet > -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs