<div dir="ltr"><div>Hi Tatsuo, <br></div><div><br></div><div>I got the same issue and have collected 'strace -f' log. I've attached it gzipped to this email. I hope it will be accepted by your maillist manager. <br></div><div>As I see there, pgpool doesn't make a try to open the port 9898:<br><br><span style="font-family:monospace">[root@pg-mgrdb2 ~]# grep bind /tmp/pgpool-strace.log<br>[pid 20486] bind(4, {sa_family=AF_INET, sin_port=htons(9000), sin_addr=inet_addr("0.0.0.0")}, 16) = 0<br>[pid 20486] bind(5, {sa_family=AF_UNIX, sun_path="/var/run/postgresql/.s.PGPOOLWD_CMD.9000"}, 110) = 0<br>[pid 20486] bind(6, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=0x000011}, 12) = 0<br>[pid 20484] bind(4, {sa_family=AF_UNIX, sun_path="/var/run/postgresql/.s.PGSQL.9999"}, 110) = 0<br>[pid 20484] bind(5, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0<br>[pid 20484] bind(5, {sa_family=AF_INET, sin_port=htons(9999), sin_addr=inet_addr("0.0.0.0")}, 16) = 0<br>[pid 20484] bind(6, {sa_family=AF_INET6, sin6_port=htons(9999), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0<br>[pid 20508] bind(4, {sa_family=AF_INET, sin_port=htons(9694), sin_addr=inet_addr("0.0.0.0")}, 16) = 0<br>[root@pg-mgrdb2 ~]#<br></span><br></div><div>I hope it gives any hint of what is going on. I'll try to check the source code a bit later. <br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>BR</div><div>Igor Yurchenko<br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 10 Apr 2024 at 23:03, Igor Yurchenko <<a href="mailto:harry.urcen@gmail.com">harry.urcen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi Tatsuo,<div dir="auto"><br></div><div dir="auto">No, pgpool is definitely started. It's reflected in output of ps -ef and ss -pln. It starts listening to 9999, 9000 ports and establish connections to a postgresql cluster.</div><div dir="auto">But both nodes were in state down. But didn't be succeed to make them up because PCP management port 9898 was unavailable. And restart of pgpool didn't help.</div><div dir="auto"><br></div><div dir="auto">I haven't figured out to check with strace. Unfortunately, the cluster was redeployed, and the issue gone. </div><div dir="auto">If I meet it, I check it.</div><div dir="auto">Thanks for advice...</div><div dir="auto"><br></div><div dir="auto">BR</div><div dir="auto">Igor Yurchenko</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 5 Apr 2024, 12:54 Tatsuo Ishii, <<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Hi guys,<br>
> <br>
> I broke my brain completely. For unclear reasons, pgpool 4.2 (see the same<br>
> on pgpool 3.6) doesn't connect to port 9898 for a PCP management nor create<br>
> respective socket (/var/run/postgresql/.s.*.9898). And of course, all pcp_*<br>
> tools fail.<br>
<br>
I assume that pgpool does not start. Can you share pgpool log and the<br>
out put of "strace -f" against pgpool starting up?<br>
<br>
Best reagards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS LLC<br>
English: <a href="http://www.sraoss.co.jp/index_en/" rel="noreferrer noreferrer" target="_blank">http://www.sraoss.co.jp/index_en/</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div></div></div>
</blockquote></div>