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.92) (envelope-from ) id 1jBgKx-0007b8-K5 for pgsql-general@arkaria.postgresql.org; Tue, 10 Mar 2020 14:58:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBgKv-0003xU-4y for pgsql-general@arkaria.postgresql.org; Tue, 10 Mar 2020 14:58:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jBgKu-0003xM-O1 for pgsql-general@lists.postgresql.org; Tue, 10 Mar 2020 14:58:24 +0000 Received: from [64.147.123.20] (helo=wout4-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBgKr-0000T9-Se for pgsql-general@lists.postgresql.org; Tue, 10 Mar 2020 14:58:23 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 38260955; Tue, 10 Mar 2020 10:58:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 10 Mar 2020 10:58:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=X 660bZwwRnIORlhHaqT+7aMS82jDpNaVtNFnrjtvcu4=; b=n5Mrl6oI+cOFHNJAG tlIB7uNWULZfZY6iGGvjpL+kVQmDGJfIfrRyMXallx2GkbVffUyTZT920+C5zlJ9 6XWpmlcAEbqlLN0aTHXz3WwozBLCob+sTG7xDSv80+bQU2XD1hvF3Q+HvMNnioXI WL5HIs/G1NR9GR8zpuMFuG4EIL5uiARXQ5W/2J6u5SzQGg05vLrzK9C7Rx+nqHnS gTj31AWYu9WF/zbpPqunuxeg3E8/g91N2kch1f40d8/RqHjL2y5n7ym0D0/6M2ua eBwNnjalbiJGa5MzOammTKm8ZCgcZr9m70oVPVYAaoM/3oH6mbai7rpbjbrHLgMu nUjgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=X660bZwwRnIORlhHaqT+7aMS82jDpNaVtNFnrjtvc u4=; b=r7DMjBn1T0Quh5bRNmQcxXh+3QmyFzIDiG8X4IPiN57Ja/Hr3Zwq8klFq JGnRjBnvea0R9XQqT9xE+v5SsyI5tdrLMz7UdxYgV4VsYb1SKlcsR80wqfvrmtcJ m3+duDzwPoW1dMjZEqZis0gyQOi6idVD+KPX3GuzTftlZSwRHPMc8k7C9cdlBZOO hDoyInT/TOdEcgbPRBnMhwUXO7eV3yZnO7Ao5WMkbIW0sCq90qWT0rDwLuOFNAGm kfxWsmwktbRpHNZIw9fpBfc77eK9VuL/zQ1jB3bCmR/sjga0r5mYuCG2/uSL194e GBHCESzGs8hDjcg57Xib8k/+YxztQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddvtddgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjedurddvuddvrdduvdelrdduleefnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklh grvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id E4C4F30614FA; Tue, 10 Mar 2020 10:58:08 -0400 (EDT) Subject: Re: Streaming replication - 11.5 To: Nicola Contu , "pgsql-generallists.postgresql.org" Cc: Alessandro Aste References: From: Adrian Klaver Message-ID: <89a1e4cd-1da5-7233-d8c3-5e19cc9d1b75@aklaver.com> Date: Tue, 10 Mar 2020 07:58:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.20 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/10/20 2:26 AM, Nicola Contu wrote: > Hello, > I have two servers connected to the same switch running postgres 11.5 > > I am trying to replicate one of those servers after a planned work on > the master, so the replica has been lost. It has always worked but now I > get this : > > pg_basebackup: could not receive data from WAL stream: server closed the > connection unexpectedly >         This probably means the server terminated abnormally >         before or while processing the request. > > I don't really understand what the issue is. I would start with the logs from the Postgres server you are taking the backup from. > I had this issue last week as well in another DC and I had to reboot the > slave to make it working (not sure why it helped) > > Do you know what can cause this? > > Thank you, > Nicola -- Adrian Klaver adrian.klaver@aklaver.com