Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iueqP-0002o9-Uh for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jan 2020 15:56:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iueqO-0003gm-Nc for pgsql-admin@arkaria.postgresql.org; Thu, 23 Jan 2020 15:56:32 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iueqO-0003gZ-AF for pgsql-admin@lists.postgresql.org; Thu, 23 Jan 2020 15:56:32 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iueqL-0003Wz-Lf for pgsql-admin@postgresql.org; Thu, 23 Jan 2020 15:56:31 +0000 Received: by mail-wr1-x442.google.com with SMTP id c14so3640475wrn.7 for ; Thu, 23 Jan 2020 07:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=2kndqpo5ZU29Wi+M8MfVNsf/dd0kl30cV/51C8TE3q4=; b=BFzdWynkSiwICds580THk1paZeuNJr20TRap9857PQdoArCv06SIqYyjIYFUk0Unfo nlbdWj7xFGIbE2KZzsM0u9+CyHg5mNlIZudA9AFVAWOYkKbKPdSQB92qtg+XHZPgrvXv 2VDsmBzwkylzSEVC0z52wDlc6WFHd95fxfKsg0Tig77PANoWIpw28sUXIz9NmWYbZyZo ruZtn9l/+t8DfCj14ClVNPIlFSDFDxFm43/R+qyAYJqjVbUrjAAHQnu2MBE4zQufqEyp TFxBqMvFwDEQ6AHiv0rAozJhsa+o1/S5v+7kWjB3KFJpPZwLJisEJUuO6p/iOG9/pdEj YSFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=2kndqpo5ZU29Wi+M8MfVNsf/dd0kl30cV/51C8TE3q4=; b=ugF/ckwsnjVvq+vTOrPX6uqapS9EnUTPpjepSSfxVgQf0LwEVOVUdd2blug7blilLz UN00XSH4AVYWTZifgW/RRxIyJzv70WL1oCGSqY50jGeYzqv3do+fmFhKqz1fgbz+O0/E Mw6YkmiN1BbHjCLrXl2OhOrYI+/Dw40zR1k/Budt7bj3C3USFoGqjt8pJ8hIbG65Lw9+ aZ1H4i4F+DzZ4UXN78FMPJtWtozV99S1sUnG9i8eBEMNjDIlP2pPg31KGOAxznGBuTxV owfrNb+zLHHK7TQjUGKCXP84oNzOl+BsbfSmV230gbcYsSiOFpi36N08POdVT2Mup0nB NVfQ== X-Gm-Message-State: APjAAAUNbPYcEJEjw6CCO+YzfXchR3lz9AHTx3yuMlklUXJKat48+43l xgzKaLr2dCA4okyVz9ZAZS0TOw== X-Google-Smtp-Source: APXvYqxiGqIlmvPY8Gb6LCCGRP8rmKXw59OY8VMIGCOORBVZF4iCSXGqz09qjo6/SHSBjHRkON+Qbw== X-Received: by 2002:a5d:44cd:: with SMTP id z13mr18701107wrr.104.1579794988657; Thu, 23 Jan 2020 07:56:28 -0800 (PST) Received: from localhost.localdomain (217-149-170-154.nat.highway.telekom.at. [217.149.170.154]) by smtp.gmail.com with ESMTPSA id r68sm3016732wmr.43.2020.01.23.07.56.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 07:56:28 -0800 (PST) Message-ID: <2079fc510f11cc43ed95a34afbec01d51a745d67.camel@cybertec.at> Subject: Re: pg_rewind From: Laurenz Albe To: soumik.bhattacharjee@kpn.com, pgsql-admin@lists.postgresql.org, pgsql-admin@postgresql.org Date: Thu, 23 Jan 2020 16:56:27 +0100 In-Reply-To: <2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL> References: <2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 2020-01-23 at 15:39 +0000, soumik.bhattacharjee@kpn.com wrote: > I am trying to make my previous Master as Master by roll backing the changes happen into Standby > > In Original MASTER I am running below – > > /usr/lib/postgresql/12/bin$ ./pg_rewind -D $PGDATA --source-server='host= port=5432' -P > pg_rewind: fatal: could not connect to server: fe_sendauth: no password supplied > > I'm not sure why this keeps happening. Because you used the wrong user or didn't specify a password? Try --source-server='host= port=5432 user=... password=...' Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com