Problem installing FreeMASTER - Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem installing FreeMASTER - Linux

Jump to solution
2,875 Views
daniel1512
Contributor I

I have problems installing FreeMASTER on a Raspberry Pi Zero

No activation code popup is displayed (see screenshot  1)

After few seconds the installer rolls back (see screenshot  2)

__________________________________________________________________________

Thu Sep 23 04:30:59 CEST 2021

Free Memory: 24574 kB
Total Memory: 37948 kB

java.class.path:
    /tmp/install.dir.11427/InstallerData
    /tmp/install.dir.11427/InstallerData/installer.zip

ZGUtil.CLASS_PATH:
    /tmp/install.dir.11427/InstallerData
    /tmp/install.dir.11427/InstallerData/installer.zip

sun.boot.class.path:
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/resources.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/sunrsasign.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jsse.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jce.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/charsets.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jfr.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/classes

java.ext.dirs:
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/ext
    /usr/java/packages/lib/ext

java.version                  == 1.8.0_212 (Java 1)
java.vm.name                  == OpenJDK Client VM
java.vm.vendor                == Oracle Corporation
java.vm.version               == 25.212-b01
java.vm.specification.name    == Java Virtual Machine Specification
java.vm.specification.vendor  == Oracle Corporation
java.vm.specification.version == 1.8
java.specification.name       == Java Platform API Specification
java.specification.vendor     == Oracle Corporation
java.specification.version    == 1.8
java.vendor                   == Oracle Corporation
java.vendor.url               == http://java.oracle.com/
java.class.version            == 52.0
java.library.path             == /usr/java/packages/lib/arm:/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/lib
java.compiler                 == null
java.home                     == /usr/lib/jvm/java-8-openjdk-armhf/jre
java.io.tmpdir                == /tmp
os.name                       == Linux
os.arch                       == arm
os.version                    == 5.10.60+
path.separator                == :
file.separator                == /
file.encoding                 == UTF-8
user.name                     == root
user.home                     == /root
user.dir                      == /tmp/install.dir.11427
user.language                 == en
user.region                   == null
__________________________________________________________________________

Installed Feature(s) FMSTR Lite, FMSTR NM of FreeMASTER 3.1

Install Begin: SEPTEMBER 23, 2021 4:23:46 PM CEST
Install End: SEPTEMBER 23, 2021 4:27:54 PM CEST

Installed by InstallAnywhere 20.0 Premier Build 6336


User Interactions
-----------------


#Choose Product Features
#-----------------------
CHOSEN_FEATURE_LIST=FMSTR Lite,FMSTR NM
CHOSEN_INSTALL_FEATURE_LIST=FMSTR Lite,FMSTR NM
CHOSEN_INSTALL_SET=FMSTR

#Choose Install Folder
#---------------------
USER_INSTALL_DIR=/root/NXP/FreeMASTER

#Choose Link Folder
#------------------
USER_SHORTCUTS=Do Not Install

#Install
#-------
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/FnpCommsSoap.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/libcll_app.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/libcll_app_libFNP.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr_libFNP.so=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/install_fnp.sh=Yes
-fileOverwrite_/tmp/146212.tmp/FNPLicense/license.jar=Yes

Summary
-------

Installation: Unsuccessful.

25 Successes
14 Warnings
1 NonFatalErrors
1 FatalErrors

Action Notes:

None

Install Log Detail:

Check Disk Space:         /root/NXP/FreeMASTER 3.1
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Required Disk Space:270,043,317 Bytes Free Disk Space:18,082,430,976 Bytes 

Check Disk Space:         /root/NXP/FreeMASTER 3.1
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Required Disk Space:270,043,317 Bytes Free Disk Space:18,082,430,976 Bytes 

Check Disk Space:         /root/NXP/FreeMASTER
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Required Disk Space:270,043,317 Bytes Free Disk Space:18,082,459,648 Bytes 

Check Disk Space:         /root/NXP/FreeMASTER
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Required Disk Space:270,043,317 Bytes Free Disk Space:18,082,459,648 Bytes 

Install Directory:        /tmp/146212.tmp/
                          Status: SUCCESSFUL
                          Additional Notes: NOTE - Directory already existed

Install Directory:        /tmp/146212.tmp/FNPLicense/
                          Status: SUCCESSFUL

Install Directory:        /tmp/146212.tmp/FNPLicense/cll/
                          Status: SUCCESSFUL

Install Directory:        /tmp/146212.tmp/FNPLicense/cll/x64/
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/FnpCommsSoap.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/libcll_app.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/libcll_app_libFNP.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr_libFNP.so
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/FNPLicensingService/FNPLicensingService
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/install_fnp.sh
                          Status: SUCCESSFUL

Install File:             /tmp/146212.tmp/FNPLicense/license.jar
                          Status: SUCCESSFUL

Execute Script/Batch file:   Install Flexera service
                          Status: SUCCESSFUL


Execute Command:          java "-Djava.library.path=/tmp/146212.tmp/FNPLicense/cll/x64" -jar "/tmp/146212.tmp/FNPLicense/license.jar" verify -feature Activated -version 1.1 -prod FreeMASTER_Lite_1.1.RTM
                          Status: SUCCESSFUL

Execute Command:          java "-Djava.library.path=/tmp/146212.tmp/FNPLicense/cll/x64" -jar "/tmp/146212.tmp/FNPLicense/license.jar" run -feature Activated -version 1.1 -prod FreeMASTER_Lite_1.1.RTM
                          Status: SUCCESSFUL


Install Uninstaller:      FreeMASTER 3.1(Install All Uninstaller Components)
                          Status: SUCCESSFUL

Install Directory:        /root/NXP/FreeMASTER/_FreeMASTER_installation/InstData/
                          Status: SUCCESSFUL

Install Uninstaller:      FreeMASTER 3.1(Install All Uninstaller Components)
                          Status: ERROR
                          Additional Notes: ERROR - Error writing LaunchAnywhere components (Access Denied)

Uninstall File:           /root/NXP/FreeMASTER/_FreeMASTER_installation/Logs/FreeMASTER_3.1_Install_09_23_2021_16_25_18.log
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/FnpCommsSoap.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/libcll_app.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/libcll_app_libFNP.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/cll/x64/libcll_svr_libFNP.so
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/FNPLicensingService/FNPLicensingService
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/install_fnp.sh
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Uninstall File:           /tmp/146212.tmp/FNPLicense/license.jar
                          Status: WARNING
                          Additional Notes: WARNING - The file does not exist 

Execute Command:          sudo rm /usr/local/lib/libcll_app_libFNP.so
                          Status: SUCCESSFUL

Uninstall Folder:         /tmp/146212.tmp/FNPLicense/cll/x64
                          Status: WARNING
                          Additional Notes: WARNING - The path does not exist

Uninstall Folder:         /tmp/146212.tmp/FNPLicense/cll
                          Status: WARNING
                          Additional Notes: WARNING - The path does not exist

Uninstall Folder:         /tmp/146212.tmp/FNPLicense/FNPLicensingService
                          Status: WARNING
                          Additional Notes: WARNING - The path does not exist

Uninstall Folder:         /tmp/146212.tmp/FNPLicense
                          Status: WARNING
                          Additional Notes: WARNING - The path does not exist

Error occurred while installing the following Action, hence rolling back the installation....!


Action Name:              Trigger Rollback Action
Action Description:       Trigger Rollback Action


Error Details as below:


This action rolls back the Installation.
====================STDERR ENTRIES==================

__________________________________________________________________________

InstallAnywhere 2020
Version: 20.0
__________________________________________________________________________

Thu Sep 23 04:23:20 CEST 2021

Free Memory: 11710 kB
Total Memory: 15872 kB

No Arguments

java.class.path:
    /tmp/install.dir.11427/InstallerData
    /tmp/install.dir.11427/InstallerData/installer.zip

ZGUtil.CLASS_PATH:
    /tmp/install.dir.11427/InstallerData
    /tmp/install.dir.11427/InstallerData/installer.zip

sun.boot.class.path:
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/resources.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/sunrsasign.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jsse.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jce.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/charsets.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jfr.jar
    /usr/lib/jvm/java-8-openjdk-armhf/jre/classes

java.ext.dirs:
    /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/ext
    /usr/java/packages/lib/ext

java.version                  == 1.8.0_212 (Java 1)
java.vm.name                  == OpenJDK Client VM
java.vm.vendor                == Oracle Corporation
java.vm.version               == 25.212-b01
java.vm.specification.name    == Java Virtual Machine Specification
java.vm.specification.vendor  == Oracle Corporation
java.vm.specification.version == 1.8
java.specification.name       == Java Platform API Specification
java.specification.vendor     == Oracle Corporation
java.specification.version    == 1.8
java.vendor                   == Oracle Corporation
java.vendor.url               == http://java.oracle.com/
java.class.version            == 52.0
java.library.path             == /usr/java/packages/lib/arm:/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/lib
java.compiler                 == null
java.home                     == /usr/lib/jvm/java-8-openjdk-armhf/jre
java.io.tmpdir                == /tmp
os.name                       == Linux
os.arch                       == arm
os.version                    == 5.10.60+
path.separator                == :
file.separator                == /
file.encoding                 == UTF-8
user.name                     == root
user.home                     == /root
user.dir                      == /tmp/install.dir.11427
user.language                 == de
user.region                   == null
__________________________________________________________________________


Loading externalized properties

System's temporary directory = /tmp
8. final log file name=/root/NXP/FreeMASTER/_FreeMASTER_installation/Logs/FreeMASTER_3.1_Install_09_23_2021_16_25_18.log
==== Flexera license service installation log start: ====
Installing licensing service from ./FNPLicensingService/FNPLicensingService to /usr/local/share/FNP/service64/11.13.0

Checking system for trusted storage area...
Configuring for Linux, Trusted Storage path /usr/local/share/macrovision/storage...
Creating /usr/local/share/macrovision/storage...
Setting permissions on /usr/local/share/macrovision/storage...
Permissions set...


Checking system for Replicated Anchor area...
Configuring Replicated Anchor area...
Replicated Anchor area already exists...
Setting permissions on Replicated Anchor area...
Replicated Anchor area permissions set...
Configuring Temporary area...
Temporary area already exists...
Setting permissions on Temporary area...
Temporary area permissions set...
Configuration completed successfully.

  
==== Flexera license service installation log end. ====
==== License activation log start: ====
  OpenJDK Client VM warning: You have loaded library /tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so: /tmp/146212.tmp/FNPLicense/cll/x64/libclljni.so: falsche ELF-Klasse: ELFCLASS64 (Possible cause: architecture word width mismatch)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at com.nxp.s32ds.ext.rcp.license.cll.CLL.<init>(CLL.java:10)
	at com.nxp.s32ds.ext.rcp.license.cll.CLL.loadCLL(CLL.java:5)
	at com.nxp.s32ds.rcp.license.core.cli.CLI.execute(CLI.java:35)
	at com.nxp.s32ds.rcp.license.core.cli.CLI.main(CLI.java:29)

==== License activation log end. ====
XMLScriptWriter: No Installation Objects were skipped
8. final log file name=/root/NXP/FreeMASTER/_FreeMASTER_installation/Logs/FreeMASTER_3.1_Install_09_23_2021_16_25_18.log
====================STDOUT ENTRIES==================
0 Kudos
Reply
1 Solution
2,869 Views
iulian_stan
NXP Employee
NXP Employee

Hi @daniel1512,

Unfortunately, FreeMASTER Lite binaries won't run on ARM architecture. At this point we support only x86 CPUs.

Kind regards,
Iulian

View solution in original post

0 Kudos
Reply
4 Replies
2,870 Views
iulian_stan
NXP Employee
NXP Employee

Hi @daniel1512,

Unfortunately, FreeMASTER Lite binaries won't run on ARM architecture. At this point we support only x86 CPUs.

Kind regards,
Iulian

0 Kudos
Reply
2,857 Views
daniel1512
Contributor I

Thank you very much. This saves me a lot of further testing (different Java versions etc.).

Is there another way to process values on another microcontroller?
(An additional software component should be adapted for demonstration purposes).

I have not found a Freemaster library for Arduino/Python/....

Thanks in advance

0 Kudos
Reply
2,850 Views
iulian_stan
NXP Employee
NXP Employee

Currently, FreeMASTER requires a PC to be connected to target (NXP) MCU. There's no support for communication from another device (3rd party MCU).

Custom applications can control target MCU by consuming the JSON RPC API exposed by FreeMASTER & FreeMASTER Lite, but this scenario also relies on host tool running on a PC.
Custom app (Python/NodeJS/etc.) ↔ PC (Fmstr/Fmstr Lite) ↔ NXP MCU

2,845 Views
daniel1512
Contributor I

OK, got it.
Thanks for the information!

0 Kudos
Reply