BookmarkSubscribeRSS Feed
Sheff
Calcite | Level 5

I have SAS Installed on my Linux box.

however no java is installed/was installed (SAS Private Java Runtime Environment) during installation process

 

So, i'm getting this error message:

proc javainfo; run;

ERROR: The Java proxy is not responding.
ERROR: Proc javainfo did not run correctly.
ERROR: The Java child process terminated unexpectedly: status 127.

 

 

14 REPLIES 14
alexal
SAS Employee

@Sheff,

 

Please run the following SAS program and show me the output:

 

options set=TKJNI_OPT_TRACE="y" ;
%put OS: &SYSSCP  &SYSSCPL ;
%put SAS Mode: &SYSPROCESSNAME ;
%put SAS Version: &sysvlong ;
%put User: &SYSUSERID ;
%put SASROOT: %sysget(SASROOT) ;
%put JAVA_HOME is: %sysget(JAVA_HOME) ;
%put CLASSPATH is: %sysget(CLASSPATH) ;
%put PATH is: %sysget(PATH) ;
%put LD_LIBRARY_PATH is: %sysget(LD_LIBRARY_PATH) ;
proc javainfo ; run ;
proc options option=jreoptions ; run ;
Sheff
Calcite | Level 5
NOTE: This session is executing on the Linux 3.10.0-693.21.1.el7.x86_64 (LIN X64) platform.




NOTE: Updated analytical products:



SAS/STAT 14.3

SAS/ETS 14.3

SAS/OR 14.3

SAS/IML 14.3

SAS/QC 14.3


NOTE: Additional host information:


Linux LIN X64 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 CentOS Linux release 7.4.1708 (Core)


You are running SAS 9. Some SAS 8 files will be automatically converted

by the V9 engine; others are incompatible. Please see

http://support.sas.com/rnd/migration/planning/platform/64bit.html


PROC MIGRATE will preserve current SAS file attributes and is

recommended for converting all your SAS libraries from any

SAS 8 release to SAS 9. For details and examples, please see

http://support.sas.com/rnd/migration/index.html



This message is contained in the SAS news file, and is presented upon

initialization. Edit the file "news" in the "misc/base" directory to

display site-specific news and information in the program log.

The command line option "-nonews" will prevent this display.





NOTE: SAS initialization used:

real time 0.09 seconds

cpu time 0.04 seconds



1 options set=TKJNI_OPT_TRACE="y" ;

2 %put OS: &SYSSCP &SYSSCPL ;

OS: LIN X64 Linux

3 %put SAS Mode: &SYSPROCESSNAME ;

SAS Mode: Program /home/syssergiy/java.sas

4 %put SAS Version: &sysvlong ;

SAS Version: 9.04.01M5P091317

5 %put User: &SYSUSERID ;

User: root

6 %put SASROOT: %sysget(SASROOT) ;

SASROOT: /usr/local/SASHome/SASFoundation/9.4

7 %put JAVA_HOME is: %sysget(JAVA_HOME) ;

JAVA_HOME is: /usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre

8 %put CLASSPATH is: %sysget(CLASSPATH) ;

WARNING: The argument to macro function %SYSGET is not defined as a system variable.

CLASSPATH is:

9 %put PATH is: %sysget(PATH) ;


2 The SAS System 11:29 Tuesday, May 15, 2018


PATH is: /usr/lib64/qt-3.3/bin:/root/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

10 %put LD_LIBRARY_PATH is: %sysget(LD_LIBRARY_PATH) ;

LD_LIBRARY_PATH is:

/usr/local/SASHome/Secure/sasexe:/usr/local/SASHome/SASODBCDriversfortheWebInfrastructurePlatformDataServer/9.4/Driver:/usr/local/SA

SHome/SASPrivateJavaRuntimeEnvironment/9.4/jre/lib/amd64/server:/usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre/lib/amd6

4:/usr/local/SASHome/SASFoundation/9.4/sasexe

NOTE: PROCEDURE JAVAINFO used (Total process time):

real time 1.00 seconds

cpu time 0.01 seconds



jecreatjvm skCreateJavaVM: bufL 116 strSize 1 proxyData->dftBufSz 2124

jecreatjvm skCreateJavaVM: extHandle 7f3b70087f20 argc 16 argv 7f3b70089fa0 bufT 7f3b52bc6490 trace 1 timeout 60 dftBufSz 2124

jecreatjvm initProxy: extHandle 7f3b70087f20

TKPOSjniipc createIPC_ ipc channel p 0x7f3b7008a180 (sem 0x30000 memory 0x148000 m 0x7f3b7db10000) bufsz 2124

jecreatjvm initProxy: m->bufsz 2124

jecreatjvm skCreateJavaVM: proxyData m->bufsz 2124

jecreatjvm skCreateJavaVM: m 7f3b7db10000 m->flags 81

client: send slot 0x7f3b7008a180 routine 200 len 946

client: send signals 0x30000 state 0

client: send now find 0x30000 state 1

client: receiveTO ipcID 0x7f3b7008a180 state 0

client:...rtn 200 rc (jlong)0x0, len 946

ERROR: The Java proxy is not responding.

jejvm stopProxy p 7f3b7008a040

jeipc jipcTerm: extHandle 7f3b70087f20

jeipc jipcTerm: exiting

ERROR: Proc javainfo did not run correctly.

/usr/local/SASHome/SASFoundation/9.4/utilities/bin/jproxy: error while loading shared libraries: libjvm.so: cannot open

shared object file: No such file or directory

ERROR: The Java child process terminated unexpectedly: status 127.

ERROR: WIFSIGNALED 0 WIFEXITED 0 WEXITSTATUS 0 WTERMSIG 127.

jeipc jipcSuspend: extHandle 7f3b70087f20

jeipc jipcSuspend: exiting

11 proc javainfo ; run ;



12 proc options option=jreoptions ;

13 run ;


SAS (r) Proprietary Software Release 9.4 TS1M5


JREOPTIONS=( -DPFS_TEMPLATE=/usr/local/SASHome/SASFoundation/9.4/misc/tkjava/qrpfstpt.xml

-Djava.class.path=/usr/local/SASHome/SASVersionedJarRepository/eclipse/plugins/sas.launcher.jar

-Djava.security.auth.login.config=/usr/local/SASHome/SASFoundation/9.4/misc/tkjava/sas.login.config

-Djava.security.policy=/usr/local/SASHome/SASFoundation/9.4/misc/tkjava/sas.policy

-Djava.system.class.loader=com.sas.app.AppClassLoader

-Dlog4j.configuration=file:/usr/local/SASHome/SASFoundation/9.4/misc/tkjava/sas.log4j.properties

-Dsas.app.class.path=/usr/local/SASHome/SASVersionedJarRepository/eclipse/plugins/tkjava.jar

-Dsas.ext.config=/usr/local/SASHome/SASFoundation/9.4/misc/tkjava/sas.java.ext.config

-Dtkj.app.launch.config=/usr/local/SASHome/SASVersionedJarRepository/picklist )

Specifies the Java Runtime Environment options for SAS.

NOTE: PROCEDURE OPTIONS used (Total process time):

real time 0.00 seconds

cpu time 0.00 seconds

alexal
SAS Employee

@Sheff,

 

Thanks for your response. I would like to review an output from a command below:

 

ls -la /usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre
Sheff
Calcite | Level 5
Hi,

here you go:


[root]# ls -la /usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre

ls: cannot access /usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/jre: No such file or directory


however:


[root]# cd /usr/local/SASHome/SASPrivateJavaRuntimeEnvironment/9.4/

[root]#


it does look like that jre is not installed at all.....
alexal
SAS Employee

@Sheff,

 

Yes, something went wrong during the installation. You have to reinstall SAS.

Sheff
Calcite | Level 5

it doesn't look like i do have all required packages in my install... see screen below

alexal
SAS Employee

@Sheff,


What do you mean? SAS Private JRE is the number one on your screenshot.

Sheff
Calcite | Level 5

there is an error on the bottom of the screen.... also, there is NO installation packages in the source directory for private java ;-(

alexal
SAS Employee

@Sheff,

 

I would like to review the most recent logs from ~/.SASAppData/SASDeploymentWizard/

Sheff
Calcite | Level 5

checking


@alexalwrote:

@Sheff,

 

I would like to review the most recent logs from ~/.SASAppData/SASDeploymentWizard/


 

Sheff
Calcite | Level 5

h,

the very first line is:

Completed with errors - SAS Provate Java Runtime Environment *64-bit)

Completed with errors - SAS Studio Basic

Completed with errors - SAS shared services

Completed with errors -  SAS/GRAPH Java Applets for web services

 

Also, it doesn't look like my installation source has java packages to be installed:

 

root@download]# ls -ltr javaruntime__99427__h6i__xx__sp0__1/product
product_data/ products/
[root@download]# ls -ltr javaruntime__99427__h6i__xx__sp0__1/products/
total 0
[root@download]#
[root@download]# ls -ltr javaruntime__99447__mvs__xx__sp0__1/products/
total 0
[root@download]# ls -ltr javaruntime__99570__wx6__xx__sp0__1/products/
total 0
[root@download]# ls -ltr javaruntime__99580__lax__xx__sp0__1/products/
total 0
[root@download]#

Sheff
Calcite | Level 5

I have a solution now.

very basic solution is NOT to use any "space" in a folder names.... especially where SAS source is.....

i had

/install/SAS source

and when i changed it to 

/install/SASsource

with no spaces it worked like a charm

thanks for your help!

alexal
SAS Employee

@Sheff,

 

Yeah, that's a good idea to avoid using spaces in the folder names on Linux.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 14 replies
  • 3160 views
  • 0 likes
  • 2 in conversation