<div dir="ltr">Hello Tatuo,<div><br></div><div>Thanks for your response.</div><div><br></div><div>After setting following parameters &#39;backend no 0&#39;  seems OK.</div><div><br></div><div><br></div><div><span style="font-size:12.8px">master_slave_mode = on</span><br style="font-size:12.8px"><span style="font-size:12.8px">master_slave_sub_mode = &#39;stream&#39;</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">But there are some new error as following:</span></div><div><span style="font-size:12.8px">------------------------------------------------------------------</span></div><div><span style="font-size:12.8px">..............</span></div><div><span style="font-size:12.8px">..............</span></div><div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: DEBUG:  SSL is requested but SSL support is not available</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: ERROR:  failed to authenticate</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: DETAIL:  invalid authentication message response type, Expecting &#39;R&#39; and received &#39;E&#39;</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: LOG:  find_primary_node: checking backend no 1</span></div><div style=""><span class="" style="white-space:pre;font-size:12.8px">        </span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: DEBUG:  SSL is requested but SSL support is not available</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: ERROR:  failed to authenticate</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: DETAIL:  invalid authentication message response type, Expecting &#39;R&#39; and received &#39;E&#39;</span></div><div style=""><span style="font-size:12.8px">2015-09-16 03:30:51: pid 15478: DEBUG:  find_primary_node: no primary node found</span></div><div style="font-size:12.8px">-------------------------------------------------------------------</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have attached the <span style="font-size:12.8px">pgpool.conf and </span><span style="color:rgb(80,0,80);font-size:12.8px">pgpool-II log with this email.</span></div><div style="font-size:12.8px"><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div><div style="font-size:12.8px"><font color="#500050">Best Regards,</font></div><div style="font-size:12.8px"><font color="#500050">Giles.</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 September 2015 at 07:13, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; Dear Tatsuo,<br>
&gt;<br>
&gt; I have configured pgpool according to following document.<br>
&gt;<br>
&gt; <a href="http://www.keyup.eu/en/blog/89-replication-and-load-balancing-with-postgresql-and-pgpool2" rel="noreferrer" target="_blank">http://www.keyup.eu/en/blog/89-replication-and-load-balancing-with-postgresql-and-pgpool2</a><br>
&gt;<br>
&gt; But there log file it is saying that &quot;find_primary_node: not in streaming<br>
&gt; replication mode&quot;<br>
&gt;<br>
&gt; I am using pgpool-II-3.4.3 and PostgreSQL 9.3.9 on Ubuntu 14.04.2 LTS.<br>
&gt;<br>
&gt; Please also give me a guidance how to test pgpool is working properly.<br>
&gt;<br>
&gt; pgpool-II log,  pgpool.conf and PostgreSQL log is attached with the mail.<br>
<br>
</span>I did not write the blog and I am not in the position of speaking for it.<br>
It&#39;s best you directly contact to the author of the blog.<br>
<br>
Anyway, my guess is you do not set:<br>
<br>
master_slave_mode = on<br>
master_slave_sub_mode = &#39;stream&#39;<br>
<br>
See the manual for more details.  This is just a guess because you did<br>
not attach pgpool.conf, though.<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div><br></div>