Ambari
  1. Ambari
  2. AMBARI-1792

Postgres init commands change on Fedora 16+

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Fedora 16 (and higher)

      Description

      Migration to systemd instead of initd began in Fedora 15 and the postgres version changed to 9 in Fedora 16. As a consequence, in Fedora 16+ the postgres initdb commands have changed and the /usr/sbin/ambari-server.py script cannot initialize the database.

      Fortunately, there is a Fedora project (cumin) which has dealt with this exact issue from a shell script and should yield a patch

      1. AMARI-1792.patch
        0.9 kB
        Trevor McKay

        Activity

        Chad Roberts made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Trevor McKay made changes -
        Attachment AMARI-1792.patch [ 12617477 ]
        Trevor McKay made changes -
        Attachment initdb.patch [ 12601198 ]
        Trevor McKay made changes -
        Attachment static-web.patch [ 12609480 ]
        Trevor McKay made changes -
        Attachment static-web.patch [ 12609480 ]
        Mahadev konar made changes -
        Fix Version/s 1.5.0 [ 12325019 ]
        Fix Version/s 1.4.1 [ 12324902 ]
        Trevor McKay made changes -
        Attachment initdb.patch [ 12600591 ]
        Trevor McKay made changes -
        Attachment initdb.patch [ 12601198 ]
        Mahadev konar made changes -
        Fix Version/s 1.4.1 [ 12324902 ]
        Trevor McKay made changes -
        Attachment initdb.patch [ 12600591 ]
        Yusaku Sako made changes -
        Fix Version/s 1.3.1 [ 12324292 ]
        Mahadev konar made changes -
        Assignee Trevor McKay [ tmckay ]
        Mahadev konar made changes -
        Field Original Value New Value
        Fix Version/s 1.3.1 [ 12324292 ]
        Trevor McKay created issue -

          People

          • Assignee:
            Trevor McKay
            Reporter:
            Trevor McKay
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development