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 0ED961107B for ; Mon, 9 Jun 2014 18:15:47 +0000 (UTC) Received: (qmail 63617 invoked by uid 500); 9 Jun 2014 18:15:46 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 63588 invoked by uid 500); 9 Jun 2014 18:15:46 -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 63580 invoked by uid 99); 9 Jun 2014 18:15:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 18:15:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of swagle@hortonworks.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 18:15:42 +0000 Received: by mail-vc0-f178.google.com with SMTP id ij19so2933429vcb.23 for ; Mon, 09 Jun 2014 11:15:21 -0700 (PDT) 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=9v8Ok9rtECKWvz5Y/oPXrNPKTrUzj6OcAetL90RQbfU=; b=dpiOQRV6DNi68RNHuC9iXGZ3x21/uPbv+YtF6jZuFHg5hbNeOnlFr8oAGkPp/jMA+u v0OomgRuL5bn9kGCd7bonaSRhKxHlraozJFLNyZuS2e1Q/CbMohYw7iRcgHXQ6SoWCAk TWX0kEwyKafgQvZwxeijdzo1Mp4OfhPH1SA7hughEkm+6avXrTDm88+L5103ELlUffHI B0lhdUF/yicsxKxDjO8vG8b1nd+qK4jmaHgW61mTZeVtM6lK/WF00EPv7Uj1nFQGn99i LhRtRg6xgq/65Y5sbaKVFkGthTim3K2SzC1otX0Ce9YyhBAlGacqSogDNv88sw1btvA8 Z+GA== X-Gm-Message-State: ALoCoQmAGLFHfeeS/sEjD0b7GoFq4iGqVp6NbrIDLantH9gbMrC7+oOp31gLk/8k8sv/3zRmCSRoJDLJzxlNCcSEPVeaVWUtLpUP7cjn/cwAP0X7E0QT3tY= MIME-Version: 1.0 X-Received: by 10.52.85.165 with SMTP id i5mr23308045vdz.53.1402337721573; Mon, 09 Jun 2014 11:15:21 -0700 (PDT) Received: by 10.58.199.82 with HTTP; Mon, 9 Jun 2014 11:15:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Jun 2014 11:15:21 -0700 Message-ID: Subject: Re: Graphs and HeatMaps are Not Visible on Ambari Web-UI From: Siddharth Wagle To: "user@ambari.apache.org" Content-Type: multipart/alternative; boundary=001a11365c4cc0289504fb6b31ca X-Virus-Checked: Checked by ClamAV on apache.org --001a11365c4cc0289504fb6b31ca Content-Type: text/plain; charset=UTF-8 Hi Meghavi, Are you able to obtain metrics data by turning off SELinux temporarily on Ganglia host ? Also, are rrd files being written to /var/lib/ganglia/rrds/ ? -Sid On Mon, Jun 9, 2014 at 4:19 AM, Meghavi Sugandhi wrote: > > Hello, > > I am using Ambari 1.4.4. > I have installed it successfully and all services are up and running > But I am not able to view few graphs and heatmaps > I am getting following error in /var/log/messeges--> > > Jun 9 15:40:59 INBBRDSSVM50 setroubleshoot: SELinux is preventing > /usr/bin/python from getattr access on the file > /var/lib/ganglia/rrds/HDPNameNode/INBBRDSSVM50/rpcdetailed.rpcdetailed.RegisterDatanodeNumOps.rrd. > For complete SELinux messages. run sealert -l > 62ff979d-6c24-4a58-8a1b-c463f6b34533 > Jun 9 15:41:00 INBBRDSSVM50 setroubleshoot: SELinux is preventing > /usr/bin/python from read access on the file > /var/lib/ganglia/rrds/HDPSlaves/__SummaryInfo__/dfs.datanode.BytesWritten.rrd. > For complete SELinux messages. run sealert -l > 3dbb1d53-e603-490b-9395-6166581428e3 > Jun 9 15:41:01 INBBRDSSVM50 setroubleshoot: SELinux is preventing > /usr/sbin/httpd from getattr access on the file /var/nagios/status.dat. For > complete SELinux messages. run sealert -l > f693d59d-37b4-489e-837b-eb6b79375298 > Jun 9 15:41:02 INBBRDSSVM50 setroubleshoot: SELinux is preventing > /usr/sbin/httpd from read access on the file /var/nagios/status.dat. For > complete SELinux messages. run sealert -l > a7ea6343-d141-4d9f-bf35-8930130ac881 > Jun 9 15:41:48 INBBRDSSVM50 setroubleshoot: SELinux is preventing > /usr/bin/python from getattr access on the file > /var/lib/ganglia/rrds/HDPResourceManager/INBBRDSSVM50/load_one.rrd. For > complete SELinux messages. run sealert -l > 62ff979d-6c24-4a58-8a1b-c463f6b34533 > > SElinux is in Permissive mode > > and owner of /var/nagios > drwxr-xr-x. 4 nagios nagios 4096 Jun 9 15:52 nagios > > and owner of /var/lib/ganglia/rrds is nobody:nobody > drwxr-xr-x. 7 nobody nobody 4096 Jun 6 11:50 rrds > > Thanks & Regards, > Meghavi Sugandhi > Tata Consultancy Services > Mailto: meghavi.sugandhi@tcs.com > Website: http://www.tcs.com > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --001a11365c4cc0289504fb6b31ca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Meghavi,

Are you able to ob= tain metrics data by turning off SELinux temporarily on Ganglia host ?
<= br>
Also, are rrd files being written to /var/lib/ganglia/rrds/ ?

-Sid



On Mon, Jun 9, 2014 at 4:19 AM, Meghav= i Sugandhi <meghavi.sugandhi@tcs.com> wrote:

Hello,

I am using Ambari 1.4.4.<= br> I have installed it successfully and all services are up and running
But= I am not able to view few graphs and heatmaps
I am getting following er= ror in /var/log/messeges-->

Jun=C2=A0 9 15:40:59 INBBRDSSVM50 set= roubleshoot: SELinux is preventing /usr/bin/python from getattr access on t= he file /var/lib/ganglia/rrds/HDPNameNode/INBBRDSSVM50/rpcdetailed.rpcdetai= led.RegisterDatanodeNumOps.rrd. For complete SELinux messages. run sealert = -l 62ff979d-6c24-4a58-8a1b-c463f6b34533
Jun=C2=A0 9 15:41:00 INBBRDSSVM50 setroubleshoot: SELinux is preventing /us= r/bin/python from read access on the file /var/lib/ganglia/rrds/HDPSlaves/_= _SummaryInfo__/dfs.datanode.BytesWritten.rrd. For complete SELinux messages= . run sealert -l 3dbb1d53-e603-490b-9395-6166581428e3
Jun=C2=A0 9 15:41:01 INBBRDSSVM50 setroubleshoot: SELinux is preventing /us= r/sbin/httpd from getattr access on the file /var/nagios/status.dat. For co= mplete SELinux messages. run sealert -l f693d59d-37b4-489e-837b-eb6b7937529= 8
Jun=C2=A0 9 15:41:02 INBBRDSSVM50 setroubleshoot: SELinux is preventing /us= r/sbin/httpd from read access on the file /var/nagios/status.dat. For compl= ete SELinux messages. run sealert -l a7ea6343-d141-4d9f-bf35-8930130ac881 Jun=C2=A0 9 15:41:48 INBBRDSSVM50 setroubleshoot: SELinux is preventing /us= r/bin/python from getattr access on the file /var/lib/ganglia/rrds/HDPResou= rceManager/INBBRDSSVM50/load_one.rrd. For complete SELinux messages. run se= alert -l 62ff979d-6c24-4a58-8a1b-c463f6b34533

SElinux is in Permissive mode

and owner of /var/nagios
drwxr-= xr-x.=C2=A0 4 nagios nagios 4096 Jun=C2=A0 9 15:52 nagios

and owner = of /var/lib/ganglia/rrds is nobody:nobody
drwxr-xr-x. 7 nobody nobody 40= 96 Jun=C2=A0 6 11:50 rrds

Thanks & Regards,
Meghavi Sugandhi
Tata Consultancy Services<= br>Mailto: me= ghavi.sugandhi@tcs.com
Website: http://www.tcs.com

=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --001a11365c4cc0289504fb6b31ca--