ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-5186) On EC2, AMI for RHEL 5.7 does not start postgres on setup
Date Mon, 24 Mar 2014 15:46:44 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945238#comment-13945238
] 

Andrew Onischuk commented on AMBARI-5186:
-----------------------------------------

Committed to 1.5.0

> On EC2, AMI for RHEL 5.7 does not start postgres on setup
> ---------------------------------------------------------
>
>                 Key: AMBARI-5186
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5186
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>
> Using a RHEL-5.7_GA-x86_64-3-Hourly2 (ami-83573eea). Would not start postgres
> in "ambari-server setup".
>     
>     
>     Enter advanced database configuration [y/n] (n)?
>     Default properties detected. Using built-in database.
>     Checking PostgreSQL...
>     Running initdb: This may take upto a minute.
>     About to start PostgreSQL
>     ERROR: Exiting with exit code 1.
>     REASON: Unable to start PostgreSQL server. Exiting
>     
> So I manually started postgres, and then re-ran setup and it worked...
>     
>     
>     [root@ip-10-38-174-183 ~]# service postgresql start
>     Starting postgresql service:                               [  OK  ]
>     [root@ip-10-38-174-183 ~]# ambari-server setup -s
>     Using python  /usr/bin/python2.6
>     Setup ambari-server
>     Checking SELinux...
>     SELinux status is 'enabled'
>     SELinux mode is 'permissive'
>     WARNING: SELinux is set to 'permissive' mode and temporarily disabled.
>     OK to continue [y/n] (y)?
>     Ambari-server daemon is configured to run under user 'root'. Change this setting
[y/n] (n)?
>     Adjusting ambari-server permissions and ownership...
>     Checking iptables...
>     Checking JDK...
>     Do you want to change Oracle JDK [y/n] (n)?
>     Completing setup...
>     Configuring database...
>     Enter advanced database configuration [y/n] (n)?
>     Default properties detected. Using built-in database.
>     Checking PostgreSQL...
>     Configuring local database...
>     Connecting to the database. Attempt 1...
>     Configuring PostgreSQL...
>     Restarting PostgreSQL
>     Ambari Server 'setup' completed successfully.
>     [root@ip-10-38-174-183 ~]# 
>     



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message