Repository: ambari Updated Branches: refs/heads/trunk d00fc4c6f -> 01a08cfa5
AMBARI-15797. Ambari installation failing in RHEL7 during setup (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/01a08cfa Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/01a08cfa Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/01a08cfa Branch: refs/heads/trunk Commit: 01a08cfa5f5f18468b3a1da800efad1b6e60dc32 Parents: d00fc4c Author: Andrew Onishuk <[email protected]> Authored: Mon Apr 11 12:07:57 2016 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Mon Apr 11 12:07:57 2016 +0300 ---------------------------------------------------------------------- .../src/main/python/ambari_server/dbConfiguration_linux.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/01a08cfa/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py index 754873f..5a3e290 100644 --- a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py +++ b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py @@ -335,9 +335,9 @@ class PGConfig(LinuxDBMSConfig): else: PG_INITDB_CMD = "%s %s initdb" % (SERVICE_CMD, PG_SERVICE_NAME) - PG_START_CMD = "%s %s start" % (SERVICE_CMD, PG_SERVICE_NAME) - PG_RESTART_CMD = "%s %s restart" % (SERVICE_CMD, PG_SERVICE_NAME) - PG_HBA_RELOAD_CMD = AMBARI_SUDO_BINARY + " su postgres -l -c '%s %s reload'" % (SERVICE_CMD, PG_SERVICE_NAME) + PG_START_CMD = AMBARI_SUDO_BINARY + " %s %s start" % (SERVICE_CMD, PG_SERVICE_NAME) + PG_RESTART_CMD = AMBARI_SUDO_BINARY + " %s %s restart" % (SERVICE_CMD, PG_SERVICE_NAME) + PG_HBA_RELOAD_CMD = AMBARI_SUDO_BINARY + " %s %s reload" % (SERVICE_CMD, PG_SERVICE_NAME) PG_HBA_CONF_FILE = None PG_HBA_CONF_FILE_BACKUP = None
