<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I've been setting up a test for streaming replication failover:</div><div><br></div><div>I have pgpool, a primary database and a secondary database each running on separate servers</div><div><br></div><div>pgpool 3.2.2</div><div>postgres 9.2.1</div><div>CentOS 6.3</div><div>php 5.3.3</div><div><br></div><div>Streaming replication is working.&nbsp;</div><div><br></div><div>But, I've had some trouble getting pgpoolAdmin to work.</div><div><br></div><div>first there was a problem related to an unset timezone (a php 5.1 issue?). After setting the timezone i my php.ini file I started getting this error:</div><div><br></div><div>[Tue Jul 02 16:47:02 2013] [error] [client ::1] PHP Notice: &nbsp;Undefined offset: 2 in /var/www/html/admin-tool/templates_c/2b624f64ab281dde67267c952c79a7a8c8b3c980.file.innerLog.tpl.php on line 64, referer: <a href="http://localhost/admin-tool/status.php">http://localhost/admin-tool/status.php</a></div><div><br></div><div>As a temporary work around, I removed the date function from the footer copywrite notice</div><div><br></div><div>pcp_node_info is working from the command line:</div><div><br></div><div>$ &nbsp;./pcp_node_info 0 localhost 9898 postgres pgpoolAdmin 0</div><div>10.0.204.51 5432 2 0.500000</div><div>$ ./pcp_node_info 0 localhost 9898 postgres pgpoolAdmin 1</div><div>10.0.204.52 5432 2 0.500000</div><div><br></div><div>but I can't seem to get any node info or status through pgpoolAdmin. I checked the FAQ, but I do not have any errors in the apache error log.</div><div>I also have no problem connecting from my pgpool server to template1 on both database servers.</div><div><br></div><div><br></div><div><img id="3b512ad1-1f23-45c8-9662-a9be00af7673" height="692" width="922" apple-width="yes" apple-height="yes" src="cid:C192AC43-C7FD-4E2D-A76D-FBEB8A0B79B9@videxad.videx.com"></div><div><br></div><div><br></div><div><img id="c9d15700-315a-47c7-94e3-3535c99f1e4d" height="647" width="922" apple-width="yes" apple-height="yes" src="cid:8D418C08-682F-4584-886B-192C841D0B2F@videxad.videx.com"></div><BR />
<BR />
<HR />
Videx,&nbsp;Inc.&nbsp;|&nbsp;1105&nbsp;NE&nbsp;Circle&nbsp;Blvd.&nbsp;|&nbsp;Corvallis,&nbsp;OR&nbsp;97330&nbsp;|&nbsp;(541)&nbsp;738-5500<BR />
This&nbsp;email&nbsp;is&nbsp;intended&nbsp;only&nbsp;for&nbsp;the&nbsp;addressee(s)&nbsp;and&nbsp;may&nbsp;include&nbsp;material&nbsp;that&nbsp;is&nbsp;privileged,&nbsp;confidential,&nbsp;and&nbsp;protected&nbsp;from&nbsp;disclosure.&nbsp;&nbsp;No&nbsp;contract&nbsp;is&nbsp;intended.&nbsp;&nbsp;©2013&nbsp;Videx,&nbsp;Inc.<BR />
<BR />
</body></html>