<p dir="ltr"></p>
<p dir="ltr">On Jul 22, 2016 11:02 PM, &quot;Dennis Gearon&quot; &lt;<a href="mailto:gearond@gmail.com">gearond@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt;<br>
&gt; 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>
&gt;&gt;<br>
&gt;&gt; [Cc: to pgpool-hackers removed since this is not related to the list]<br>
&gt;&gt;<br>
&gt;&gt; See <a href="http://pgpool.net/mediawiki/index.php/FAQ">http://pgpool.net/mediawiki/index.php/FAQ</a> and search &quot;md5&quot;<br>
&gt;&gt; Also see the pgpool-II manual how to set up the pgpool-II authentication.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese:<a href="http://www.sraoss.co.jp">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
&gt;&gt; From: &quot;Vaidyanathaswamy, Sai (NBCUniversal)&quot; &lt;<a href="mailto:Sai.Vaidyanathaswamy@nbcuni.com">Sai.Vaidyanathaswamy@nbcuni.com</a>&gt;<br>
&gt;&gt; Subject: [pgpool-general: 4789] Pg pool setup issues<br>
&gt;&gt; Date: Mon, 18 Jul 2016 20:59:19 +0000<br>
&gt;&gt; Message-ID: &lt;<a href="mailto:F2FB436BF14DEB4FAC67561BEA46313BB772C9@USUSHEMWP013.mail.tfayd.com">F2FB436BF14DEB4FAC67561BEA46313BB772C9@USUSHEMWP013.mail.tfayd.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; HI Support,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am trying to implement pgpool database/creation and replication with 3 different server, Master/slave and class server.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am not able to create a database, I am getting the following errors . Your help is much appreciated.<br>
&gt;&gt; &gt; I have changed the pg_hba.conf to the following<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  Protocol Major: 3 Minor: 0 database: template1 user: openplatform<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 0 backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 1 backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  skipping backend slot 1 because backend_status = 3<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  creating new connection to backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  connecting 2 backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  SSL is requested but SSL support is not available<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  SSL is requested but SSL support is not available<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  pool_read: read 13 bytes from backend 0<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  pool_read: read 13 bytes from backend 2<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  reading message length<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  slot: 0 length: 12<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  reading message length<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  slot: 2 length: 12<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DEBUG:  authentication backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  auth kind:5<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: ERROR:  failed to authenticate with backend<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: DETAIL:  MD5 authentication is not supported in replication and master-slave modes.<br>
&gt;&gt; &gt; 2016-07-18 13:49:57: pid 2974: HINT:  check pg_hba.conf settings on backend node<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # If you want to allow non-local connections, you need to add more<br>
&gt;&gt; &gt; # &quot;host&quot; records. In that case you will also need to make pgpool listen<br>
&gt;&gt; &gt; # on a non-local interface via the listen_addresses configuration parameter.<br>
&gt;&gt; &gt; # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD<br>
&gt;&gt; &gt; # &quot;local&quot; is for Unix domain socket connections only<br>
&gt;&gt; &gt; #local   all             postgres              md5<br>
&gt;&gt; &gt; local   all                  all               trust<br>
&gt;&gt; &gt; # IPv4 local connections:<br>
&gt;&gt; &gt; host    all              postgres            <a href="http://127.0.0.1/32">127.0.0.1/32</a>       ident<br>
&gt;&gt; &gt; #host    all              all               ::1/128              md5<br>
&gt;&gt; &gt; host      all             all               <a href="http://100.114.116.68/32">100.114.116.68/32</a>    ident<br>
&gt;&gt; &gt; host      all             all               <a href="http://100.114.116.69/32">100.114.116.69/32</a>    ident<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; # Allow replication connections from localhost, by a user with the<br>
&gt;&gt; &gt; # replication privilege.<br>
&gt;&gt; &gt; #local   replication     postgres                                peer<br>
&gt;&gt; &gt; host    replication     postgres        <a href="http://127.0.0.1/32">127.0.0.1/32</a>            ident<br>
&gt;&gt; &gt; #host    replication     postgres        ::1/128                 ident<br>
&gt;&gt; &gt; host     replication     postgres       <a href="http://100.114.116.68/32">100.114.116.68/32</a>       ident<br>
&gt;&gt; &gt; host    replication     postgres        <a href="http://100.114.116.69/32">100.114.116.69/32</a>        ident<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks !<br>
&gt;&gt; &gt; sai<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; pgpool-general mailing list<br>
&gt;&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general">http://www.pgpool.net/mailman/listinfo/pgpool-general</a></p>
<p dir="ltr">Sorry about too posting, it&#39;s the default for all the web basd mail clients, and I seldom add to the great conversations here (and elsewhere) so I forgot.<br></p>