[pgpool-general: 8191] Re: Pgoool2_exporter issue with package

Bo Peng pengbo at sraoss.co.jp
Mon May 30 16:00:58 JST 2022


Hello,

> About the password I asked if it possible to use an md5 password  as an
> environment variable instead of a plain text?

No.
Only a plain text password can be accepted.

> On Mon, 30 May 2022 at 3:54 Bo Peng <pengbo at sraoss.co.jp> wrote:
> 
> > Hello,
> >
> > > I build it on linux instead of my mac and now it’s working.
> > >
> > > One more question is it possible to send pg password to the
> > pgpool_exporter
> > > not as plain text?
> >
> > No.
> > So far, pgpool_exporter can only read password from environment variable.
> >
> > > On Sun, 29 May 2022 at 10:07 Avi Raboah <avi.raboah at gmail.com> wrote:
> > >
> > > > Yes, I can.
> > > >
> > > > The error is -
> > > >
> > > > : not found2_exporter: line 1: ����
> > > > /bin/pgpool2_exporter: line 1: syntax error: unexpected word (expecting
> > > > ")")
> >
> > Sorry, because I am not familiar with MacOS, it is difficult to fix this
> > error.
> > It would be appreciated if you could submit a pull request to fix this
> > error.
> >
> > Regards,
> >
> > > > The source code compiled on mac
> > > >
> > > > Thanks,
> > > > Avi
> > > > On Thu, 26 May 2022 at 5:38 Bo Peng <pengbo at sraoss.co.jp> wrote:
> > > >
> > > >> Hello,
> > > >> > Hi,
> > > >> >
> > > >> > I go over the readme file and I build the source code on my mac.
> > > >> >
> > > >> > Then I use the provided dockerfile in order to build the container.
> > > >> >
> > > >> > But when I am trying to run the container I got a golang error about
> > > >> > “unexpected word” or something like that. I saw that I have a little
> > > >> > difference between the container I packed and the container under
> > > >> > pgpool/pgpool2_exporter.
> > > >> >
> > > >> > Did you encounter with that issue?
> > > >>
> > > >> No.
> > > >> Could you show the full error message?
> > > >>
> > > >> --
> > > >> Bo Peng <pengbo at sraoss.co.jp>
> > > >> SRA OSS, Inc. Japan
> > > >> http://www.sraoss.co.jp/
> > > >>
> > > >
> >
> >
> > --
> > Bo Peng <pengbo at sraoss.co.jp>
> > SRA OSS, Inc. Japan
> > http://www.sraoss.co.jp/
> >


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
http://www.sraoss.co.jp/



More information about the pgpool-general mailing list