Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eX7NU-0006sd-42 for pgsql-general@arkaria.postgresql.org; Thu, 04 Jan 2018 15:24:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eX7NT-0002mX-8n for pgsql-general@arkaria.postgresql.org; Thu, 04 Jan 2018 15:24:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eX7NT-0002mN-0u for pgsql-general@lists.postgresql.org; Thu, 04 Jan 2018 15:24:19 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eX7NP-00068R-U1 for pgsql-general@postgresql.org; Thu, 04 Jan 2018 15:24:18 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1eX7NN-0002Cf-BT; Thu, 04 Jan 2018 10:24:13 -0500 Date: Thu, 4 Jan 2018 10:24:13 -0500 From: Bruce Momjian To: kiran gadamsetty Cc: pgsql-general@postgresql.org, Guru Prashanth Thanakodi Subject: Re: Pg Upgrade failing as it is not able to start and stop server properly Message-ID: <20180104152413.GA20364@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, Jan 4, 2018 at 01:49:17PM +0530, kiran gadamsetty wrote: > While upgrading the PostgreSQL database from 9.1.4 to 9.6.4 version on > windows 2012 server, Pg_upgrade is failing as postgre service start and > stop are failing because of time outs. I got the information as using -m > immediate mode with solve the problem, but we are interested to know the > root cause of this issue. > Without -m immediate, the server start and stop commands will simply wait, > till command timeouts and they fail. > There is no load on the server that could cause a performance issue.  ... > Freezing all rows on the new cluster                        "c:\EMC\AppSync > \jboss\datastore_96\engine\bin/vacuumdb" --port 50432 --username ^ > "apollosuperuser^" --all --freeze --verbose >> "pg_upgrade_utility.log" 2>& > 1 > > *failure* > "c:\EMC\AppSync\jboss\datastore_96\engine\bin/pg_ctl" -w -D "c:\EMC\AppSync > \jboss\datastore_96\data" -o "" -m fast stop >> "pg_upgrade_utility.log" 2> > &1 It appears the freeze operation is failing, and I have no idea what would cause that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +