ERROR: connection to host "localhost" failed with error "Connection timeout"
su root -c "echo -e 'password'|/usr/local/bin/pcp_watchdog_info -p 9898 -h localhost -U pgpool"
will indicate that the status of the node is LOST or SHUTDOWN or DEAD. This can happens due to network outage (bug in pgpool service)
/etc/init.d/pgService status
/etc/init.d/vpostgres status
/etc/init.d/pgService start
/etc/init.d/vpostgres start
/etc/init.d/pgService stop
/etc/init.d/vpostgres stop
rm -rf /tmp/pgpool_status
/etc/init.d/vpostgres start
/etc/init.d/pgService start
Run below command for force stop
pkill -e -9 pgpool
rm /tmp/.s.PGSQL.*
rm /tmp/.s.PGPOOL.*
rm /tmp/pgpool_status
rm /var/run/pgpool/pgpool.pid
rm -rf /var/run/pgpool/socket
fuser -k 9999/tcp
/etc/init.d/pgService status
/etc/init.d/pgService start
/etc/init.d/pgService stop
fuser -k 9999/tcp >/dev/null 2>&1
rm /tmp/.s.PGSQL.* >/dev/null 2>&1
rm /tmp/.s.PGPOOL.* >/dev/null 2>&1
rm /tmp/pgpool_status >/dev/null 2>$1
rm /var/run/pgpool/pgpool.pid >/dev/null 2>&1
rm -rf /var/run/pgpool/socket >/dev/null 2>&1
/etc/init.d/pgService status
/etc/init.d/pgService start
su root -c "cat /usr/local/etc/pgpool.pwd|/usr/local/bin/pcp_recovery_node -v -h delegateIP -p 9898 -U pgpool -n <node_id>"