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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    154
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the output of the following commands:

    Code:
    lsof -i :5432
    netstat -an|grep :5432
    Thank you.
     
Loading...

Share This Page