BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.

Hi All,

I'm new to SAS. I've installed all the components of SAS without any error. After Installation I'm unable to open Management Console neither in ALl Programs nor sasmc.exe.

Nothing is showing even after clicking on Management Console Icon. Even if i run sasmc.exe nothing is coming.

Could you please help me.

1 ACCEPTED SOLUTION

Accepted Solutions
JuanS_OCS
Amethyst | Level 16

Well, the log says that it can not locate the file

C:\Program Files\SASHome\sas.java.ext.config

Therefore, or the file is not really there, or you need different permissions to access the file/files on your SASHome.

You can try to first locat the file, and if you find it, you can try to open it, it is supposed to be a text file.

If you can open it, then the problem is different.

If not, then you found the issue: the file is not existing or you don;t have rights to read it.

View solution in original post

8 REPLIES 8
jakarman
Barite | Level 11

The smc.exe is a wrapper around java and starting a java session. Running this at Unix you are needing a X-server on Windows

running it a Windows you JPRE should be correctly working so you can build up you connection profile.  It seems you are having a Java issue/

It is possible to activate a log at the ini-file   

---->-- ja karman --<-----
JuanS_OCS
Amethyst | Level 16

Which version of SAS did you install? Which java versions do you have installed?

Please follow Jaap's intructions to get more information, and check:

Your system requirements for your SAS version: SAS System Requirements

And your requirements for third-party products (as Java): Support.sas.com

ms_shrinivas38_gmail_com
Calcite | Level 5

Hi Jaap/Juan,

Thanks for your response.

I've installed SAS 9.3 and Java 1.6_045 Version.

I checked in Portal and found that that above Java 1.6_45 version not supported for SAS. So I need to install the recommended java veriosn in Portal.

Shall i need to uninstall full SAS,Java and reinstall SAS with fresh java version or only reinstalling of java is enough??

SASKiwi
Opal | Level 21

Uninstalling Java is enough. You can even install a new version of Java without uninstalling the later version, then point SAS at the correct version.

In your PC SASHOME directory (probably c:\Program Files\SASHOME) you should find a file called SASSW.CONFIG. In this file there is a line that defines which Java SAS uses:

JREHOME=C:\Program Files\SASHome\jre6\bin\java.exe

ms_shrinivas38_gmail_com
Calcite | Level 5

Hi SASKiwi,

I've reinstalled the Java now it is correctly poining to the Version in SASHome\jre6.

But Still Management console is not opening.:(

ms_shrinivas38_gmail_com
Calcite | Level 5

Also I'm getting below error when I execute below command in cmd prompt.

C:\Program Files\SASHome\SASManagementConsole\9.3>sasmc.exe

C:\Program Files\SASHome\SASManagementConsole\9.3>sasms_console.exe

'sasms_console.exe' is not recognized as an internal or external command,

operable program or batch file.

C:\Program Files\SASHome\SASManagementConsole\9.3>sasmc_console.exe

Error occurred during initialization of VM

java.lang.Error: java.lang.RuntimeException: Unable to locate configuration file

C:\Program Files\SASHome\sas.java.ext.config

        at java.lang.ClassLoader.initSystemClassLoader(Unknown Source)

        at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)

Caused by: java.lang.RuntimeException: Unable to locate configuration file C:\Pr

ogram Files\SASHome\sas.java.ext.config

        at com.sas.app.AppClassLoader$Helper.getExtIncludeList(AppClassLoader.ja

va:1052)

        at com.sas.app.AppClassLoader$Helper.<init>(AppClassLoader.java:784)

        at com.sas.app.AppClassLoader.<init>(AppClassLoader.java:262)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at java.lang.SystemClassLoaderAction.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.lang.ClassLoader.initSystemClassLoader(Unknown Source)

        at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)

Caused by: java.io.FileNotFoundException: C:\Program Files\SASHome\sas.java.ext.

config (The system cannot find the file specified)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(Unknown Source)

        at java.io.FileInputStream.<init>(Unknown Source)

        at com.sas.app.AppClassLoader$Helper.getExtIncludeList(AppClassLoader.ja

va:1033)

        at com.sas.app.AppClassLoader$Helper.<init>(AppClassLoader.java:784)

        at com.sas.app.AppClassLoader.<init>(AppClassLoader.java:262)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou

rce)

        at java.lang.reflect.Constructor.newInstance(Unknown Source)

        at java.lang.SystemClassLoaderAction.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.lang.ClassLoader.initSystemClassLoader(Unknown Source)

        at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)

C:\Program Files\SASHome\SASManagementConsole\9.3>

JuanS_OCS
Amethyst | Level 16

Well, the log says that it can not locate the file

C:\Program Files\SASHome\sas.java.ext.config

Therefore, or the file is not really there, or you need different permissions to access the file/files on your SASHome.

You can try to first locat the file, and if you find it, you can try to open it, it is supposed to be a text file.

If you can open it, then the problem is different.

If not, then you found the issue: the file is not existing or you don;t have rights to read it.

AndrewHowell
Moderator

As a first step, check what versions of Java you have installed, and review your environment variable settings to see which of those versions SAS MC is trying to access?

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 5304 views
  • 2 likes
  • 5 in conversation