<div dir="ltr"><div><div><div>Dear group,<br><br></div>I have two postgres 9.4  servers with streaming replication configured between them.<br><br></div>When i am trying to configure the pgpool for load balancing, watchdog(heartbeat) &amp; failover i am facing errors.<br><br></div>I have configured the pgpool in two instances on the same in which postgres streaming replication is running already.<br clear="all"><div><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><br></div><div>I am facing the following errors like:<br><br>ERROR: pid 5195: bind(0.0.0.0:distinct) failed. reason: Address already in use<br>2015-07-23 12:25:24 ERROR: pid 5195: unlink(/tmp/.s.PGSQL.9898) failed: No such file or directory<br><br><br></div><div>and also to perform failover when i try to stop the database services in  primary postgres all of pgpool service in two instances are shutting down <br><br></div><div>can you please try to sort of my issue.<br><br></div><div>Please find the attachments for pgpool.conf in two instances and failover.sh in two instances.<br><br></div><div>My concern are do we need to enable failover_command in two pgpool.conf files<br><br></div><div>when i am running the failover.sh script manually in secondary it is running with out any issues.<br></div><div><br></div><div>If you want any reply please reply on the same<br></div><div dir="ltr"><br><br><br><br>Thanks &amp; Regards,<br>G V Gurunadh.</div></div></div>
</div></div></div></div></div></div>