<?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>topic Re: SAS execution of [ugip_apm_datamart.sas] failed with rc 2 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/654640#M19122</link>
    <description>TY for the suggestion, I will check and update.</description>
    <pubDate>Mon, 08 Jun 2020 18:21:23 GMT</pubDate>
    <dc:creator>shoin</dc:creator>
    <dc:date>2020-06-08T18:21:23Z</dc:date>
    <item>
      <title>SAS execution of [ugip_apm_datamart.sas] failed with rc 2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/644094#M18847</link>
      <description>&lt;P&gt;In SAS EVM after an UIP attempting to update SAS EVM as well.&amp;nbsp; Any idea why that pgm is flagged?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The status via emi_init.sh -s is&lt;/P&gt;
&lt;P&gt;./emi_init.sh -s&lt;BR /&gt;Service Architecture settings:&lt;BR /&gt;Level Root Dir : [/sas/config/Lev1]&lt;BR /&gt;Base Dir : [/sas/config/Lev1/Web/SASEnvironmentManager/emi-framework]&lt;BR /&gt;Initialized : [true]&lt;BR /&gt;Enabled : [true]&lt;BR /&gt;APM Initialized : [true]&lt;BR /&gt;ACM Initialized : [true]&lt;BR /&gt;APM Enabled : [true]&lt;BR /&gt;ACM Enabled : [true]&lt;BR /&gt;VA Feed Enabled : [false]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The utility output is:&lt;/P&gt;
&lt;P&gt;./ugip_init.sh&lt;BR /&gt;Service Architecture Upgrade-in-Place Utility - Wed Apr 29 16:23:54 CDT 2020&lt;BR /&gt;Pending upgrade-in-place of the Service Architecture detected...&lt;/P&gt;
&lt;P&gt;The original Service Architecture deployment directory has been moved to /sas/config/Lev1/Web/SASEnvironmentManager/emi-framework_2019-02-28_16.22.28&lt;BR /&gt;Existing datamart data has been moved to the current deployment&lt;/P&gt;
&lt;P&gt;Preparing to back up existing SAS metadata content...&lt;BR /&gt;Backing up existing SAS metadata content&lt;/P&gt;
&lt;P&gt;Deleting existing SAS Environment Manager metadata folder and contents...&lt;/P&gt;
&lt;P&gt;Loading Service Architecture metadata content...&lt;BR /&gt;Loading SAS Package [emiContent.spk]&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Updating kits...&lt;BR /&gt;Service Architecture Kit Installer - Wed Apr 29 16:24:31 CDT 2020&lt;BR /&gt;Installing all available kits...&lt;BR /&gt;Installing kit [SASJobs]...&lt;BR /&gt;Installing kit [WebServer]...&lt;BR /&gt;Installing kit [DSA]...&lt;BR /&gt;Installing kit [emi-framework]...&lt;BR /&gt;Installing kit [VALASR]...&lt;BR /&gt;Installing kit [SASGrid]...&lt;BR /&gt;Installing kit [sas-servers]...&lt;BR /&gt;Installing kit [MBL]...&lt;BR /&gt;Configuring kit [SASJobs] ...&lt;BR /&gt;Configuring kit [WebServer] ...&lt;BR /&gt;Configuring kit [DSA] ...&lt;BR /&gt;Configuring kit [emi-framework] ...&lt;BR /&gt;Configuring kit [VALASR] ...&lt;BR /&gt;Configuring kit [SASGrid] ...&lt;BR /&gt;Configuring kit [sas-servers] ...&lt;BR /&gt;Configuring kit [MBL] ...&lt;/P&gt;
&lt;P&gt;Starting Data Mart Schema Migrations...&lt;BR /&gt;ACM is initialized; updating data schema.&lt;BR /&gt;APM is initialized; updating data schema.&lt;BR /&gt;ugip_apm_datamart.sas execution failed with return code 2&lt;/P&gt;
&lt;P&gt;Exiting Service Architecture Upgrade-in-Place Utility&lt;BR /&gt;The upgrade-in-place of the Service Architecture did NOT complete successfully&lt;BR /&gt;Check ugipInit_20200429_162353.log for details, correct any issues and rerun this script&lt;/P&gt;
&lt;P&gt;The upgrade-in-place of the Service Architecture did NOT complete successfully&lt;BR /&gt;Check ugipInit_20200429_163232.log for details,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error in the log is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-rw-r--r--. 1 sas sasg 27357 Apr 29 16:33 ugipInit_20200429_163232.log&lt;BR /&gt;[sas@sasva Logs]$ grep -i ERROR ./ugipInit_20200429_163232.log&lt;BR /&gt;2020-04-29 16:33:26,862 INFO [main] [evKitInstaller] - Level 2 validation completed with 0 error(s) in 17.328 sec&lt;BR /&gt;2020-04-29 16:33:40,989 ERROR [main] [ugipInit] - SAS execution of [ugip_apm_datamart.sas] failed with rc 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The said sas code has no issues and i ensured that it was chmod to 744&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 21:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/644094#M18847</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2020-04-29T21:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS execution of [ugip_apm_datamart.sas] failed with rc 2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/644462#M18864</link>
      <description>Can you share the full log? ugipInit_20200429_163232.log</description>
      <pubDate>Fri, 01 May 2020 07:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/644462#M18864</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-05-01T07:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS execution of [ugip_apm_datamart.sas] failed with rc 2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/653963#M19101</link>
      <description>&lt;P&gt;Maybe this helps. Check the logs! emi-framework\Logs&lt;/P&gt;&lt;P&gt;On my site, one of the datafiles was corrupted, I simply renamed it (or repair/restore it if you need the data).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;2020-06-07 00:21:36,864 ERROR [main] [ugipInit] - SAS execution of [ugip_acm_datamart.sas] failed with rc 2&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Reason:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;NOTE: File ACM.TCSSERVERMGRS.DATA is damaged.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;[sasconfig]Lev1\Web\SASEnvironmentManager\emi-framework\Datamart\acm\tcsservermgrs.sas7bdat&lt;BR /&gt;Renamed, and it worked. If you need any data back, recover it.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 22:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/653963#M19101</guid>
      <dc:creator>Hrry</dc:creator>
      <dc:date>2020-06-06T22:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS execution of [ugip_apm_datamart.sas] failed with rc 2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/654640#M19122</link>
      <description>TY for the suggestion, I will check and update.</description>
      <pubDate>Mon, 08 Jun 2020 18:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-execution-of-ugip-apm-datamart-sas-failed-with-rc-2/m-p/654640#M19122</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2020-06-08T18:21:23Z</dc:date>
    </item>
  </channel>
</rss>

