[pgpool-general: 7129] Re: ERROR: connection to socket

Bo Peng pengbo at sraoss.co.jp
Tue Jul 7 21:09:50 JST 2020


Hello,

On Mon, 6 Jul 2020 11:20:35 +0530
Praveen Kumar K S <praveenssit at gmail.com> wrote:

> Hello,
> 
> I'm getting this error message. Can you please help on this issue?
> 
> postgres at pgp1:~$ pcp_node_count
> Password:
> ERROR: connection to socket "/tmp/.s.PGSQL.9898" failed with error "No such
> file or directory"
> 
> postgres at pgp1:~$ pcp_proc_info -a
> Password:
> ERROR: connection to socket "/tmp/.s.PGSQL.9898" failed with error "No such
> file or directory"

How did you configure "pcp_socket_dir" parameter in pgpool.conf?
You need to use "-h" option to specify the pcp socket directory specified in "pcp_socket_dir".
If you don't specify "-h" option, "/tmp" is used by default.

> 
> -- 
> 
> 
> *Regards,*
> 
> 
> *K S Praveen KumarM: +91-9986855625 *


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan


More information about the pgpool-general mailing list