Re: pg_upgrade could not connect to server

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Igal (at) getRailo(dot)org" <igal(at)getrailo(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_upgrade could not connect to server
Date: 2015-01-22 18:36:52
Message-ID: 20150122183652.GD27757@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 22, 2015 at 10:22:34AM -0800, Igal @ getRailo.org wrote:
> Performing Consistency Checks
> -----------------------------
> Checking cluster versions ok
>
> *failure*
> Consult the last few lines of "pg_upgrade_server_start.log" or "pg_upgrade_server.log" for
> the probable cause of the failure.
>
> connection to database failed: could not connect to server: Connection refused (0x0000274D/10061)
> Is the server running on host "localhost" (::1) and accepting
> TCP/IP connections on port 50432?
> could not connect to server: Connection refused (0x0000274D/10061)
> Is the server running on host "localhost" (127.0.0.1) and accepting
> TCP/IP connections on port 50432?
>
> could not connect to old postmaster started with the command:
> "C:\Program Files\PostgreSQL\9.3\bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "E:\PGSQLData" -o "-p 50432 -b " start

Can you look higher up in the log file? Does this recent Windows
pg_upgrade failure report match yours at all?

http://www.postgresql.org/message-id/flat/CAEB4t-OHNE95=n5U4ySsYkWipQsWeQuTBSJkaYJ63_1VzkzkhA(at)mail(dot)gmail(dot)com#CAEB4t-OHNE95=n5U4ySsYkWipQsWeQuTBSJkaYJ63_1VzkzkhA@mail.gmail.com

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2015-01-22 18:38:39 Re: pg_upgrade could not connect to server
Previous Message Igal @ getRailo.org 2015-01-22 18:30:44 Re: pg_upgrade could not connect to server