<?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 ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04) in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526730#M15401</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new administrator for SAS -- I won't be using it, but have been asked to install it on a Linux-based (Ubuntu 18.04) server for users.&amp;nbsp; I just installed it and all of the programs installed, except the very end with some updates (SAS Install Qualification Tool).&amp;nbsp; I plan to look into them later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, I was stuck as to what to do next.&amp;nbsp; How do I know if it worked?&amp;nbsp; I looked around the Internet, and some suggested going to ../SASHome/SASFoundation/9.4/ and then running "./sas".&amp;nbsp; I tried that, but I ended up with these warnings, followed by this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Display of UTF8 encoded data is not fully supported by the SAS Display Manager System.&lt;BR /&gt;WARNING: Normal task completion intercepted.&lt;BR /&gt;NOTE: SAH239999I DMS, State, stopped&lt;BR /&gt;ERROR: Failed to attach to Java during SAS startup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do next...&amp;nbsp; I looked on this forum, and one&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-3/td-p/489522" target="_self"&gt;user&lt;/A&gt;&amp;nbsp;had a similar problem to me, but s/he ended up editing&lt;SPAN&gt;../&lt;/SPAN&gt;&lt;SPAN&gt;SASHome/SASFoundation/9.4/nls/en/sasv9.cfg .&amp;nbsp; However, I have a../SASHome/SASFoundation/9.4/sasv9.cfg file and the value for -JREOPTIONS appears correct.&amp;nbsp; At least, the -Djava.class.path value points to an existing jar file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to give a more verbose reason as to why Java failed?&amp;nbsp; Java is installed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ java -version&lt;BR /&gt;openjdk version "1.8.0_191"&lt;BR /&gt;OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12)&lt;BR /&gt;OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ which java&lt;BR /&gt;/usr/bin/java&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Outside of this forum, I found a few people discussing about installing/removing SAS and Java, but such advice didn't make sense to me.&amp;nbsp; I don't mind trying this, but it seems to me this is a shot in the dark and perhaps I should ask on this forum before trying something like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated!&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Jan 2019 12:41:34 GMT</pubDate>
    <dc:creator>rwan1</dc:creator>
    <dc:date>2019-01-13T12:41:34Z</dc:date>
    <item>
      <title>ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526730#M15401</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new administrator for SAS -- I won't be using it, but have been asked to install it on a Linux-based (Ubuntu 18.04) server for users.&amp;nbsp; I just installed it and all of the programs installed, except the very end with some updates (SAS Install Qualification Tool).&amp;nbsp; I plan to look into them later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, I was stuck as to what to do next.&amp;nbsp; How do I know if it worked?&amp;nbsp; I looked around the Internet, and some suggested going to ../SASHome/SASFoundation/9.4/ and then running "./sas".&amp;nbsp; I tried that, but I ended up with these warnings, followed by this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Display of UTF8 encoded data is not fully supported by the SAS Display Manager System.&lt;BR /&gt;WARNING: Normal task completion intercepted.&lt;BR /&gt;NOTE: SAH239999I DMS, State, stopped&lt;BR /&gt;ERROR: Failed to attach to Java during SAS startup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what to do next...&amp;nbsp; I looked on this forum, and one&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-3/td-p/489522" target="_self"&gt;user&lt;/A&gt;&amp;nbsp;had a similar problem to me, but s/he ended up editing&lt;SPAN&gt;../&lt;/SPAN&gt;&lt;SPAN&gt;SASHome/SASFoundation/9.4/nls/en/sasv9.cfg .&amp;nbsp; However, I have a../SASHome/SASFoundation/9.4/sasv9.cfg file and the value for -JREOPTIONS appears correct.&amp;nbsp; At least, the -Djava.class.path value points to an existing jar file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to give a more verbose reason as to why Java failed?&amp;nbsp; Java is installed:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ java -version&lt;BR /&gt;openjdk version "1.8.0_191"&lt;BR /&gt;OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12)&lt;BR /&gt;OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ which java&lt;BR /&gt;/usr/bin/java&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Outside of this forum, I found a few people discussing about installing/removing SAS and Java, but such advice didn't make sense to me.&amp;nbsp; I don't mind trying this, but it seems to me this is a shot in the dark and perhaps I should ask on this forum before trying something like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated!&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2019 12:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526730#M15401</guid>
      <dc:creator>rwan1</dc:creator>
      <dc:date>2019-01-13T12:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526798#M15402</link>
      <description>&lt;P&gt;As I understand it, SAS Display Manager on Unix needs to be run under an X-windows graphical terminal client. If you were running SAS under a character-based terminal client then it would fail, possibly with the symptoms you are seeing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This link may help:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n044vvir3dlogtn1wpa6bqsjbslu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n044vvir3dlogtn1wpa6bqsjbslu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jan 2019 22:36:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526798#M15402</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-01-13T22:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526873#M15407</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254932"&gt;@rwan1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;forst of all, I must say that while installation in Ubuntu is possible, it is not officially supported by SAS; meaning, SAS can help you but cannot ensure you a solution. You can check the SAS Foundation 9.4 system requirements here:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnlaxsr/66396/PDF/default/sreq.pdf" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnlaxsr/66396/PDF/default/sreq.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you need a free edition, I would go for a closer one to a distro that is supported. Such as CentOs, since RedHat is supported, and CentOS is, well...., almost the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That being said:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;First, the best way to qualify if your SAS foundation installation is correct, is to execute the &lt;STRONG&gt;SAS Installation Qualification (sasiq)&lt;/STRONG&gt; and the &lt;STRONG&gt;SAS Operation Qualification&lt;/STRONG&gt; (sasoq) Tools. There is no better way.&lt;/LI&gt;
&lt;LI&gt;Second, indeed, if you just execute "sas", you will need X windows and a x window client/server. MobaXterm?&lt;/LI&gt;
&lt;LI&gt;Third, you can also run sas in simple CLI, with the &lt;STRONG&gt;-nodms&lt;/STRONG&gt; parameter&lt;/LI&gt;
&lt;LI&gt;SAS 9.4 uses its own JDK and JRE. If you peek into your SASHOME directory, you will see a SASPrivateJRE folder, which is exactly that, a private Java Runtime Environment. Additional Java instances might cause trouble in some cases and, then, you need to take additional actions.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All in all, the fact that you made an installation in Ubuntu, it might mean that not all the internal components you are installing,&amp;nbsp; are compiled 100% for your kernel ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;THis might help you as well:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf?locale=en#nameddest=http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf?locale=en#nameddest=http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 08:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526873#M15407</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2019-01-14T08:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526896#M15409</link>
      <description>&lt;P&gt;Ubuntu 18.04 is not a supported distribution of GNU/Linux. Just out of curiosity why have you select Ubuntu 18.04 for your deployment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just incase this is useful to others when you deploy the SAS software to a system the Java interpreter used by that SAS installation is unpacked from the SAS software depot into the SASHome. The OpenJDK deployed onto a host if its installed is not the JVM used by the SAS software. The Java used by the SAS software is deployed under the SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your case&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254932"&gt;@rwan1&lt;/a&gt; unless you have a very good reason for needing to stick on Ubuntu 18.04 I would strongly advice deploying the SAS software onto a supported operating system. The SAS testing teams only test the SAS software on supported distributions so who know what edge case quirk you are hitting.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 11:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526896#M15409</guid>
      <dc:creator>SimonDawson</dc:creator>
      <dc:date>2019-01-14T11:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526930#M15410</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11650"&gt;@SimonDawson&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Ubuntu 18.04 is not a supported distribution of GNU/Linux. Just out of curiosity why have you select Ubuntu 18.04 for your deployment?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Oh.&amp;nbsp; I guess that's a bit of a long story.&amp;nbsp; The server where I have installed SAS has been in use for a couple of years for other purposes.&amp;nbsp; (i.e., analyses using other programs)&amp;nbsp; And, until now, the choice of Ubuntu has never caused me any problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That aside, I have personally used Debian for 10 years and then Ubuntu for another 10 years (i.e., total of 20 years, give or take...alas, I'm not a Java programmer, though).&amp;nbsp; Currently, I use Ubuntu as my desktop machine.&amp;nbsp; So, my choice of Ubuntu as the OS for the server in question was obvious.&amp;nbsp; (And many, many years ago, I did know someone who looked after a CentOS server and she did have some problems with rpm, etc.&amp;nbsp; Of course, that's just a bias because how these distributions are now has nothing to do how they were 10+ years ago...all of them have improved a lot over the years.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in short, that is the reason why I'm installing it on an Ubuntu machine.&amp;nbsp; At the time we purchased the SAS license, I *was* aware that Ubuntu wasn't officially supported.&amp;nbsp; But, like I said, other analyses were happening by other users and it seemed a bit pre-emptive to disturb what already works for them to cater to SAS, which won't be used by every user.&amp;nbsp; I'd have to try first before deciding wiping the OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Just incase this is useful to others when you deploy the SAS software to a system the Java interpreter used by that SAS installation is unpacked from the SAS software depot into the SASHome. The OpenJDK deployed onto a host if its installed is not the JVM used by the SAS software. The Java used by the SAS software is deployed under the SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre directory.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Oh!&amp;nbsp; That is useful information...&amp;nbsp; Then I was perhaps barking up the wrong tree by dwelling on the Java installation.&amp;nbsp; Let me look into this further; I can even consider removing the system-installed Java as I think no one is using it.&amp;nbsp; But I have to check.&amp;nbsp; I can certainly uninstall it temporarily just to its effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;For your case&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254932"&gt;@rwan1&lt;/a&gt; unless you have a very good reason for needing to stick on Ubuntu 18.04 I would strongly advice deploying the SAS software onto a supported operating system. The SAS testing teams only test the SAS software on supported distributions so who know what edge case quirk you are hitting.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I suppose I cannot rule out the possibility of wiping the system and installing CentOS for SAS.&amp;nbsp; Users who are using the system with other programs can be moved to another server, I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess this is a last resort.&amp;nbsp; I do hope that there are other Ubuntu system administrators that have seen this.&amp;nbsp; This thread has other suggestions (thank you to all of you!) which I will try first.&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526930#M15410</guid>
      <dc:creator>rwan1</dc:creator>
      <dc:date>2019-01-14T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526935#M15412</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;As I understand it, SAS Display Manager on Unix needs to be run under an X-windows graphical terminal client. If you were running SAS under a character-based terminal client then it would fail, possibly with the symptoms you are seeing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This link may help:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n044vvir3dlogtn1wpa6bqsjbslu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=n044vvir3dlogtn1wpa6bqsjbslu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your prompt reply!&amp;nbsp; I have X-Windows working fine.&amp;nbsp; At the link above, I can indeed start up "xclock" on the server, which then creates a window on my computer remotely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact, the installation program (SAS Deployment Wizard) is a graphical program and I installed SAS remotely.&amp;nbsp; But thank you for mentioning this!&amp;nbsp; At least it gives me an idea of the type of things I should consider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 14:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526935#M15412</guid>
      <dc:creator>rwan1</dc:creator>
      <dc:date>2019-01-14T14:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526950#M15414</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your prompt and helpful replies!&amp;nbsp; I managed to solve my problem and am posting it in the hopes it can help others.&amp;nbsp; (Though as I will mention later, I'm not out of the woods...but at least I've solved the problem I mentioned yesterday which was the "&lt;SPAN&gt;ERROR: Failed to attach to Java during SAS startup.")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Actually, not surprisingly, I was being a bit careless.&amp;nbsp; I didn't realize there was diagnostic information above what I copied and pasted into my e-mail -- actually a lot.&amp;nbsp; As I scrolled up in my terminal, there were messages like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;No Traceback Available&lt;/P&gt;&lt;P&gt;ERROR: An exception has been encountered.&lt;BR /&gt;Please contact technical support and provide them with the following traceback information:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, way near the top, before all the madness began, there was this message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Could not load /usr/local/SASHome/SASFoundation/9.4/dbcs/sasexe/sasmotif (37 images loaded)&lt;/P&gt;&lt;P&gt;ERROR: libjpeg.so.62: cannot open shared object file: No such file or directory&lt;BR /&gt;ERROR: BRIDGE FAILURE - ERROR LOADING IMAGE&lt;BR /&gt;MODULE: sasmotifsasvsub h7QV SUBSYSTEM: 8 SLOT: 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, what I did next was install the&amp;nbsp;&lt;STRONG&gt;libjpeg62&amp;nbsp;&lt;/STRONG&gt;Ubuntu package.&amp;nbsp; Then a second error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: libpng12.so.0: cannot open shared object file: No such file or directory&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;suggested I should do the same, but this was more difficult since it no longer exists in Ubuntu 18.04.&amp;nbsp; Ubuntu 18.04 uses libpng16 now.&amp;nbsp; But, as explained&amp;nbsp;&lt;A href="https://www.linuxuprising.com/2018/05/fix-libpng12-0-missing-in-ubuntu-1804.html" target="_self"&gt;here&lt;/A&gt;, the solution is to download this package from an older version of Ubuntu and then installing it with "dpkg -i".&amp;nbsp; After installing the two JPEG and PNG packages, the SAS screen loaded fine.&amp;nbsp; As I have never ran SAS before, I'm not 100% sure but windows did open up and it seemed like I was being asked to input something.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least this part is done but I have learned a lot about SAS through your replies.&amp;nbsp; Thank you everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 15:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526950#M15414</guid>
      <dc:creator>rwan1</dc:creator>
      <dc:date>2019-01-14T15:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Failed to attach to Java during SAS startup. (SAS 9.4 / Ubuntu 18.04)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526958#M15418</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your check list of things I should look into!&amp;nbsp; Between this reply and&amp;nbsp;my replies to others in the conversation, I did solve my problem.&amp;nbsp; I wasn't replying in any particular order and was bouncing back and forth between trying things and read what suggestions all of you gave me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/254932"&gt;@rwan1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;forst of all, I must say that while installation in Ubuntu is possible, it is not officially supported by SAS; meaning, SAS can help you but cannot ensure you a solution. You can check the SAS Foundation 9.4 system requirements here:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnlaxsr/66396/PDF/default/sreq.pdf" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnlaxsr/66396/PDF/default/sreq.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you need a free edition, I would go for a closer one to a distro that is supported. Such as CentOs, since RedHat is supported, and CentOS is, well...., almost the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, while I seem to have gotten it working, I will keep CentOS as an option if I encounter further issues down the road.&amp;nbsp; In this case, a license was purchased for the server version, so I probably want to do whatever I can to get this working before either going with a free edition and/or re-installing the OS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That being said:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;First, the best way to qualify if your SAS foundation installation is correct, is to execute the &lt;STRONG&gt;SAS Installation Qualification (sasiq)&lt;/STRONG&gt; and the &lt;STRONG&gt;SAS Operation Qualification&lt;/STRONG&gt; (sasoq) Tools. There is no better way.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not aware of this program!&amp;nbsp; This was quite useful.&amp;nbsp; I ran it and out of 38,302 files, 56 failed the checksum.&amp;nbsp; I don't quite understand why they failed, though.&amp;nbsp; Many of them are "picklist" files...they seem to be files used to fill a pick list in a pull-down table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, as I said in my original message, I did have errors during the installation.&amp;nbsp; Two updates failed installing.&amp;nbsp; I will look into that later -- perhaps that is related to the failed checksums.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Second, indeed, if you just execute "sas", you will need X windows and a x window client/server. MobaXterm?&lt;/LI&gt;&lt;LI&gt;Third, you can also run sas in simple CLI, with the &lt;STRONG&gt;-nodms&lt;/STRONG&gt; parameter&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm actually using an Ubuntu desktop machine to connect to the Ubuntu server.&amp;nbsp; So, I'm just using ssh.&amp;nbsp; The X windows worked as I has already enabled X11 port forwarding, etc.&amp;nbsp; But thank you for the -nodms parameter.&amp;nbsp; That did work as well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SAS 9.4 uses its own JDK and JRE. If you peek into your SASHOME directory, you will see a SASPrivateJRE folder, which is exactly that, a private Java Runtime Environment. Additional Java instances might cause trouble in some cases and, then, you need to take additional actions.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this!&amp;nbsp; As I mentioned to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11650"&gt;@SimonDawson&lt;/a&gt;, who replied after you, I was not aware of this.&amp;nbsp; It's good to know.&amp;nbsp; I did come across articles such as&amp;nbsp;&lt;A href="http://support.sas.com/kb/44/853.html" target="_self"&gt;http://support.sas.com/kb/44/853.html&lt;/A&gt;.&amp;nbsp; The target audience is for a Windows-based installation, but the paths mentioned for Java are not within the SASHOME directory.&amp;nbsp; So, if neither you nor Simon said anything, I would have continued to believe that the Java being used was outside SASHOME.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All in all, the fact that you made an installation in Ubuntu, it might mean that not all the internal components you are installing,&amp;nbsp; are compiled 100% for your kernel ...&lt;/P&gt;&lt;P&gt;THis might help you as well:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf?locale=en#nameddest=http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/" target="_blank"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf?locale=en#nameddest=http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite Ubuntu not being officially supported, thank you everyone for your help!&amp;nbsp; I'm actually not yet "done".&amp;nbsp; Besides the failure of the update and the failed checksums, the intention is for the user to connect to the server using the client version of SAS (i.e., via SAS/Connect).&amp;nbsp; I need to set that up next before I can breathe a sigh of relief.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I feel somewhat hopeful that this will work out after seeing the program actually run.&amp;nbsp; (Perhaps I was overwhelmed by its size and the many modules!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again, everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 15:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Failed-to-attach-to-Java-during-SAS-startup-SAS-9-4-Ubuntu/m-p/526958#M15418</guid>
      <dc:creator>rwan1</dc:creator>
      <dc:date>2019-01-14T15:25:15Z</dc:date>
    </item>
  </channel>
</rss>

