<div dir="ltr"><div>Hi <br></div><div><br></div><div>kindly see the below output when executing the command using postgres user</div><div><br></div><div>postgres@pgpool:~$ /usr/sbin/pcp_stop_pgpool -w -h 192.168.1.55 -p 9898 -U postgres -m s<br>ERROR: connection to host &quot;192.168.1.55&quot; failed with error &quot;Connection refused&quot;<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 7:44 AM Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Can you run &quot;/usr/bin/pcp_stop_pgpool -w -h localhost -p 9898 -U postgres -m s&quot; command<br>
in command line using httpd startup user?<br>
<br>
<br>
On Thu, 5 Mar 2020 11:19:59 +0200<br>
Loai Abdallatif &lt;<a href="mailto:loai.abdallatif@gmail.com" target="_blank">loai.abdallatif@gmail.com</a>&gt; wrote:<br>
<br>
&gt; yes , I have it on /var/www/.pcppass  with permission  0600 for user<br>
&gt; www-data and group www.-data<br>
&gt; <br>
&gt; FYI, the installed packages related to PostgreSQL  on master and slave<br>
&gt; servers are:<br>
&gt; <br>
&gt; [image: image.png]<br>
&gt; <br>
&gt; the installed packages related to PostgreSQL and pgpool on pgpool server<br>
&gt; are:<br>
&gt; <br>
&gt; [image: image.png]<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Thu, Mar 5, 2020 at 6:41 AM Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; On Wed, 4 Mar 2020 21:50:30 +0200<br>
&gt; &gt; Loai Abdallatif &lt;<a href="mailto:loai.abdallatif@gmail.com" target="_blank">loai.abdallatif@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; also when I stop the master node I got the below command line output<br>
&gt; &gt;<br>
&gt; &gt; Did you create the .pcppass file under apache startup user&#39;s home<br>
&gt; &gt; directory?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; For example:<br>
&gt; &gt; -------------------<br>
&gt; &gt; # cat /usr/share/httpd/.pcppass<br>
&gt; &gt; *:9898:postgres:postgres<br>
&gt; &gt; -------------------<br>
&gt; &gt;<br>
&gt; &gt; &gt; [image: image.png]<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; whereis ON the we web pgpooladmin I got:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; [image: image.png]<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Wed, Mar 4, 2020 at 5:32 AM Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Did you installed &quot;pgpool-II-pgxx-extensions&quot; and<br>
&gt; &gt; &gt; &gt; created pgpool_recovery extension in template1?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; $ yum install pgpool-II-pgxx-extensions<br>
&gt; &gt; &gt; &gt; $ psql template1 -c &quot;CREATE EXTENSION pgpool_recovery&quot;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Mon, 17 Feb 2020 21:51:55 +0200<br>
&gt; &gt; &gt; &gt; Loai Abdallatif &lt;<a href="mailto:loai.abdallatif@gmail.com" target="_blank">loai.abdallatif@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Dear Colleagues<br>
&gt; &gt; &gt; &gt; &gt; I have setup of two pg servers ( repmgr replication ) with additional<br>
&gt; &gt; &gt; &gt; &gt; server as pgpool .<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; the repmgr works seems fine between pgdb1 and pgdb2  as below:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; [image: image.png]<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; from pgpool server using postgres user:<br>
&gt; &gt; &gt; &gt; &gt; the output as follow:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; [image: image.png]<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; the problem appears from pgpooladmin web interface when I tried to<br>
&gt; &gt; &gt; &gt; &gt; disconnect and stop only backend server fro example stop pgdb2 , i<br>
&gt; &gt; got<br>
&gt; &gt; &gt; &gt; &gt; error in pgdb2 logs as below<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; [image: image.png]<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; any hint for such error ?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt;<br>
&gt; &gt; &gt; &gt; SRA OSS, Inc. Japan<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Best Regards,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt;<br>
&gt; &gt; SRA OSS, Inc. Japan<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Best Regards,<br>
<br>
<br>
-- <br>
Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>&gt;<br>
SRA OSS, Inc. Japan<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Best Regards, <br></div></div>