<?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 VIYA 3.4 failed at deployment &amp;quot;SAS_JAVA_HOME&amp;quot; in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559282#M16269</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271575"&gt;@vcerrato&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please run a command shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sudo rpm -e $(rpm -qg SAS) --nopreun&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then restart the deployment process with an additional -vvv option. If the deployment fails again, show me the output from the console as well as from the commands shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;df -h
mount
ls&amp;nbsp;-ld&amp;nbsp;/opt
ls&amp;nbsp;-ld&amp;nbsp;/opt/sas&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 16 May 2019 12:16:19 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2019-05-16T12:16:19Z</dc:date>
    <item>
      <title>SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559272#M16266</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this error at deployment SAS Viya 3.4, any idea to solve it?&amp;nbsp;&lt;SPAN&gt;As you can see, I have indicated the path of the java installation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TASK [sas-requirements-java : Set SAS_JAVA_HOME] *********************************************************************************************************************************************************
task path: /home/viyadep/sas_viya_playbook/roles/sas-requirements-java/tasks/main.yml:167
&amp;lt;deployTarget&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root
&amp;lt;deployTarget&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /var/tmp/ansible-tmp-1558004286.5-72927254772022 `" &amp;amp;&amp;amp; echo ansible-tmp-1558004286.5-72927254772022="` echo /var/tmp/ansible-tmp-1558004286.5-72927254772022 `" ) &amp;amp;&amp;amp; sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/lineinfile.py
&amp;lt;deployTarget&amp;gt; PUT /root/.ansible/tmp/ansible-local-27267w0IIXB/tmpjhOAYv TO /var/tmp/ansible-tmp-1558004286.5-72927254772022/AnsiballZ_lineinfile.py
&amp;lt;deployTarget&amp;gt; EXEC /bin/sh -c 'setfacl -m u:sas:r-x /var/tmp/ansible-tmp-1558004286.5-72927254772022/ /var/tmp/ansible-tmp-1558004286.5-72927254772022/AnsiballZ_lineinfile.py &amp;amp;&amp;amp; sleep 0'
&amp;lt;deployTarget&amp;gt; EXEC /bin/sh -c 'sudo -H -S -n -u sas /bin/sh -c '"'"'echo BECOME-SUCCESS-essxsahieddxhnuttrojfbueypdxcfdf; /usr/bin/python /var/tmp/ansible-tmp-1558004286.5-72927254772022/AnsiballZ_lineinfile.py'"'"' &amp;amp;&amp;amp; sleep 0'
&amp;lt;deployTarget&amp;gt; EXEC /bin/sh -c 'rm -f -r /var/tmp/ansible-tmp-1558004286.5-72927254772022/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'
fatal: [deployTarget]: FAILED! =&amp;gt; {
"changed": false,
"invocation": {
"module_args": {
"attributes": null,
"backrefs": false,
"backup": false,
"content": null,
"create": false,
"delimiter": null,
"dest": "/opt/sas/viya/config/etc/sysconfig/sas-javaesntl/sas-java",
"directory_mode": null,
"firstmatch": false,
"follow": false,
"force": null,
"group": "sas",
"insertafter": null,
"insertbefore": null,
"line": "SAS_JAVA_HOME=\"/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/\"",
"mode": null,
"owner": "sas",
"path": "/opt/sas/viya/config/etc/sysconfig/sas-javaesntl/sas-java",
"regexp": "^(#)*SAS_JAVA_HOME\\s*=\\s*(.+)*$",
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "present",
"unsafe_writes": null,
"validate": null
}
},
"msg": "Destination /opt/sas/viya/config/etc/sysconfig/sas-javaesntl/sas-java does not exist !",
"rc": 257
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559272#M16266</guid>
      <dc:creator>vcerrato</dc:creator>
      <dc:date>2019-05-16T11:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559275#M16267</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271575"&gt;@vcerrato&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show me the output from a command shown below. Run that command on the deployment target machine:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sudo rpm -Va "sas-*" | grep missing&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, /opt/sas is an actual directory or a symbolic link?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:18:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559275#M16267</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-16T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559277#M16268</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output:&lt;/P&gt;&lt;PRE&gt;$ sudo rpm -Va "sas-*" | grep missing
falta   /opt/sas/viya/home/lib/evmsvrops/SASMacros/obfsusr_missing.sas
falta   /opt/sas/viya/home/var/www/html/htmlcommons/8.0/resources/sas/hc/ui/commons/themes/sas_corporate/img/sasIcons/sasdark/16_png/missing.png
falta   /opt/sas/viya/home/var/www/html/htmlcommons/8.0/resources/sas/hc/ui/commons/themes/sas_corporate/img/sasIcons/sasdark/32_png/missing.png
falta   /opt/sas/viya/home/lib64/postgresql/pgxs/config/missing
falta   /opt/sas/viya/home/SASStudio/war/resources/js/dojo/dijit/themes/corporate/images/missing.png
falta   /opt/sas/viya/home/SASStudio/war/resources/js/dojo/dijit/themes/corporate/images/sasIcons/sasdark/16_png/missing.png
falta   /opt/sas/viya/home/SASStudio/war/resources/js/dojo/dijit/themes/corporate/images/sasIcons/sasdark/32_png/missing.png&lt;/PRE&gt;&lt;P&gt;/opt/sas is an actual directory, and /opt/sas/viya/config&amp;nbsp;&lt;SPAN&gt;is not created yet, but I guess the deployment does it automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559277#M16268</guid>
      <dc:creator>vcerrato</dc:creator>
      <dc:date>2019-05-16T11:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559282#M16269</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271575"&gt;@vcerrato&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please run a command shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sudo rpm -e $(rpm -qg SAS) --nopreun&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then restart the deployment process with an additional -vvv option. If the deployment fails again, show me the output from the console as well as from the commands shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;df -h
mount
ls&amp;nbsp;-ld&amp;nbsp;/opt
ls&amp;nbsp;-ld&amp;nbsp;/opt/sas&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 May 2019 12:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559282#M16269</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-16T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559341#M16273</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the help, the installation has been completed. Could you explain in more detail what happened? If you wish, of course. In this way, I select the solution as accepted for those you can help in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 15:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559341#M16273</guid>
      <dc:creator>vcerrato</dc:creator>
      <dc:date>2019-05-16T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559346#M16274</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271575"&gt;@vcerrato&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm glad that the problem has been resolved. It looks like you had multiple installation attempts and some of the packages weren't installed/removed properly between them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I always suggest checking for missing packages if you had multiple installation attempts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for accepting my solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a good day!&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 15:21:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559346#M16274</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-16T15:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559353#M16275</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I had launched deploy-cleanup.yml as recommended by SAS, but it seems that it was not enough. Again, thanks for your support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 15:25:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559353#M16275</guid>
      <dc:creator>vcerrato</dc:creator>
      <dc:date>2019-05-16T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA 3.4 failed at deployment "SAS_JAVA_HOME"</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559357#M16276</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271575"&gt;@vcerrato&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You are welcome. In most cases that will be enough, but to be safe, I would run that command and check missing packages too.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 15:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-3-4-failed-at-deployment-quot-SAS-JAVA-HOME-quot/m-p/559357#M16276</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-05-16T15:28:14Z</dc:date>
    </item>
  </channel>
</rss>

