Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3109 Overhaul the deployment and testing modules
  3. BIGTOP-3139

Failed to deploy Ambari on CentOS/Fedora cause no service command available

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • None
    • None

    Description

      Log:

      Error: /Stage[main]/Ambari::Server/Exec[server setup]/returns: change from notrun to 0 failed: Using python  /usr/bin/python
      Setup ambari-server
      Checking SELinux...
      WARNING: Could not run /usr/sbin/sestatus: OK
      Customize user account for ambari-server daemon [y/n] (n)? 
      Adjusting ambari-server permissions and ownership...
      Checking firewall status...
      Checking JDK...
      WARNING: JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/ must be valid on ALL hosts
      WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
      Checking GPL software agreement...
      GPL License for LZO: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
      Enable Ambari Server to download and install GPL Licensed LZO packages [y/n] (n)? 
      Completing setup...
      Configuring database...
      Enter advanced database configuration [y/n] (n)? 
      Configuring database...
      Default properties detected. Using built-in database.
      Configuring ambari database...
      Checking PostgreSQL...
      Running initdb: This may take up to a minute.
      Initializing database ... OK
      
      
      About to start PostgreSQL
      ERROR: Exiting with exit code 127. 
      REASON: Unable to start PostgreSQL server. Exiting
      
      Notice: /Stage[main]/Ambari::Server/Service[ambari-server]: Dependency Exec[server setup] has failures: true
      Warning: /Stage[main]/Ambari::Server/Service[ambari-server]: Skipping because of failed dependencies
      Notice: /Stage[main]/Ambari::Agent/Service[ambari-agent]/ensure: ensure changed 'stopped' to 'running'
      Notice: Finished catalog run in 54.02 seconds
      

      Ref:
      https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests_BIGTOP-3122/COMPONENTS=ambari.bigtop-utils@ambari,OS=centos-7-x86_64-deploy/26/console

      Attachments

        Activity

          People

            evans_ye Evans Ye
            evans_ye Evans Ye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: