<div dir="ltr">Hello,<div>We use pgpool for load balancing two postgres databases that has replicated using streaming replication. I&#39;ve only enabled load balancing feature and other options are off.</div><div>When I&#39;m trying to restart pgpool with systemctl I get an error like this:</div><div><br></div><div><div>Aug 20 14:34:40 Beta pgpool[16184]:  [16184] [No Connection]@[No Connection] FATAL:  failed to bind a socket: &quot;/tmp/.s.PGSQL.5432&quot;</div><div>Aug 20 14:34:40 Beta pgpool[16184]:  [16184] [No Connection]@[No Connection] DETAIL:  bind socket failed with error: &quot;Address already in use&quot;</div></div><div><br></div><div>Seems like pgpool can not delete it&#39;s socket files so after being stopped it can&#39;t start. But socket files have full permissions:</div><div><div>srwxrwxrwx 1 postgres postgres 0 Aug 20 14:24 /tmp/.s.PGSQL.5432</div><div>srwxrwxrwx 1 postgres postgres 0 Aug 20 14:24 /tmp/.s.PGSQL.9898</div></div><div><br></div><div>I&#39;ve attached my configuration file.</div><div><div>This is pgpool version I&#39;m using which latest version if Ubuntu 16.04 apparently.</div><div>pgpool-II version 3.4.3 (tataraboshi)</div></div><div><div><br></div><div>Have I configured something wrong or I&#39;ve to install latest version?</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Live long and prosper,<div><a href="http://k1h.ir/" target="_blank">K1.H</a></div></div></div></div></div>
</div></div>