Home Forums HDP on Linux – Installation Postgresql version issue (Ambari)

This topic contains 2 replies, has 2 voices, and was last updated by  Lebing XIE 9 months ago.

  • Creator
    Topic
  • #40931

    Lebing XIE
    Member

    hello,

    I installed ambari following the guide. The postgresql installed is 9.1.4 instead 8.4.31 mentioned in guide. The ambari setup script was broken and I have to fix it manually. E.g.

    PG_ST_CMD = “/sbin/service postgresql-9.1 status”
    PG_INITDB_CMD = “/sbin/service postgresql-9.1 initdb”
    PG_START_CMD = “/sbin/service postgresql-9.1 start”
    PG_RESTART_CMD = “/sbin/service postgresql-9.1 restart”
    PG_STATUS_RUNNING = “running”
    PG_HBA_DIR = “/var/lib/pgsql/9.1/data/”

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Postgresql version issue (Ambari)’ is closed to new replies.

  • Author
    Replies
  • #41760

    Lebing XIE
    Member

    Thank you! I manually installed PSS 8.4.13, solved this issue!

    Collapse
    #41089

    Dave
    Moderator

    Hi Lebing,

    What version of HDP were you installing?
    8.4.13 is used in HDP, however it is pulled from the repository configured in the OS and not from the Hortonworks ambari.repo

    Thanks

    Dave

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)