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.
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).

Since /usr/lib/ambari-server/web is empty on your machine, most likely
ambari-web build failed.

Please try the following:
# npm --version <- make sure the npm command works. This command is part of
NodeJS.  If not, install NodeJS from http://nodejs.org/download/.  Just
download the binary tarball, extract, and put the bin folder in PATH.
# npm install -g brunch <- this installs brunch
# cd ambari-1.4.1-incubating/ambari-web/
# rm -rf public
# npm install <- this command should create a subfolder called node_modules
# brunch build <- this command should create a subfolder called public

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]

[1]
https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1
[2] https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
[3]
https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.2


Yusaku



On Wed, Jan 15, 2014 at 9:49 PM, Meghavi Sugandhi
<meghavi.sugan...@tcs.com>wrote:

> Hi Yusaku,
>
> I am following apache Ambari user guide instructions to install
> Ambari.Following is the link:
>
>
> https://cwiki.apache.org/confluence/display/AMBARI/Build+and+Install+Ambari+1.4.1
>
>
> I have created RPMs from source through maven build.
> 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.
>
> Please suggest any solution for the same.
>
>
>
> Thanks & Regards,
> Meghavi Sugandhi
> Tata Consultancy Services
> Mailto: meghavi.sugan...@tcs.com
> Website: http://www.tcs.com
>
>
> -----Yusaku Sako  wrote: -----
>
> To: user@ambari.apache.org
> From: Yusaku Sako <yus...@hortonworks.com>
> Date: 01/15/2014 11:39PM
> Subject: Re: Unable to load logon screen of Ambari Web ui
>
>
> Hello Meghavi,
>
> Which instructions are you following to install Ambari?  (You said it was
> an RPM install... did you create the RPMs yourself from source, or did you
> grab them from a repo?)
> Can you check and see if /usr/lib/ambari-server/web/ directory exists on
> the Ambari server host?
> If so, do you see a file called index.html in that directory, and also
> javascripts/app.js?
>
> Yusaku
>
>
>
> On Wed, Jan 15, 2014 at 1:01 AM, Meghavi Sugandhi <
> meghavi.sugan...@tcs.com> wrote:
>
>> Hi,
>>
>> I have checked firewall, it is disabled and Ambari-server is also running.
>>
>>
>> [root@vanshish ambari-server]# ambari-server start
>> Using python  /usr/bin/python2.6
>> Starting ambari-server
>> Ambari Server running with 'root' privileges.
>> Server PID at: /var/run/ambari-server/ambari-server.pid
>> Server out at: /var/log/ambari-server/ambari-server.out
>> Server log at: /var/log/ambari-server/ambari-server.log
>> Ambari Server 'start' completed successfully.
>>
>> [root@vanshish ambari-server]# ambari-agent start
>> Verifying Python version compatibility...
>> Using python  /usr/bin/python2.6
>> Checking for previously running Ambari Agent...
>> Starting ambari-agent
>> Verifying ambari-agent process status...
>> Ambari Agent successfully started
>> Agent PID at: /var/run/ambari-agent/ambari-agent.pid
>> Agent out at: /var/log/ambari-agent/ambari-agent.out
>> Agent log at: /var/log/ambari-agent/ambari-agent.log
>>
>> Still i am not able to view the required Ambari WebUI.
>> Please find attached screenshot of WebUI.
>>
>>
>> Thanks & Regards,
>> Meghavi Sugandhi
>> Tata Consultancy Services
>> Mailto: meghavi.sugan...@tcs.com
>> Website: http://www.tcs.com
>>
>>
>> -----Artem Ervits  wrote: -----
>>
>> To: "user@ambari.apache.org" <user@ambari.apache.org>
>> From: Artem Ervits <are9...@nyp.org>
>> Date: 01/14/2014 08:41PM
>> Subject: RE: Unable to load logon screen of Ambari Web ui
>>
>>
>>  Check your firewall? Start Ambari-server if not started,
>>
>>
>>
>> Run: netstat –tunlp | grep 8080 on the Ambari server
>>
>>
>>
>> *From:* Meghavi Sugandhi [mailto:meghavi.sugan...@tcs.com]
>> *Sent:* Tuesday, January 14, 2014 7:12 AM
>> *To:* user@ambari.apache.org
>> *Subject:* Unable to load logon screen of Ambari Web ui
>>
>>
>>
>> Hi,
>>
>> I have installed ambari-agent and ambari-server with rpm packages. They
>> are working properly.
>> But i am unable to view Ambari WebUI which runs on port 8080.
>>
>> Please find screenshot of WebUI attached here with and provide solution
>> for the same.
>>
>> Thanks & Regards,
>> Meghavi Sugandhi
>> Tata Consultancy Services
>> Mailto: meghavi.sugan...@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
>>
>> ------------------------------
>>
>> 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.
>>
>> 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.
>>
>>
>
> 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.
>
>

-- 
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.

Reply via email to