Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CBF0108FC for ; Thu, 29 Aug 2013 14:22:59 +0000 (UTC) Received: (qmail 30169 invoked by uid 500); 29 Aug 2013 14:22:58 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 30030 invoked by uid 500); 29 Aug 2013 14:22:57 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 28987 invoked by uid 99); 29 Aug 2013 14:22:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 14:22:55 +0000 Date: Thu, 29 Aug 2013 14:22:55 +0000 (UTC) From: "Trevor McKay (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-1792) Postgres init commands change on Fedora 16+ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trevor McKay updated AMBARI-1792: --------------------------------- Attachment: initdb.patch Patch to use postgresql-setup for database initialization if it exists > Postgres init commands change on Fedora 16+ > -------------------------------------------- > > Key: AMBARI-1792 > URL: https://issues.apache.org/jira/browse/AMBARI-1792 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.2.0 > Environment: Fedora 16 (and higher) > Reporter: Trevor McKay > Assignee: Trevor McKay > Attachments: initdb.patch > > > 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 :) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira