----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/19586/#review38301 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On March 24, 2014, 3:36 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/19586/ > ----------------------------------------------------------- > > (Updated March 24, 2014, 3:36 p.m.) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-5186 > https://issues.apache.org/jira/browse/AMBARI-5186 > > > Repository: ambari > > > Description > ------- > > 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 ~]# > > > > Diffs > ----- > > ambari-server/src/main/python/ambari-server.py 47dc99e > ambari-server/src/test/python/TestAmbariServer.py 54e4077 > > Diff: https://reviews.apache.org/r/19586/diff/ > > > Testing > ------- > > > Thanks, > > Andrew Onischuk > >
