duranduran

Well-Known Member
Apr 30, 2004
198
0
166
Hi, i have problems with Pgsql in one server. When i try to access CPANEL i have the message "The PostgreSQL server is currently offline.".

My pgstartup.log :

Code:
LOG:  could not bind IPv4 socket: Address already in use
HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
WARNING:  could not create listen socket for "localhost"
FATAL:  could not create any TCP/IP sockets
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
LOG:  logger shutting down
I have tried all, reconfigure, reboot, reinstall...
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello duranduran,

Please run the following commands and provide the output:

Code:
lsof -i :5432
netstat -an|grep :5432
Thanks.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Do you have a firewall that is running such as CSF or APF? Can you take the firewall down and try to restart postgres again?