[pgpool-hackers: 3127] Re: missing pg_enc utility in RPM installation

Muhammad Usama m.usama at gmail.com
Fri Nov 16 06:15:57 JST 2018


Hi Peng,

On Thu, Nov 15, 2018 at 8:30 AM Bo Peng <pengbo at sraoss.co.jp> wrote:

> Hi usama,
>
> I think you downloaded the pgpool rpms from pgdg repository.
>
> -----
> # wget
> https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-6-x86_64/pgpool-II-10-4.0.1-1.rhel6.x86_64.rpm
> # rpm -plq pgpool-II-10-4.0.1-1.rhel6.x86_64.rpm | grep pg_enc
> /usr/pgpool-10/bin/pg_enc
>

Yes I guess so,
This is what I have done.

rpm -Uvh
https://yum.postgresql.org/${PGMAJOR}/redhat/rhel-6-x86_64/pgdg-redhat10-10-2.noarch.rpm
yum -y install pgpool-II-10-4.0.1

All  pgpool binaries including pg_md5 and all pcp_* utilities have symlinks
in '/usr/bin' directory but pg_enc's is missing
e.g.
/usr/bin/pg_md5  -> /etc/alternatives/pgpool-pg_md5 ->
/usr/pgpool-10/bin/pg_md5

Thanks
Best Regards
Muhammad Usama

------
>
> On Thu, 15 Nov 2018 11:46:36 +0900
> Bo Peng <pengbo at sraoss.co.jp> wrote:
>
> > Hi usama,
> >
> > I tried to install Pgpool 4.0.1 for PG V10 on centos 6.
> > But it seems pg_enc is correctly installed in /usr/bin/.
> >
> > Did you miss something?
> >
> > ------------------------
> > # wget
> http://www.pgpool.net/yum/rpms/4.0/redhat/rhel-6-x86_64/pgpool-II-pg10-4.0.1-1pgdg.rhel6.x86_64.rpm
> >
> > # cat /etc/redhat-release
> > CentOS release 6.10 (Final)
> >
> > # rpm -ivh pgpool-II-pg10-4.0.1-1pgdg.rhel6.x86_64.rpm
> > warning: pgpool-II-pg10-4.0.1-1pgdg.rhel6.x86_64.rpm: Header V4 RSA/SHA1
> Signature, key ID 60ae0e48: NOKEY
> > Preparing...                ###########################################
> [100%]
> >    1:pgpool-II-pg10         ###########################################
> [100%]
> >
> >
> > # which pg_enc
> > /usr/bin/pg_enc
> >
> > # ll /usr/bin/pg_enc
> > -rwxr-xr-x. 1 root root 109168 Oct 31 09:52 /usr/bin/pg_enc
> > ---------------------------
> >
> >
> > On Wed, 14 Nov 2018 18:05:19 +0500
> > Muhammad Usama <m.usama at gmail.com> wrote:
> >
> > > Hi
> > > I have looked into this again. and seems like the pg_enc is actually
> > > installed but unlike other pgpool utilities it is not present in
> /usr/bin/
> > > directory
> > > pg_enc after installation is located in  /usr/pgpool-10/bin/pg_enc
> directory
> > >
> > > Thanks
> > > Best Regards
> > > Muhammad Usama
> > >
> > >
> > > On Wed, Nov 14, 2018 at 5:40 PM Muhammad Usama <m.usama at gmail.com>
> wrote:
> > >
> > > > Hi peng,
> > > >
> > > > I installed the Pgpool-II 4.0.1 rpm for PG V10 on centos 6 and
> > > > apparently the RPM does not install the pg_enc utility added in
> Pgpool-II
> > > > V4.0.
> > > >
> > > >
> > > > Thanks
> > > > Best Regards
> > > > Muhammad Usama
> > > >
> > > >
> > > >
> > > >
> >
> >
> > --
> > Bo Peng <pengbo at sraoss.co.jp>
> > SRA OSS, Inc. Japan
> >
> > _______________________________________________
> > pgpool-hackers mailing list
> > pgpool-hackers at pgpool.net
> > http://www.pgpool.net/mailman/listinfo/pgpool-hackers
> >
>
>
> --
> Bo Peng <pengbo at sraoss.co.jp>
> SRA OSS, Inc. Japan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20181116/ece825d8/attachment.html>


More information about the pgpool-hackers mailing list