pg_upgrade_server.log file location - Mailing list pgsql-general

From Ashish Chauhan
Subject pg_upgrade_server.log file location
Date
Msg-id 6837D32772C03D42BF09864A2DACFF9B1E038340@dcmail02.supportsoft.com
Whole thread Raw
List 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

 

pgsql-general by date:

Previous
From: Jacob Scott
Date:
Subject: Postgresql apt repository naming scheme question
Next
From: Andre Mikulec
Date:
Subject: configure PostgreSQL with PERL: Perl version 5.8 or later is required, but this is .