<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=" \<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"</div><div><br></div><div>1. I'm not sure what path to specify if I have to configure using "./configure --with-pgsql=  " <br></div><div>2. In 2.5, there is a step to set <br><pre class="gmail-PROGRAMLISTING">pgpool.pg_ctl = '/usr/local/pgsql/bin/pg_ctl' 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 <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> 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 <<a href="mailto:praveenssit@gmail.com" target="_blank">praveenssit@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
> <br>
> May I know the equivalent package name for postgresql-libs and<br>
> postgresql-devel on Ubuntu 16.04 ? Without installing them, my compilation<br>
> got successful and I'm able to run pgpool. But I have issues connecting to<br>
> backend servers.<br>
<br>
I think the PostgreSQL library package may have been installed<br>
in your environment be default.<br>
<br>
> Also, it is described in the links below to execute scripts under template1<br>
> DB. Where should this be executed ? On all my 3 postgres servers ?<br>
> <br>
> <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>
> <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>
> <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>
> On Tue, Jun 9, 2020 at 6:03 AM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> wrote:<br>
> <br>
> > hello,<br>
> ><br>
> > On Mon, 8 Jun 2020 16:04:33 +0530<br>
> > Praveen Kumar K S <<a href="mailto:praveenssit@gmail.com" target="_blank">praveenssit@gmail.com</a>> wrote:<br>
> ><br>
> > > Hello All,<br>
> > ><br>
> > > I'm trying to install pgpool on Ubuntu 16.04 by compiling from source and<br>
> > > 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>
> > ><br>
> > > Next steps at 2.6 2.7 2.8 are confusing. It says to execute scripts and<br>
> > set<br>
> > > some values. I would like to know where these steps should be performed.<br>
> > I<br>
> > > have 3 postgres servers with streaming enabled on a different set of VMs.<br>
> > > The one I'm trying to install pgpool is on a different VM. Am I missing<br>
> > > something?<br>
> ><br>
> > PostgreSQL libraries are required while compiling pgpool.<br>
> ><br>
> > You need to install postgresql-libs and postgresql-devel,<br>
> > and specify the path using "./configure --with-pgsql=  "<br>
> ><br>
> > > --<br>
> > ><br>
> > ><br>
> > > *Regards,*<br>
> > ><br>
> > ><br>
> > > *K S Praveen Kumar*<br>
> ><br>
> ><br>
> > --<br>
> > Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
> > SRA OSS, Inc. Japan<br>
> ><br>
> <br>
> <br>
> -- <br>
> <br>
> <br>
> *Regards,*<br>
> <br>
> <br>
> *K S Praveen Kumar*<br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><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="'comic sans ms', 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>