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

Bo Peng pengbo at sraoss.co.jp
Thu Nov 15 12:30:33 JST 2018


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
------

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



More information about the pgpool-hackers mailing list