Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PostgreSQL {could not create any TCP/IP sockets}

Discussion in 'General Discussion' started by 000, Jun 12, 2013.

  1. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    173
    Likes Received:
    0
    Trophy Points:
    66
    Hi.

    In answer to http://forums.cpanel.net/f5/postgre-do-not-start-191162.html (old and cPanel no accept comments)

    I run
    PHP:
    root@server1 [~]# /etc/init.d/postgresql restart
    Stopping postgresql service:                               [FAILED]
    Starting postgresql service:                               [  OK  ]
    root@server1 [~]#
    Then I run recomendation of Staff cPanel:
    PHP:
    root@server1 [~]# service csf stop;service iptables stop;
    WARNINGThis script should ONLY be used by the init processTo restart csf use the CLI command 'csf -r'

    Stopping csf:(saving iptables)                             [  OK  ]

    iptablesFlushing firewall rules:                         [  OK  ]
    iptablesSetting chains to policy ACCEPTmangle filter na[  OK  ]
    iptablesUnloading modules:                               [  OK  ]
    root@server1 [~]#
    And with iptables off:
    PHP:
    root@server1 [~]# /etc/init.d/postgresql restart
    Stopping postgresql service:                               [FAILED]
    Starting postgresql service:                               [  OK  ]
    root@server1 [~]#
    And pgstartup.log
    PHP:
    could not create any TCP/IP sockets
    Then please more commands of help.

    Thanks
     
    #1 000, Jun 12, 2013
    Last edited: Jun 12, 2013
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,443
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please post the output of the following commands:

    Code:
    lsof -i :5432
    netstat -an|grep :5432
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice