Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 913D110CD7 for ; Mon, 2 Mar 2015 22:43:58 +0000 (UTC) Received: (qmail 4290 invoked by uid 500); 2 Mar 2015 22:43:52 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 4151 invoked by uid 500); 2 Mar 2015 22:43:52 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 4140 invoked by uid 99); 2 Mar 2015 22:43:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 22:43:52 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gotomypc27@gmail.com designates 209.85.192.52 as permitted sender) Received: from [209.85.192.52] (HELO mail-qg0-f52.google.com) (209.85.192.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 22:43:48 +0000 Received: by mail-qg0-f52.google.com with SMTP id l89so15854306qgf.11 for ; Mon, 02 Mar 2015 14:42:42 -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=u9pX5oUTA8B0jaHiQ1O/ZIEZcljymmoMMfVteHUjWgE=; b=FxRk0FiTKV6sdLKFen05f7kFxG1b8vSXT0Ywzm7VxgH7144CW67ut26uZS924bHAF3 3zEByH3zA0wo311VG8PsxvimK5helbpVO0X2sAnEgYgTWKzM0qjSS52sqhTcuW9AxSgd q4wI6Qm69R2E477RMJiDgxXYB7EWPIh5F0+E3PbGGgnROo5ehfn6wNJtAjch4XANiY3v O1e2+Ai1hb0ePPDfQIi233XcuVcUDTQfioSfSBD36HcsSyza+/UY+kXP1K9o6/1kif2Z r/oQRxZFMIjWUcGMDNhSc2WilOqf0A5xd/f2hrt+r5c78nOZiLpYv5HZXgqoXiMvxpWQ d9Dw== MIME-Version: 1.0 X-Received: by 10.140.237.6 with SMTP id i6mr56407678qhc.32.1425336162819; Mon, 02 Mar 2015 14:42:42 -0800 (PST) Received: by 10.96.55.10 with HTTP; Mon, 2 Mar 2015 14:42:42 -0800 (PST) In-Reply-To: References: Date: Mon, 2 Mar 2015 14:42:42 -0800 Message-ID: Subject: Re: Cloudera Manager Installation is failing From: Krish Donald To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11359c70aba196051055efca X-Virus-Checked: Checked by ClamAV on apache.org --001a11359c70aba196051055efca Content-Type: text/plain; charset=UTF-8 Thanks Rich.... On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase wrote: > Try posting this question on the Cloudera forum. > http://community.cloudera.com/ > > On Mar 2, 2015, at 3:21 PM, Krish Donald wrote: > > Hi, > > I am trying to install Cloudera manager but it is failing and below is > the log file: > I have uninstalled postgres and tried again but still the same error. > > [root@nncloudera cloudera-manager-installer]# more > 5.start-embedded-db.log > mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission > denied > /usr/share/cmf/bin/initialize_embedded_db.sh: line 393: > $PASSWORD_TMP_FILE: ambiguous redirect > The files belonging to this database system will be owned by user > "cloudera-scm". > This user must also own the server process. > The database cluster will be initialized with locale en_US.UTF8. > The default text search configuration will be set to "english". > fixing permissions on existing directory > /var/lib/cloudera-scm-server-db/data ... ok > creating subdirectories ... ok > selecting default max_connections ... 100 > selecting default shared_buffers ... 32MB > creating configuration files ... ok > creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 > ... ok > initializing pg_authid ... ok > initdb: could not open file "" for reading: No such file or directory > initdb: removing contents of data directory > "/var/lib/cloudera-scm-server-db/data" > Could not initialize database server. > This usually means that your PostgreSQL installation failed or isn't > working properly. > PostgreSQL is installed using the set of repositories found on this > machine. Please > ensure that PostgreSQL can be installed. Please also uninstall any other > instances of > PostgreSQL and then try again., giving up > > > Please suggest. > > Thanks > Krish > > > --001a11359c70aba196051055efca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Rich....

On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase <rhaase= @pandora.com> wrote:
Try posting this question on the Cloudera forum.=C2=A0http://community.cloudera.com/<= div>

On Mar 2, 2015, at 3:21 PM, Krish Donald <gotomypc27@gmail.com> wrote:

Hi,

I am trying to install Cloudera manager but it is failing and below is= the log file:
I have uninstalled postgres and tried again but still the same error.<= /div>

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db= .log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission = denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE:= ambiguous redirect
The files belonging to this database system will be owned by user "clo= udera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/cloudera-scm-server-= db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 = ... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or direc= tory
initdb: removing contents of data directory "/var/lib/cloudera-scm-ser= ver-db/data"
Could not initialize database server.
=C2=A0 This usually means that your PostgreSQL installation failed or isn&#= 39;t working properly.
=C2=A0 PostgreSQL is installed using the set of repositories found on this = machine. Please
=C2=A0 ensure that PostgreSQL can be installed. Please also uninstall any o= ther instances of
=C2=A0 PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish


--001a11359c70aba196051055efca--