ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meghavi Sugandhi <meghavi.sugan...@tcs.com>
Subject Re: Unable to load logon screen of Ambari Web ui
Date Thu, 23 Jan 2014 12:09:06 GMT
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> Hi,<br><br>I
have installed and started Ambari-Server successfully.<br><br>But ambari-server
web ui is showing only "loading" message and displaying following errors in logs:<br>Cloumn
cluster_host_info not found in stage table.<br><br>And in SQLScripts of postgres
, I didn't find column cluster_host_info in Stage table.<br><br>Please find attached
screenshot of Web ui.<br><br>Thanks &amp; Regards,<br>Meghavi Sugandhi<br>Tata
Consultancy Services<br>Mailto: meghavi.sugandhi@tcs.com<br>Website: http://www.tcs.com<br><br><br><font
color="#990099">-----Yusaku Sako <yusaku@hortonworks.com> wrote: -----</yusaku@hortonworks.com></font><div><blockquote
style="border-left: 2px solid black; padding-right: 0px; padding-left: 5px; margin-left: 5px;
margin-right: 0px;">To: user@ambari.apache.org<br>From: Yusaku Sako &lt;yusaku@hortonworks.com&gt;<br>Date:
01/17/2014 01:33AM<br>Subject: Re: Unable to load logon screen of Ambari Web ui<br><br><div
dir="ltr">That's more of a NodeJS question, but it looks like you can configure proxy settings
for the npm command.<div>I haven't tried it out, but here's an article that might help
you: <a href="http://jjasonclark.com/how-to-setup-node-behind-web-proxy">http://jjasonclark.com/how-to-setup-node-behind-web-proxy</a></div>
<div><br></div><div>Yusaku</div></div><div class="gmail_extra"><br><br><div
class="gmail_quote">On Thu, Jan 16, 2014 at 3:08 AM, Meghavi Sugandhi <span dir="ltr">&lt;<a
href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a>&gt;</span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin:
0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">Hi Yusaku,<br>
<br>As suggested I have tried the commands.<br>npm -version works fine.<br><br>But
due to limited internet access (proxy issue), i am not able to install brunch.<br>npm
install -g brunch<br><br>Can you provide the path of the repo from where we can
get the dump RPMs. <br>
&nbsp;<br><br><br></font><div class="im">Thanks &amp;
Regards,<br>Meghavi Sugandhi<br>Tata Consultancy Services<br>Mailto: <a
href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a><br>Website:
<a href="http://www.tcs.com" target="_blank">http://www.tcs.com</a><br>
<br><br><font color="#990099">-----Yusaku Sako <u></u> wrote:
-----<u></u></font></div><div><blockquote style="border-left:
2px solid black; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div
class="im">
To: <a href="mailto:user@ambari.apache.org" target="_blank">user@ambari.apache.org</a><br>From:
Yusaku Sako &lt;<a href="mailto:yusaku@hortonworks.com" target="_blank">yusaku@hortonworks.com</a>&gt;<br></div>Date:
01/16/2014 12:58PM<div>
<div class="h5"><br>Subject: Re: Unable to load logon screen of Ambari Web ui<br><br><div
dir="ltr"><div>I just followed the install instructions for 1.4.1 [1] and I was able
to build, install the resulting RPMs, and bring up the Ambari Web UI just fine.</div>
<div>As I was going thru the instructions, I did update the 1.4.1 tarball URL as it
was returning 404 (as the tarball location moved).</div>
<div><br></div><div>Since /usr/lib/ambari-server/web is empty on your
machine, most likely ambari-web build failed.</div><div><br></div><div>Please
try the following:</div><div># npm --version &lt;- make sure the npm command
works. This command is part of NodeJS. &nbsp;If not, install NodeJS from&nbsp;<a
href="http://nodejs.org/download/" target="_blank">http://nodejs.org/download/</a>.
&nbsp;Just download the binary tarball, extract, and put the bin folder in PATH.</div>

<div># npm install -g brunch &lt;- this installs brunch</div><div>#
cd ambari-1.4.1-incubating/ambari-web/</div><div># rm -rf public</div><div>#
npm install &lt;- this command should create a subfolder called node_modules</div>

<div># brunch build &lt;- this command should create a subfolder called public</div><div><br></div><div>Also,
you might want to try building off of trunk [2], 1.4.3 (a release candidate vote was called
today), or 1.4.2 [3]<br>

</div><div><br></div><div>[1]&nbsp;<a href="https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1"
target="_blank">https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1</a></div>
<div>[2]&nbsp;<a href="https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development"
target="_blank">https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development</a></div>
<div>[3]&nbsp;<a href="https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.2"
target="_blank">https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.2</a></div><div><br></div>
<div><br></div>
<div>Yusaku</div><div><br></div></div><div class="gmail_extra"><br><br><div
class="gmail_quote">On Wed, Jan 15, 2014 at 9:49 PM, Meghavi Sugandhi <span dir="ltr">&lt;<a
href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a>&gt;</span>
wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin:
0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
Hi Yusaku,<br><br>I am following apache Ambari user guide instructions to install
Ambari.Following is the link:<br>

<br><a href="https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1"
target="_blank">https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1</a><br><br><br>I
have created RPMs from source through maven build.<br>

And also /usr/lib/ambari-server/web/ directory exists on ambari-server host but no content
is present in this directory like index.html or  javascripts/app.js. This web directory is
empty.<br><br>Please suggest any solution for the same.<div>

<br><br><br>Thanks &amp; Regards,<br>Meghavi Sugandhi<br>Tata
Consultancy Services<br>Mailto: <a href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a><br>Website:
<a href="http://www.tcs.com" target="_blank">http://www.tcs.com</a><br>

<br><br></div><font color="#990099">-----Yusaku Sako <u></u>
wrote: -----<u></u></font><div><blockquote style="border-left:
2px solid black; padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">To:
<a href="mailto:user@ambari.apache.org" target="_blank">user@ambari.apache.org</a><br>

From: Yusaku Sako &lt;<a href="mailto:yusaku@hortonworks.com" target="_blank">yusaku@hortonworks.com</a>&gt;<br>Date:
01/15/2014 11:39PM<br>Subject: Re: Unable to load logon screen of Ambari Web ui<div><div><br>
<br><div dir="ltr"><div>Hello Meghavi,</div><div><br></div>Which
instructions are you following to install Ambari? &nbsp;(You said it was an RPM install...
did you create the RPMs yourself from source, or did you grab them from a repo?)<div>


Can you check and see if /usr/lib/ambari-server/web/ directory exists on the Ambari server
host?</div><div>If so, do you see a file called index.html in that directory,
and also javascripts/app.js?</div><div><br></div><div>


Yusaku<br><div><br></div></div></div><div class="gmail_extra"><br><br><div
class="gmail_quote">On Wed, Jan 15, 2014 at 1:01 AM, Meghavi Sugandhi <span dir="ltr">&lt;<a
href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a>&gt;</span>
wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin:
0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">
Hi,<br><br>I have checked firewall, it is disabled and Ambari-server is also running.<br>


<br><br>[root@vanshish ambari-server]# ambari-server start<br>Using python&nbsp;
/usr/bin/python2.6<br>Starting ambari-server<br>Ambari Server running with 'root'
privileges.<br>Server PID at: /var/run/ambari-server/ambari-server.pid<br>


Server out at: /var/log/ambari-server/ambari-server.out<br>Server log at: /var/log/ambari-server/ambari-server.log<br>Ambari
Server 'start' completed successfully.<br><br>[root@vanshish ambari-server]# ambari-agent
start<br>


Verifying Python version compatibility...<br>Using python&nbsp; /usr/bin/python2.6<br>Checking
for previously running Ambari Agent...<br>Starting ambari-agent<br>Verifying ambari-agent
process status...<br>Ambari Agent successfully started<br>


Agent PID at: /var/run/ambari-agent/ambari-agent.pid<br>Agent out at: /var/log/ambari-agent/ambari-agent.out<br>Agent
log at: /var/log/ambari-agent/ambari-agent.log<br><br>Still i am not able to view
the required Ambari WebUI.<br>



Please find attached screenshot of WebUI.<div><br><br>Thanks &amp; Regards,<br>Meghavi
Sugandhi<br>Tata Consultancy Services<br>Mailto: <a href="mailto:meghavi.sugandhi@tcs.com"
target="_blank">meghavi.sugandhi@tcs.com</a><br>


Website: <a href="http://www.tcs.com" target="_blank">http://www.tcs.com</a><br><br><br></div><font
color="#990099">-----Artem Ervits <u></u> wrote: -----<u></u></font><div><blockquote
style="border-left: 2px solid black; padding-right: 0px; padding-left: 5px; margin-left: 5px;
margin-right: 0px;">


To: "<a href="mailto:user@ambari.apache.org" target="_blank">user@ambari.apache.org</a>"
&lt;<a href="mailto:user@ambari.apache.org" target="_blank">user@ambari.apache.org</a>&gt;<br>From:
Artem Ervits &lt;<a href="mailto:are9004@nyp.org" target="_blank">are9004@nyp.org</a>&gt;<br>


Date: 01/14/2014 08:41PM<br>Subject: RE: Unable to load logon screen of Ambari Web ui<div><div><br><br>




<div>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;
color: rgb(31, 73, 125);">Check your firewall? Start Ambari-server if not started,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;
color: rgb(31, 73, 125);">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;
color: rgb(31, 73, 125);">Run: netstat &#8211;tunlp | grep 8080 on the Ambari server</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;
color: rgb(31, 73, 125);">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From:</span></b><span
style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">
Meghavi Sugandhi [mailto:<a href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a>]
<br>
<b>Sent:</b> Tuesday, January 14, 2014 7:12 AM<br>
<b>To:</b> <a href="mailto:user@ambari.apache.org" target="_blank">user@ambari.apache.org</a><br>
<b>Subject:</b> Unable to load logon screen of Ambari Web ui</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family:
&quot;Verdana&quot;,&quot;sans-serif&quot;;">Hi,<br>
<br>
I have installed ambari-agent and ambari-server with rpm packages. They are working properly.<br>
But i am unable to view Ambari WebUI which runs on port 8080.<br>
<br>
Please find screenshot of WebUI attached here with and provide solution for the same.<br>
<br>
Thanks &amp; Regards,<br>
Meghavi Sugandhi<br>
Tata Consultancy Services<br>
Mailto: <a href="mailto:meghavi.sugandhi@tcs.com" target="_blank">meghavi.sugandhi@tcs.com</a><br>
Website: <a href="http://www.tcs.com" target="_blank">http://www.tcs.com</a></span></p>
<p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
</div>
<br>
<hr>
<font face="Arial" size="1" color="Gray"><br>
This electronic message is intended to be for the use only of the named recipient, and may
contain information that is confidential or privileged. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution or use
 of the contents of this message is strictly prohibited. If you have received this message
in error or are not the named recipient, please notify us immediately by contacting the sender
at the electronic mail address noted above, and delete and destroy all
 copies of this message. Thank you.<br>
</font>
<br clear="both">
This electronic message is intended to be for the use only of the named recipient, and may
contain information that is confidential or privileged.  If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution or use of the contents
of this message is strictly prohibited.  If you have received this message in error or are
not the named recipient, please notify us immediately by contacting the sender at the electronic
mail address noted above, and delete and destroy all copies of this message.  Thank you.<br>



</div></div></blockquote></div><div></div></font></blockquote></div><br></div>

<br>
</div></div><div><span style="color: rgb(128, 128, 128); font-family:
Arial,sans-serif; font-size: 10px;">CONFIDENTIALITY NOTICE</span><br style="color:
rgb(128, 128, 128); font-family: Arial,sans-serif; font-size: 10px;"><span style="color:
rgb(128, 128, 128); font-family: Arial,sans-serif; font-size: 10px;">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.</span></div>

</blockquote></div><div></div></font></blockquote></div><br></div>

<br>
<span style="color: rgb(128, 128, 128); font-family: Arial,sans-serif; font-size: 10px;">CONFIDENTIALITY
NOTICE</span><br style="color: rgb(128, 128, 128); font-family: Arial,sans-serif;
font-size: 10px;"><span style="color: rgb(128, 128, 128); font-family: Arial,sans-serif;
font-size: 10px;">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.</span></div>
</div></blockquote></div><div></div></font></blockquote></div><br></div>

<br>
<span style="color: rgb(128, 128, 128); font-family: Arial,sans-serif; font-size: 10px;">CONFIDENTIALITY
NOTICE</span><br style="color: rgb(128, 128, 128); font-family: Arial,sans-serif;
font-size: 10px;"><span style="color: rgb(128, 128, 128); font-family: Arial,sans-serif;
font-size: 10px;">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.</span></blockquote></div><div></div></font>
Mime
View raw message