<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I have installed only below dependencies on Ubuntu Server 16.04 till now.<br></div><div><br></div><div>buildDeps=&quot; \<br>docbook \<br>docbook-dsssl \<br>docbook-xsl \<br>libxml2-utils \<br>openjade1.3 \<br>opensp \<br>xsltproc \<br>openjade \<br>postgresql-server-dev-9.6 \<br>postgresql-common \<br>libpq-dev \<br>build-essential \<br>make \<br>gcc \<br>curl \<br>tar&quot;</div><div><br></div><div>1. I&#39;m not sure what path to specify if I have to configure using &quot;./configure --with-pgsql=  &quot; <br></div><div>2. In 2.5, there is a step to set <br><pre class="gmail-PROGRAMLISTING">pgpool.pg_ctl = &#39;/usr/local/pgsql/bin/pg_ctl&#39; in postgresql.conf But pg_ctl is not there in my postgres server<br></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 9, 2020 at 12:09 PM Bo Peng &lt;<a href="mailto:pengbo@sraoss.co.jp" target="_blank">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>
On Tue, 9 Jun 2020 11:02:34 +0530<br>
Praveen Kumar K S &lt;<a href="mailto:praveenssit@gmail.com" target="_blank">praveenssit@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello,<br>
&gt; <br>
&gt; May I know the equivalent package name for postgresql-libs and<br>
&gt; postgresql-devel on Ubuntu 16.04 ? Without installing them, my compilation<br>
&gt; got successful and I&#39;m able to run pgpool. But I have issues connecting to<br>
&gt; backend servers.<br>
<br>
I think the PostgreSQL library package may have been installed<br>
in your environment be default.<br>
<br>
&gt; Also, it is described in the links below to execute scripts under template1<br>
&gt; DB. Where should this be executed ? On all my 3 postgres servers ?<br>
&gt; <br>
&gt; <a href="https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/install-pgpool-recovery.html" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/install-pgpool-recovery.html</a><br>
&gt; <a href="https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/install-pgpool-regclass.html" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/install-pgpool-regclass.html</a><br>
&gt; <a href="https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/create-installlock-table.html" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/pgpool-II-4.1.1/en/html/create-installlock-table.html</a><br>
<br>
Yes. You should execute on 3 PostgreSQL server<br>
<br>
As described in the links above, if you are using PostgreSQL 9.4 or later,<br>
and if you are not going to use the native replication mode,<br>
you can skip 2,6 and 2.7 section.<br>
<br>
[2.6. Installing pgpool-regclass]<br>
If you are using PostgreSQL 9.4 or later, you can skip this section. <br>
<br>
[2.7. Creating insert_lock table]<br>
If you are not going to use the native replication mode, you can skip this section. <br>
<br>
<br>
&gt; On Tue, Jun 9, 2020 at 6:03 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 Mon, 8 Jun 2020 16:04:33 +0530<br>
&gt; &gt; Praveen Kumar K S &lt;<a href="mailto:praveenssit@gmail.com" target="_blank">praveenssit@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hello All,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;m trying to install pgpool on Ubuntu 16.04 by compiling from source and<br>
&gt; &gt; &gt; done till <a href="https://www.pgpool.net/docs/latest/en/html/install-pgpool.html" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/latest/en/html/install-pgpool.html</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Next steps at 2.6 2.7 2.8 are confusing. It says to execute scripts and<br>
&gt; &gt; set<br>
&gt; &gt; &gt; some values. I would like to know where these steps should be performed.<br>
&gt; &gt; I<br>
&gt; &gt; &gt; have 3 postgres servers with streaming enabled on a different set of VMs.<br>
&gt; &gt; &gt; The one I&#39;m trying to install pgpool is on a different VM. Am I missing<br>
&gt; &gt; &gt; something?<br>
&gt; &gt;<br>
&gt; &gt; PostgreSQL libraries are required while compiling pgpool.<br>
&gt; &gt;<br>
&gt; &gt; You need to install postgresql-libs and postgresql-devel,<br>
&gt; &gt; and specify the path using &quot;./configure --with-pgsql=  &quot;<br>
&gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; *Regards,*<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; *K S Praveen Kumar*<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; <br>
&gt; <br>
&gt; *Regards,*<br>
&gt; <br>
&gt; <br>
&gt; *K S Praveen Kumar*<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"><font style="font-family:courier new,monospace" size="1"><b style="color:rgb(102,102,102)">Regards,<br><br></b></font><div style="color:rgb(102,102,102)"><font size="1"><b><font face="&#39;comic sans ms&#39;, sans-serif"><font style="font-family:courier new,monospace" size="1">K S Praveen Kumar<br>M: +91-9986855625 </font><br></font></b></font></div></div></div>