<?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 &amp;quot;ambari-server setup&amp;quot; fails instantly with &amp;quot;line 84: line: unbound variable&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227041#M74618</link>
    <description>&lt;P&gt;Getting a weird issue : "ambari-server setup" fails instantly when running it for the first time.  Getting this : "line 84: line: unbound variable"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;context : &lt;/P&gt;&lt;P&gt;Trying to install a new HDP 2.6 cluster onto physical hardware (for a POC).  Running CentOS 6.9 - fresh OS install.  Following this doc : &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Added the Ambari repo, installed the ambari package(ambari-server-2.6.1.0-143.x86_64) then proceeded to follow the rest of the documentation but can't find the issue here.&lt;/P&gt;&lt;P&gt;It's not the first time I spool up such cluster but it is the first time with this specific version - any ideas what could be the issue?&lt;/P&gt;&lt;P&gt;Line 84 is a simple version calculation : "numversion=$(( 10 * $majversion + $minversion))" not sure where this is coming from.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 03:01:08 GMT</pubDate>
    <dc:creator>AceWinner</dc:creator>
    <dc:date>2018-02-16T03:01:08Z</dc:date>
    <item>
      <title>"ambari-server setup" fails instantly with "line 84: line: unbound variable"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227041#M74618</link>
      <description>&lt;P&gt;Getting a weird issue : "ambari-server setup" fails instantly when running it for the first time.  Getting this : "line 84: line: unbound variable"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;context : &lt;/P&gt;&lt;P&gt;Trying to install a new HDP 2.6 cluster onto physical hardware (for a POC).  Running CentOS 6.9 - fresh OS install.  Following this doc : &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Added the Ambari repo, installed the ambari package(ambari-server-2.6.1.0-143.x86_64) then proceeded to follow the rest of the documentation but can't find the issue here.&lt;/P&gt;&lt;P&gt;It's not the first time I spool up such cluster but it is the first time with this specific version - any ideas what could be the issue?&lt;/P&gt;&lt;P&gt;Line 84 is a simple version calculation : "numversion=$(( 10 * $majversion + $minversion))" not sure where this is coming from.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 03:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227041#M74618</guid>
      <dc:creator>AceWinner</dc:creator>
      <dc:date>2018-02-16T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: "ambari-server setup" fails instantly with "line 84: line: unbound variable"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227042#M74619</link>
      <description>&lt;P&gt;Found the problem a couple of minutes after posting this.&lt;/P&gt;&lt;P&gt;After reviewing installation logs, the RPM package did not install successfully... but was reported as successful :&lt;/P&gt;&lt;PRE&gt;[...]
Running Transaction
 Installing : ambari-server-2.6.1.0-143.x86_64                                      1/1
/var/tmp/rpm-tmp.SHIahM: line 27: //var/lib/ambari-server/install-helper.sh: Permission denied
[...]&lt;/PRE&gt;&lt;P&gt;==&amp;gt; Turns out the /var mount point on this very specific machine (configuration management issue) was mounted noexec.  Fixed the mount, reinstalled the RPM and I can proceed now.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 03:31:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227042#M74619</guid>
      <dc:creator>AceWinner</dc:creator>
      <dc:date>2018-02-16T03:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: "ambari-server setup" fails instantly with "line 84: line: unbound variable"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227043#M74620</link>
      <description>&lt;P&gt;Hello I have the same error but my /var is mounted noexec but ambari-server setup doesn't work! any help please&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 20:51:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/quot-ambari-server-setup-quot-fails-instantly-with-quot-line/m-p/227043#M74620</guid>
      <dc:creator>chaoukitrabelsi</dc:creator>
      <dc:date>2018-07-31T20:51:02Z</dc:date>
    </item>
  </channel>
</rss>

