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 9.2 don't run

Discussion in 'Database Discussions' started by urgido, Oct 1, 2014.

  1. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hi guys
    I tried to run postgresql 9.2 but I don't have luck

    Code:
    [root@cdd lib]# service postgresql-9.2 initdb
    Initializing database: mkdir: cannot create directory `/var/lib/pgsql/9.2/data/pg_log': File exists
                                                               [FAILED]
    
    I am on CentOS release 6.5 (Final) x86_64 x86_64 x86_64 GNU/Linux

    Any clue?
    Thank you!!!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
  4. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    If I try to reinstall I got this:

     
  5. urgido

    urgido Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Now, this is what i got
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The cPanel installer that's supported is going to install an earlier version of PostgreSQL. Is that what you want? If so, please ensure you undo the custom changes you made when attempting to install the newer version before proceeding.

    Thank you.
     
Loading...

Share This Page