- PR -

powergresの設定

1
投稿者投稿内容
キック
常連さん
会議室デビュー日: 2005/04/26
投稿数: 44
投稿日時: 2006-10-23 12:08
お世話になります。

Powergresについて詳しい方、おりましょうか?

powergresの状態を確認したところ、下記のメッセージが表示されました。
----------------------------------------------------------------------------
# service powergres status
PowerGres (/home/demodb/demo/db/pgdata) is PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 36
PHP Notice: Use of undefined constant max - assumed 'max' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 36
PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 37
PHP Notice: Use of undefined constant max - assumed 'max' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 37
PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 39
PHP Notice: Use of undefined constant max - assumed 'max' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 39
PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 42
PHP Notice: Use of undefined constant max - assumed 'max' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 42
PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 43
 :
 :
PHP Notice: Use of undefined constant min - assumed 'min' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 98
PHP Notice: Use of undefined constant max - assumed 'max' in /opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.inc on line 98
stopped
#
----------------------------------------------------------------------------

/opt/powergres/admin/apache/htdocs/PowerGresAdmin/scripts/common/setting/guc-def.incのソースは
下記の通りですが、どういった形に設定するのでしょうか?
-------------------------------------------------------------------------------
 :
LINE-36:$guc_def['max_connections'] = array('name'=>'max_connections','context'=>PGC_POS
TMASTER,'type'=>PGC_INT,'initval'=>'100', min=>'1',max=>'262143');
$guc_def['port'] = array('name'=>'port','context'=>PGC_POSTMASTER,'type'=>PGC_IN
T,'initval'=>'5432' , min=>'1',max=>'65535');
LINE-37:$guc_def['rendezvous_name'] = array('name'=>'rendezvous_name','context'=>PGC_POS
TMASTER,'type'=>PGC_STRING,'initval'=>'');
$guc_def['superuser_reserved_connections'] = array('name'=>'superuser_reserved_c
onnections','context'=>PGC_POSTMASTER,'type'=>PGC_INT,'initval'=>'2', min=>'0',m
ax=>'262143');
 :
-------------------------------------------------------------------------------


powergresadminは問題なく稼動しています。

サーバ環境
RedHat ES 3.0
php-4.3.2-8.ent
php-imap-4.3.2-8.ent
php-ldap-4.3.2-8.ent
powergresadmin-php-3.1.0-1

ご教授よろしくお願い申し上げます。

1

スキルアップ/キャリアアップ(JOB@IT)