[pgpool-general: 5032] Re: pgpoolAdmin - /var/www/html/pgpoolAdmin-3.5.3/conf/pgmgt.conf.php write denied

Bo Peng pengbo at sraoss.co.jp
Fri Sep 30 14:28:21 JST 2016


Hi,

Did you changed the permission of "conf" directory?

 # chmod 744 conf
 # ll -d conf
 drwxr--r--. 2 apache root 27  9月 30 14:21 conf

On Tue, 13 Sep 2016 18:33:43 +0000
Ashish Chauhan <Ashish.Chauhan at support.com> wrote:

> Hi,
> Below is my test environment.
> 2 DB servers: 9.4 postgres
> 1 PgPool and PgpoolAdmin server:
> pgpool - version 3.5.4 (ekieboshi)
> pgpoolAdmin - 3.5.3
> php - PHP 5.6.25-2+deb.sury.org~xenial+1 (cli)
> 
> While setting up pgpoolAdmin I am getting error "/var/www/html/pgpoolAdmin-3.5.3/conf/pgmgt.conf.php write denied", I gave full access(755) to apache user for pgmgt.conf.php file but still having same issue. Below error message from apache2 log.
> 
> "[Tue Sep 13 18:25:12.719093 2016] [:error] [pid 19279] [client xx.xx.xx.167:57118] PHP Notice:  Use of undefined constant _PGPOOL2_VERSION - assumed '_PGPOOL2_VERSION' in /var/www/html/pgpoolAdmin-3.5.3/bootstrap.php on line 33, referer: http://xx.xx.xx.xx/pgpoolAdmin-3.5.3/install/checkDirectory.php"
> 
> Thanks,
> Ashish Chauhan


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



More information about the pgpool-general mailing list