The system failed to connect to the PostgreSQL database error

KuTtY

Registered
Mar 24, 2019
3
1
3
India
cPanel Access Level
Root Administrator
Account Creation Status: failed

(XID 3xxp4q) The system failed to connect to the “PostgreSQL” database “postgres” because of an error: connection_failure (could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?) at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1228.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello @KuTtY,

Can you confirm if PostgreSQL was uninstalled (or it's RPMs removed) prior to encountering this error message? To check, review the output from the command below:

rpm -qa|grep postgresql
Thank you.