From: Bruce Momjian <bruce@momjian.us>
To: kiran gadamsetty <kirankumar.gadamsetty@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: Guru Prashanth Thanakodi <tguru.ece@gmail.com>
Subject: Re: Pg Upgrade failing as it is not able to start and stop server properly
Date: Thu, 4 Jan 2018 10:24:13 -0500
Message-ID: <20180104152413.GA20364@momjian.us> (raw)
In-Reply-To: <CAO7BbrySZpjipBa04EnLvEzk7cYaO+1tKBbrjiZW-c83iVTk0Q@mail.gmail.com>
References: <CAO7BbrwCjnXFEyjFEVsHj_PbBDJQ67_Ms8b-49rmX1Z14XY1gA@mail.gmail.com>
<CAO7BbrySZpjipBa04EnLvEzk7cYaO+1tKBbrjiZW-c83iVTk0Q@mail.gmail.com>
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 <bruce@momjian.us> 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 +
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruce@momjian.us, kirankumar.gadamsetty@gmail.com, tguru.ece@gmail.com
Subject: Re: Pg Upgrade failing as it is not able to start and stop server properly
In-Reply-To: <20180104152413.GA20364@momjian.us>
References: <CAO7BbrwCjnXFEyjFEVsHj_PbBDJQ67_Ms8b-49rmX1Z14XY1gA@mail.gmail.com> <CAO7BbrySZpjipBa04EnLvEzk7cYaO+1tKBbrjiZW-c83iVTk0Q@mail.gmail.com> <20180104152413.GA20364@momjian.us>
* 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