<p dir="ltr">My limited networking skills says to me that all those 127.x.x.x/32 addresses should be 127.x.x.x/24 if I am not mistaken.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 18, 2016 5:02 PM, &quot;Tatsuo Ishii&quot; &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Cc: to pgpool-hackers removed since this is not related to the list]<br>
<br>
See <a href="http://pgpool.net/mediawiki/index.php/FAQ" rel="noreferrer" target="_blank">http://pgpool.net/mediawiki/index.php/FAQ</a> and search &quot;md5&quot;<br>
Also see the pgpool-II manual how to set up the pgpool-II authentication.<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>
<br>
From: &quot;Vaidyanathaswamy, Sai (NBCUniversal)&quot; &lt;<a href="mailto:Sai.Vaidyanathaswamy@nbcuni.com">Sai.Vaidyanathaswamy@nbcuni.com</a>&gt;<br>
Subject: [pgpool-general: 4789] Pg pool setup issues<br>
Date: Mon, 18 Jul 2016 20:59:19 +0000<br>
Message-ID: &lt;<a href="mailto:F2FB436BF14DEB4FAC67561BEA46313BB772C9@USUSHEMWP013.mail.tfayd.com">F2FB436BF14DEB4FAC67561BEA46313BB772C9@USUSHEMWP013.mail.tfayd.com</a>&gt;<br>
<br>
&gt; HI Support,<br>
&gt;<br>
&gt; I am trying to implement pgpool database/creation and replication with 3 different server, Master/slave and class server.<br>
&gt;<br>
&gt; I am not able to create a database, I am getting the following errors . Your help is much appreciated.<br>
&gt; I have changed the pg_hba.conf to the following<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  Protocol Major: 3 Minor: 0 database: template1 user: openplatform<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 0 backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 1 backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  skipping backend slot 1 because backend_status = 3<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 2 backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  SSL is requested but SSL support is not available<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  SSL is requested but SSL support is not available<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  pool_read: read 13 bytes from backend 0<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  pool_read: read 13 bytes from backend 2<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  reading message length<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  slot: 0 length: 12<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  reading message length<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  slot: 2 length: 12<br>
&gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  authentication backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  auth kind:5<br>
&gt; 2016-07-18 13:49:57: pid 2974: ERROR:  failed to authenticate with backend<br>
&gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  MD5 authentication is not supported in replication and master-slave modes.<br>
&gt; 2016-07-18 13:49:57: pid 2974: HINT:  check pg_hba.conf settings on backend node<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # If you want to allow non-local connections, you need to add more<br>
&gt; # &quot;host&quot; records. In that case you will also need to make pgpool listen<br>
&gt; # on a non-local interface via the listen_addresses configuration parameter.<br>
&gt; # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD<br>
&gt; # &quot;local&quot; is for Unix domain socket connections only<br>
&gt; #local   all             postgres              md5<br>
&gt; local   all                  all               trust<br>
&gt; # IPv4 local connections:<br>
&gt; host    all              postgres            <a href="http://127.0.0.1/32" rel="noreferrer" target="_blank">127.0.0.1/32</a>       ident<br>
&gt; #host    all              all               ::1/128              md5<br>
&gt; host      all             all               <a href="http://100.114.116.68/32" rel="noreferrer" target="_blank">100.114.116.68/32</a>    ident<br>
&gt; host      all             all               <a href="http://100.114.116.69/32" rel="noreferrer" target="_blank">100.114.116.69/32</a>    ident<br>
&gt;<br>
&gt; # Allow replication connections from localhost, by a user with the<br>
&gt; # replication privilege.<br>
&gt; #local   replication     postgres                                peer<br>
&gt; host    replication     postgres        <a href="http://127.0.0.1/32" rel="noreferrer" target="_blank">127.0.0.1/32</a>            ident<br>
&gt; #host    replication     postgres        ::1/128                 ident<br>
&gt; host     replication     postgres       <a href="http://100.114.116.68/32" rel="noreferrer" target="_blank">100.114.116.68/32</a>       ident<br>
&gt; host    replication     postgres        <a href="http://100.114.116.69/32" rel="noreferrer" target="_blank">100.114.116.69/32</a>        ident<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks !<br>
&gt; sai<br>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</blockquote></div></div>