<?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: Error upgrading Ambari 2.4.2 to 2.5.1 when ambari-server upgrade in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-upgrading-Ambari-2-4-2-to-2-5-1-when-ambari-server/m-p/178703#M64758</link>
    <description>&lt;P&gt;Forget to upgrade the ambari-agent on the server host. &lt;/P&gt;&lt;P&gt;As a result an older version of ambari_commons/inet_utils.py was left in python packages: /usr/lib/python2.6/site-packages/resource_monitoring/ambari_commons/inet_utils.py&lt;/P&gt;&lt;P&gt;After upgrading also the agent python package also was also updated.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 14:28:04 GMT</pubDate>
    <dc:creator>ran</dc:creator>
    <dc:date>2017-07-12T14:28:04Z</dc:date>
    <item>
      <title>Error upgrading Ambari 2.4.2 to 2.5.1 when ambari-server upgrade</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-upgrading-Ambari-2-4-2-to-2-5-1-when-ambari-server/m-p/178702#M64757</link>
      <description>&lt;P&gt;I'm upgrading Ambari from 2.4.2 to 2.5.1 on HDP 2.4.3, with CentOS 6.&lt;/P&gt;&lt;P&gt;I follow the instructions from &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-upgrade/content/upgrade_ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-upgrade/content/upgrade_ambari.html&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;However when I got to step 9  - ambari-server upgrade I got an error:&lt;/P&gt;&lt;PRE&gt;Using python  /usr/bin/python
Upgrading ambari-server
Traceback (most recent call last):
  File "/usr/sbin/ambari-server.py", line 39, in &amp;lt;module&amp;gt;
    from ambari_server.serverSetup import reset, setup, setup_jce_policy
  File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 88, in &amp;lt;module&amp;gt;
    JDBC_DB_OPTION_VALUES = get_supported_jdbc_drivers()
  File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 85, in get_supported_jdbc_drivers
    factory = DBMSConfigFactory()
  File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 344, in __init__
    from ambari_server.dbConfiguration_linux import createPGConfig, createOracleConfig, createMySQLConfig, \
  File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration_linux.py", line 49, in &amp;lt;module&amp;gt;
    from ambari_commons.inet_utils import wait_for_port_opened
ImportError: cannot import name wait_for_port_opened


&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:07:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-upgrading-Ambari-2-4-2-to-2-5-1-when-ambari-server/m-p/178702#M64757</guid>
      <dc:creator>ran</dc:creator>
      <dc:date>2017-07-12T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error upgrading Ambari 2.4.2 to 2.5.1 when ambari-server upgrade</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-upgrading-Ambari-2-4-2-to-2-5-1-when-ambari-server/m-p/178703#M64758</link>
      <description>&lt;P&gt;Forget to upgrade the ambari-agent on the server host. &lt;/P&gt;&lt;P&gt;As a result an older version of ambari_commons/inet_utils.py was left in python packages: /usr/lib/python2.6/site-packages/resource_monitoring/ambari_commons/inet_utils.py&lt;/P&gt;&lt;P&gt;After upgrading also the agent python package also was also updated.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:28:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-upgrading-Ambari-2-4-2-to-2-5-1-when-ambari-server/m-p/178703#M64758</guid>
      <dc:creator>ran</dc:creator>
      <dc:date>2017-07-12T14:28:04Z</dc:date>
    </item>
  </channel>
</rss>

