pg_upgrade_server.log file location

From: Ashish Chauhan <Ashish(dot)Chauhan(at)support(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: pg_upgrade_server.log file location
Date: 2016-10-18 18:34:21
Message-ID: 6837D32772C03D42BF09864A2DACFF9B1E038340@dcmail02.supportsoft.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am upgrading Postgres 9.4 to 9.6 on Ubuntu 16.04. I am getting below error while running pg_upgrade command. Does anyone know "pg_upgrade_server.log" file location? I am not able to find log file.

Command :# sudo -H -u postgres /usr/lib/postgresql/9.6/bin/pg_upgrade -b /usr/lib/postgresql/9.4/bin -B /usr/lib/postgresql/9.6/bin -d /var/lib/postgresql/9.4/main -D /var/lib/postgresql/9.6/main

Error:
*failure*
Consult the last few lines of "pg_upgrade_server.log" for
the probable cause of the failure.

There seems to be a postmaster servicing the old cluster.
Please shutdown that postmaster and try again.
Failure, exiting

Thanks,
Ashish Chauhan

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2016-10-18 18:49:29 Re: out-of-order XID insertion in KnownAssignedXids
Previous Message Jacob Scott 2016-10-18 18:12:07 Postgresql apt repository naming scheme question