<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 0 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
margin-bottom:.0001pt;
background:#D7D3B7;
font-size:9.0pt;
font-family:Courier;
color:#3B2322;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I have 3 pgpool/postgresql nodes with watchdog. When I start pgpool on the primary node 0. All my application host connect without any errors. When stop pgpool on node 0 to test the failover. Watchdog fails
over to node 1 but in pgpool.log on node 1 I’m getting an error md5 authentication failed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Before failover<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Node 0 pgpool.log<o:p></o:p></span></p>
<p class="p1"><span class="s1">2020-07-07 14:02:17: pid 1062067: DETAIL:</span><span class="apple-converted-space">
</span><span class="s1">connecting host=hosted-prev-01.uen.org port=40268</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-07 14:02:17: pid 1068342: LOG:</span><span class="apple-converted-space">
</span><span class="s1">new connection received</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">After failover<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Node 1 pgpool.log<o:p></o:p></span></p>
<p class="p1"><span class="s1">2020-07-07 20:49:04: pid 3850: DETAIL:</span><span class="apple-converted-space">
</span><span class="s1">connecting host=hosted-prev-01.uen.org port=40498</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-07 20:49:04: pid 3850: ERROR:</span><span class="apple-converted-space">
</span><span class="s1">md5 authentication failed</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-07 20:49:04: pid 3850: DETAIL:</span><span class="apple-converted-space">
</span><span class="s1">password does not match</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">pool_hba.conf, pool_passwd, pcp.conf and .pgpass are the same on all 3 nodes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Host info<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ubuntu 20<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Pgpool II 4.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PostgreSQL 12<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt">Wolfgang Schwurack<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt">Database/System Administrator<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt">Utah Education Network<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt">801-587-9444<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="mailto:wolf@uen.org"><span style="color:#0B4CB4">wolf@uen.org</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>