[pgpool-general: 6902] Re: latest PgpoolAdmin problem

Radosław Szczygieł radoslaw.szczygiel at interia.pl
Wed Mar 4 18:48:12 JST 2020


Hi,[root at pgvtest4 ~]# rpm -qa | grep phpphp-pdo-5.4.16-46.el7.x86_64php-cli-5.4.16-46.el7.x86_64php-common-5.4.16-46.el7.x86_64php-pgsql-5.4.16-46.el7.x86_64php-5.4.16-46.el7.x86_64php-process-5.4.16-46.el7.x86_64httpd log when I try to login to pgpoolAdmin[Wed Mar 04 10:05:45.201459 2020] [:error] [pid 9562] [client 172.30.173.36:51080] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/pgpoolAdmin/templates_c/3a4f6f0d327fc7bc3ea86f63906a1bf934ca50c7.file.footer.tpl.php on line 29[Wed Mar 04 10:05:56.060383 2020] [:error] [pid 9565] [client 172.30.173.36:51097] PHP Fatal error:  Call to undefined function hash_equals() in /var/www/html/pgpoolAdmin/login.php on line 85, referer: http://172.31.74.164/pgpoolAdmin/login.phpRadoslaw Szczygiel--Pozdrawiam
Radosław SzczygiełTemat: Re: [pgpool-general: 6893] latest PgpoolAdmin problemData: 2020-03-04 3:50Nadawca: "Bo Peng" Adresat: "Radosław Szczygieł" ; DW: "pgpool-general at pgpool.net" ; > Hello,
> On Mon, 02 Mar 2020 10:53:32 +0100
> Radosław Szczygieł  wrote:
> 
> > Hi Bo,I added md5 pass to pcp.conf on old pgpool version and do the same on new. Its not that problem because if pcp.conf dont have user and pass after click login on login page pgpooladmin it only refresh page. In my pgpooladmin it show blank page when I write good or bad user and pass or write whatever.Radosław Szczygieł Temat: Re: [pgpool-general: 6893] latest PgpoolAdmin problemData: 2020-03-02 10:34Nadawca: "Bo Peng" Adresat: "Radosław Szczygieł" ; DW: pgpool-general at pgpool.net; > Hello,
> 
> Could you show me your php version and php error log?
> 
> - the result of "rpm -qa | grep php"
> - /var/log/httpd/error_log
> 
> > > 
> > > On Thu, 27 Feb 2020 11:29:50 +0100
> > > Radosław Szczygieł  wrote:
> > > 
> > > > 
> > > > 
> > > > Hi Pgpool team,I tried to install the latest version of pgpoolAdmin (https://www.pgpool.net/yum/rpms/4.1/redhat/rhel-7-x86_64/pgpoolAdmin-4.1.0-1pgdg.rhel7.noarch.rpm) but I encountered a problem. I do the same steps to install it like on my version 3.7 (chmod, chcon etc...). On install page everything was configured correctly. On l
> > > 
> > > Between 3.7 - 4.1 there are some changes in login.php.
> > > 
> > > You need to include "username:password" in pcp.conf.
> > > 
> > > For example:
> > > 
> > > # echo postgres:`pg_md5 password` >> /etc/pgpool-II/pcp.conf
> > > 
> > > -- 
> > > Bo Peng 
> > > SRA OSS, Inc. Japan
> > > 
> 
> 
> -- 
> Bo Peng 
> SRA OSS, Inc. Japan
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20200304/8ec36e96/attachment.html>


More information about the pgpool-general mailing list