<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’m sure I have ran into the issue before but can’t remember how to fix it. I scan the archives but didn’t find it. These hosts are cloned from a working environment. It seem that this should be working unless
 it has to do with using different host name. I changed to use the correct host name in pgpool.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I start pgpool on master node this is the first error I am seeing. It’s unable to read the data from all of the DB nodes.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649977: ERROR:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">unable to read data from DB node 0</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649977: DETAIL:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">EOF encountered with backend</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649977: LOG:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">health check retrying on DB node: 0 (round:2)</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649979: ERROR:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">unable to read data from DB node 2</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649979: DETAIL:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">EOF encountered with backend</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:28: pid 1649979: LOG:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">health check retrying on DB node: 2 (round:2)</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:29: pid 1649978: ERROR:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">unable to read data from DB node 1</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:29: pid 1649978: DETAIL:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">EOF encountered with backend</span><o:p></o:p></p>
<p class="p1"><span class="s1">2020-07-22 12:02:29: pid 1649978: LOG:</span><span class="apple-converted-space">&nbsp;
</span><span class="s1">health check retrying on DB node: 1 (round:3)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Then it tries to failover but can’t because I haven’t start pgpool on the other nodes.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PostgreSQL is running on all of the nodes and I don’t see any errors in the postgres log file<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have 3 pgpool/postgresql nodes
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">VMware<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">Ubuntu 20<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</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>&nbsp;</o:p></p>
</div>
</body>
</html>