Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1efw7J-0007xx-Fs for pgsql-general@arkaria.postgresql.org; Sun, 28 Jan 2018 23:12:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efw7I-0006Fk-Ky for pgsql-general@arkaria.postgresql.org; Sun, 28 Jan 2018 23:12:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1efw7I-0006Fb-6v for pgsql-general@lists.postgresql.org; Sun, 28 Jan 2018 23:12:04 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1efw7F-0005PE-Mw for pgsql-general@lists.postgresql.org; Sun, 28 Jan 2018 23:12:03 +0000 Received: by mail-wm0-x229.google.com with SMTP id x4so42452558wmc.0 for ; Sun, 28 Jan 2018 15:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=XFF1+YWXEAFLXH54Y8IIZSidq/HWnYeXF29s9ytcJWo=; b=ThsNI8/DLI7o0G/4OBizA7SbCysLOUSix7ojmgKvdrdwg8CtRUr2Kg2LAv3AhXxSZt StfMOpbtKM5QWjWy6Ma1YgURfegr5vnu+h0zx0UdqBI/R3bkPnGfYYw4d3ZA3tJYJvsJ 8Aw4XD1DPqhzAD5xlJA/mHo0AqzeheuJmchrHKEsk2cuDhzcptCt+NHovrUjXMinpjND SqwJXH7IgYRFcSWAUjYWMbdWjLOQETN2DI72lkV4Q48MWygLAXQaABGHMplD3pxjrADy KZjca+wQrsaJFyYSsb1oZwaxCDNuBwJF5YGiUpD58rQpsWFk1Nn+gJkJJDwj+NHc3qEy 5TbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XFF1+YWXEAFLXH54Y8IIZSidq/HWnYeXF29s9ytcJWo=; b=LEMWdy37M27p6aXbHJVdPfbR2/kfN6mKUAGlDbLmcboSip0HTj0kyQ6aYPV1m/VMHa QwLjOrclwmVW0T+L7sdATABQivnuNK94hKhbiHiaodrCM7RnHO0rbOKyCi7XRjx339mB SRhkM/JvLrEQGlH8WWBKVFaWCH9sh6XrnixnvNh7bvhDVN1osY0siWZL5LcaAkhEluV6 EPXKaUhDv5KUjENNSosEjnPBqVS1GYujDZsOY1NMQqiiVkvBu2wfvyPL4i8k76AMlt/K POtlFmM+w1OWXXeGyj6OiZwG4X2KFIdGlp6UDklbWUtVhGA4qxCh+eqo83HowVVdI23Q JNVw== X-Gm-Message-State: AKwxytcprmaRUkreuuVZT7J4LKMj1s4J9q3hOn2w7EgoChvNa8NCeAlo HNf5C131l79Eqa/LafsP/fFm7Vs= X-Google-Smtp-Source: AH8x226vfkI1Vu7BQnog/buRuyQ6Xm2KEzkKKuLkYtw2gJ2IeYIRsAilyJj6+/J2CJR4kgO/kYMEiQ== X-Received: by 10.28.171.10 with SMTP id u10mr15508509wme.108.1517181119027; Sun, 28 Jan 2018 15:11:59 -0800 (PST) Received: from [192.168.2.6] (host109-151-129-31.range109-151.btcentralplus.com. [109.151.129.31]) by smtp.googlemail.com with ESMTPSA id l2sm326586wre.6.2018.01.28.15.11.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:11:58 -0800 (PST) Subject: Re: FW: Setting up streaming replication problems To: pgsql-general@lists.postgresql.org References: <6b6085fb-b0be-798e-6be4-8ec4f9e099bf@gelassene-pferde.biz> <76882e62-c9c2-0081-9e5a-816ec18af359@a-kretschmer.de> <18774e2eb362444b8e65966423e8707a@usb.ch> <20180123083607.20137iwa16pu6y8s@www.gelassene-pferde.biz> <20180126104705.173924vsxb67vhgk@www.gelassene-pferde.biz> <904d9e3e-4cf3-f8b2-a562-8480fb1d4791@gelassene-pferde.biz> From: Martin Goodson Message-ID: <59dae91e-8ded-9da0-b157-e28949051970@googlemail.com> Date: Sun, 28 Jan 2018 23:11:58 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <904d9e3e-4cf3-f8b2-a562-8480fb1d4791@gelassene-pferde.biz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 28/01/2018 22:24, Thiemo Kellner wrote: > Me again. Hope you wont feel to bothered by me. I just summarise so > far and am still in dire need of guidance. > I am not sure whether to put the md5 value of the repuser password > into primary_conninfo or the plain one. I don't feel the > documentation or the book is clear on that. I thought to have tried > both ways to no avail. The documentation seems pretty clear on the subject, if you look at the standby server settings documentation and look at primary_conninfo it says: "A password needs to be provided too, if the primary demands password authentication. It can be provided in the primary_conninfo string, or in a separate ~/.pgpass file on the standby server (use replication as the database name)" That's not an md5 version of the password, that's the actual clear text password. That's why putting the password into the password file instead of the recovery file (or specifying trust if you actually do) might not be such a bad idea, really. But are you sure the password is the issue? What messages are you seeing in your logs on both the master and the standby? Could you post the logs here, or at least a representative sample? What are you seeing in the standby logs when you start it? What are you seeing in the master's logs at the same time? M. -- Martin Goodson "Have you thought up some clever plan, Doctor?" "Yes, Jamie, I believe I have." "What're you going to do?" "Bung a rock at it."