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:
    150
    Likes Received:
    0
    Trophy Points:
    16
    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:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator

Share This Page