EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB442622: Installation of MicroStrategy 2019 fails due to an error, "java.lang.Exception: Unable to create symbolic link /mstrlib"


Mari Sugimura

Senior Cloud Support Engineer III • MicroStrategy


This article explains one of the possible reason for the error, "java.lang.Exception: Unable to create symbolic link /mstrlib," found during installation of MicroStrategy 2019 and suggests a resolution.

SYMPTOM:
Installation of Strategy 2019 to Linux fails with the following error:

SEVERE: Unable to create initialize license library: java.lang.Exception: Unable to create symbolic link /mstrlib: /bin/ln: failed to create symbolic link '/mstrlib': Permission denied at com.Strategy.install.support.os.OSTools.createSymbolicLink(OSTools.java:63) at com.Strategy.install.support.ValidationUtilities.createLibSymbolicLink(ValidationUtilities.java:754) at com.Strategy.install.licensing.InstallLicense.initializeEnvironment(InstallLicense.java:148) at com.Strategy.install.products.MstrSuite.execute(MstrSuite.java:488) at com.Strategy.install.wizard.cli.dialogs.ProductInstallationDialogCLI$ProductInstallationSwingWorker.doInBackground(ProductInstallationDialogCLI.java:273) at com.Strategy.install.wizard.cli.dialogs.ProductInstallationDialogCLI$ProductInstallationSwingWorker.doInBackground(ProductInstallationDialogCLI.java:242) at javax.swing.SwingWorker$1.call(SwingWorker.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javax.swing.SwingWorker.run(SwingWorker.java:334) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 

 
INFO: Processing installation error...SEVERE: Failed to change access permission to 755 on directory /home/xxx/MicroStrategy/install/lib

However, the user account used for the installation has no problem creating the symbolic link when attempted manually. 
CAUSE:
ksh is not installed properly on Linux 7.x.
ACTION:
Run following command to confirm if ksh is installed.
/bin/ksh --version
Work with Linux Administration team and make sure ksh is installed on Linux properly. For more information regarding supported OS and requirements, refer to:
https://www2.microstrategy.com/producthelp/current/Readme/content/requirements_i_server.htm
KB442622


Comment

0 comments

Details

Knowledge Article

Published:

January 24, 2019

Last Updated:

January 24, 2019