Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F11A18309 for ; Thu, 4 Feb 2016 17:02:27 +0000 (UTC) Received: (qmail 91933 invoked by uid 500); 4 Feb 2016 17:01:52 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 91896 invoked by uid 500); 4 Feb 2016 17:01:52 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 91886 invoked by uid 99); 4 Feb 2016 17:01:52 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 17:01:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 52A4CC0DBD for ; Thu, 4 Feb 2016 17:01:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id cKT9lineDZ3s for ; Thu, 4 Feb 2016 17:01:51 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id F0342439AB for ; Thu, 4 Feb 2016 17:01:50 +0000 (UTC) Received: by mail-oi0-f54.google.com with SMTP id s2so19487677oie.2 for ; Thu, 04 Feb 2016 09:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TIArylxd2V6MquUrmWTh+qRdEA6dBpZToUhwB2TpI6k=; b=VWB0oqoLXedkBd8UoxTuLDCz9Mhi4mV4u5b9a1CAnhKTBRtqdVyVlFKqPlZavTIM2R tpSZB1Tuj2GUVPxJCkVAVsZDITMHnYWy3z6vVavweHmpF5+TfY6e43sNCq1hJcimzVcw a2MiNslgNN2RuuDnAeNv8mNgnR5QfiJD6mZDgKIjslbtyDAyB2L1SnxZ1+s2OyxDK1ep KNzXWdIBUEK7h6uP/XD1TNHWR/UCbUnd27JSB2nkIb4gkRvJWvLbrUN7KWoLwVplhDdW wcnN6tRvQtFeOcmdobgXwqCDIavXFcQZIXf3db2Yz1aUG6JIrD5OYlZiaVE5x3KGgQZR Iifw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TIArylxd2V6MquUrmWTh+qRdEA6dBpZToUhwB2TpI6k=; b=UKK0BfjFDrsOARu8KLjzGQSX1j/AbIEuzeJXQNNzA3HTyj5SN5SoZS13E6A9C2nOuk KSc9JR3YcNCX5jzTJdlyfVAZFzC4tubob3dyHS2HfJz/I9FYjyHpZAoldsDKvRvk3rNI rxUHgsvtEQubq01WaBNd1E1kBIBTFlM8tmO2qX4rroqpxysXceJhO9Xnlk8Y13gU+kjC q3ASfnVl/6nGdykIm+qvC4R9YXqCUn7Y92lwyOvUA48P5Jc6PCUovABWgWThd8s/Jo2z d0bWj5y+iuAFRFIsHvI+yBS40WBEgykpN5CNTasuGMlB4e0dIKZlMq+oj9+AAH1NjHCx WZZg== X-Gm-Message-State: AG10YOR052bk1pxriXNDLgUZQHx25nQsKkZr7r0z6fAA6TA87g88tI/7yz/yNvt8yeKXxUmozxIuuXsZMsUb1A== MIME-Version: 1.0 X-Received: by 10.202.85.88 with SMTP id j85mr4337727oib.28.1454605304557; Thu, 04 Feb 2016 09:01:44 -0800 (PST) Received: by 10.60.28.130 with HTTP; Thu, 4 Feb 2016 09:01:43 -0800 (PST) Received: by 10.60.28.130 with HTTP; Thu, 4 Feb 2016 09:01:43 -0800 (PST) In-Reply-To: References: Date: Thu, 4 Feb 2016 09:01:43 -0800 Message-ID: Subject: Re: ambari-server setup on amazon linux if failing From: rammohan ganapavarapu To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a113d29c877746c052af4b044 --001a113d29c877746c052af4b044 Content-Type: text/plain; charset=UTF-8 Any help guys? On Feb 3, 2016 10:35 AM, "rammohan ganapavarapu" wrote: > Hi > > I am trying to setup ambari server on amazon linux but i am getting below > error, does ambari works for amazon linux? > > > ### > ambari-server setup > Using python /usr/bin/python2 > Setup ambari-server > Checking SELinux... > SELinux status is 'disabled' > Customize user account for ambari-server daemon [y/n] (n)? y > Enter user account for ambari-server daemon (root): > Adjusting ambari-server permissions and ownership... > Checking firewall status... > Checking JDK... > [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8 > [2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7 > [3] Custom JDK > > ============================================================================== > Enter choice (1): 3 > WARNING: JDK must be installed on all hosts and JAVA_HOME 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. > Path to JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk.x86_64 > Validating JDK on Ambari Server...done. > 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... > Configuring local database... > Connecting to local database...done. > Configuring PostgreSQL... > ERROR: Unexpected OSError: [Errno 2] No such file or directory > For more info run ambari-server with -v or --verbose option > Exception TypeError: TypeError("'NoneType' object is not callable",) in > 0x23516c8> > > ### > --001a113d29c877746c052af4b044 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Any help guys?

On Feb 3, 2016 10:35 AM, "rammohan ganapava= rapu" <rammohanganap@gma= il.com> wrote:
Hi

I am trying to setup ambari server = on amazon linux but i am getting below error, does ambari works for amazon = linux?


###
ambari-server setup
Using python=C2=A0 /usr/bin= /python2
Setup ambari-server
Checking SELinux...
SELinux status is= 'disabled'
Customize user account for ambari-server daemon [y/n= ] (n)? y
Enter user account for ambari-server daemon (root):
Adjustin= g ambari-server permissions and ownership...
Checking firewall status...=
Checking JDK...
[1] Oracle JDK 1.8 + Java Cryptography Extension (JC= E) Policy Files 8
[2] Oracle JDK 1.7 + Java Cryptography Extension (JCE)= Policy Files 7
[3] Custom JDK
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Enter choice (1): 3
= WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on = all hosts.
WARNING: JCE Policy files are required for configuring Kerber= os security. If you plan to use Kerberos,please make sure JCE Unlimited Str= ength Jurisdiction Policy Files are valid on all hosts.
Path to JAVA_HOM= E: /usr/lib/jvm/java-1.8.0-openjdk.x86_64
Validating JDK on Ambari Serve= r...done.
Completing setup...
Configuring database...
Enter advanc= ed database configuration [y/n] (n)?
Configuring database...
Default = properties detected. Using built-in database.
Configuring ambari databas= e...
Checking PostgreSQL...
Configuring local database...
Connecti= ng to local database...done.
Configuring PostgreSQL...
ERROR: Unexpec= ted OSError: [Errno 2] No such file or directory
For more info run ambar= i-server with -v or --verbose option
Exception TypeError: TypeError(&quo= t;'NoneType' object is not callable",) in <bound method Fil= eInput.__del__ of <fileinput.FileInput instance at 0x23516c8>

= ###
--001a113d29c877746c052af4b044--