<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ambari-server installation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106544#M69422</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12300/v-panare.html" nodeid="12300"&gt;@narender pasunooti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check the following code (line 81). Basically your python version is evaluating to less than 2.6. It is definitely not coming evaluating as 2.7.5.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/sbin/ambari-server" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/sbin/ambari-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is your PYTHON home? &lt;/P&gt;&lt;P&gt;Can you run "/usr/bin/python -V" and share the result.&lt;/P&gt;&lt;P&gt;If you still see the message then based on following link, you can try with "--skip-borken"&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-6845" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-6845&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2016 09:21:43 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2016-08-17T09:21:43Z</dc:date>
    <item>
      <title>ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106539#M69417</link>
      <description>&lt;P&gt;I am trying to install ambari-server in Ubuntu. while ambari-server install or setup system asking about install python &amp;gt;2.6 .&lt;/P&gt;&lt;P&gt;I installed python 2.7 version then trying to setup the ambari-server then also prompting the same that "Need python version &amp;gt;2.6. &lt;/P&gt;&lt;P&gt;Previously it was not asked like that. could you please help me.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 06:20:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106539#M69417</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-17T06:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106540#M69418</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/6721-python-error.png"&gt;python-error.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 06:36:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106540#M69418</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-17T06:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106541#M69419</link>
      <description>&lt;P&gt;using Ubuntu OS  -I was installed the other server but it doesn't ask about python installation in the server. I don't know where I am missing the steps to install the ambari-server. &lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 06:38:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106541#M69419</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-17T06:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106542#M69420</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12300/v-panare.html" nodeid="12300"&gt;@narender pasunooti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I will start with something very basic. After installing python, did you start a new ssh window or putty session? if not, can you please try that first. Also run python -V to find python version.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 07:15:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106542#M69420</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-17T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106543#M69421</link>
      <description>&lt;P&gt;I have started new putty session but still getting the same problem. No luck.&lt;/P&gt;&lt;P&gt;python version is Python 2.7.5&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 07:26:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106543#M69421</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-17T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106544#M69422</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12300/v-panare.html" nodeid="12300"&gt;@narender pasunooti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check the following code (line 81). Basically your python version is evaluating to less than 2.6. It is definitely not coming evaluating as 2.7.5.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/sbin/ambari-server" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/sbin/ambari-server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is your PYTHON home? &lt;/P&gt;&lt;P&gt;Can you run "/usr/bin/python -V" and share the result.&lt;/P&gt;&lt;P&gt;If you still see the message then based on following link, you can try with "--skip-borken"&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-6845" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-6845&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 09:21:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106544#M69422</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-17T09:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106545#M69423</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12300/v-panare.html" nodeid="12300"&gt;@narender pasunooti&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Here are Python supported versions for HDP&lt;/P&gt;&lt;P&gt;For CentOS 6: Python 2.6.*  &lt;/P&gt;&lt;P&gt;For SLES 11: Python 2.6.8 or later   &lt;/P&gt;&lt;P&gt;For CentOS 7, Ubuntu 12, Ubuntu 14, and Debian 7: Python 2.7.*  &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/23315/using-python-279-with-hdp-24.html" target="_blank"&gt;https://community.hortonworks.com/questions/23315/using-python-279-with-hdp-24.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 09:30:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106545#M69423</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-08-17T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106546#M69424</link>
      <description>&lt;P&gt;i am getting the result : Python 2.7.6&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;But ubuntu doesn't have -skip-broken function it seems and it is not working. Please give the ubuntu related code.&lt;/P&gt;&lt;P&gt;When shall I use the --skip-broken command ? any sample code please.&lt;/P&gt;&lt;P&gt;Is this really works?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narender&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 09:57:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106546#M69424</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-17T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106547#M69425</link>
      <description>&lt;P&gt;Can you try removing python and then reinstalling it.&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;&lt;CODE&gt;sudo dpkg -P python2.7&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;sudo apt-get install python2.7&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;A href="http://askubuntu.com/questions/426664/how-do-i-reinstall-python-on-my-ubuntu-12-04-server-using-apt-get"&gt;http://askubuntu.com/questions/426664/how-do-i-reinstall-python-on-my-ubuntu-12-04-server-using-apt-get&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 10:02:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106547#M69425</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-17T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106548#M69426</link>
      <description>&lt;P&gt;Got the same issue on Centos7, when launching by systemctl.&lt;/P&gt;&lt;PRE&gt;systemctl status ambari-server
.....
Sep 17 13:02:15 sr1 systemd[1]: Starting LSB: ambari-server daemon...
Sep 17 13:02:15 sr1 ambari-server[1339]: Need python version &amp;gt; 2.6
Sep 17 13:02:15 sr1 systemd[1]: ambari-server.service: control process exited, code=exited status=1
&lt;/PRE&gt;&lt;P&gt;But,&lt;/P&gt;&lt;PRE&gt;/etc/init.d/ambari-server starts&lt;/PRE&gt;&lt;P&gt;works fine!&lt;/P&gt;&lt;P&gt;I fixed it by patching ambari-server file:&lt;/P&gt;&lt;P&gt;Replace:&lt;/P&gt;&lt;PRE&gt;export ROOT=`dirname $(dirname $SCRIPT_DIR)` 
ROOT=`echo $ROOT | sed 's/\/$//'`&lt;/PRE&gt;&lt;P&gt;by &lt;/P&gt;&lt;PRE&gt;export ROOT='/'&lt;/PRE&gt;&lt;P&gt;I don't know what this ROOT variable is intended for, but in my case, it was set to '/etc' when launching by systemctl. This will of course break the launched process&lt;/P&gt;&lt;P&gt;TRICK: &lt;/P&gt;&lt;P&gt;Just add&lt;/P&gt;&lt;PRE&gt;env &amp;gt;/tmp/env.txt&lt;/PRE&gt;&lt;P&gt;at appropriate place in ambari-server file. And you will get&lt;/P&gt;&lt;PRE&gt;PATH=/etc/usr/lib/ambari-server/*:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin/:/usr/sbin
PWD=/
LANG=en_US.UTF-8
AMBARI_CONF_DIR=/etc/etc/ambari-server/conf
ROOT=/etc
AMBARI_PASSPHRASE=DEV
SHLVL=1
PYTHON=
_=/usr/bin/env&lt;/PRE&gt;&lt;P&gt;Which is obviously wrong....&lt;/P&gt;&lt;P&gt;Hope this will help&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 18:32:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106548#M69426</guid>
      <dc:creator>sa1</dc:creator>
      <dc:date>2016-09-17T18:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: ambari-server installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106549#M69427</link>
      <description>&lt;P&gt;This solution worked for me.&lt;/P&gt;&lt;P&gt;For some reason &lt;EM&gt;systemctl&lt;/EM&gt; makes ROOT to be set as /etc, breaking the process. I am running Centos7 too, could someone else verify this? Have you reported this bug?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:26:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-installation/m-p/106549#M69427</guid>
      <dc:creator>joseluis_navar1</dc:creator>
      <dc:date>2016-09-20T19:26:55Z</dc:date>
    </item>
  </channel>
</rss>

