could not install freemaster lite in linux

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

could not install freemaster lite in linux

2,393 Views
yjy
Contributor I

__________________________________________________________________________

Tue Aug 27 07:52:43 CST 2024

Free Memory: 18322 kB
Total Memory: 39936 kB

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

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

sun.boot.class.path:
<none specified>

java.ext.dirs:
<none specified>

java.version == 22.0.2 (Java 2+)
java.vm.name == OpenJDK 64-Bit Server VM
java.vm.vendor == Arch Linux
java.vm.version == 22.0.2+9
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
java.vm.specification.version == 22
java.specification.name == Java Platform API Specification
java.specification.vendor == Oracle Corporation
java.specification.version == 22
java.vendor == Arch Linux
java.vendor.url == https://openjdk.org/
java.class.version == 66.0
java.library.path == /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
java.compiler == null
java.home == /usr/lib/jvm/java-22-openjdk
java.io.tmpdir == /tmp
os.name == Linux
os.arch == amd64
os.version == 6.10.6-zen1-1-zen
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == yjy
user.home == /home/yjy
user.dir == /tmp/install.dir.88991
user.language == en
user.region == null
__________________________________________________________________________

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

Install Begin: AUGUST 27, 2024 7:51:42 PM CST
Install End: AUGUST 27, 2024 7:52:39 PM CST

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=FL

#Choose Install Folder
#---------------------
USER_INSTALL_DIR=/home/yjy/NXP/FreeMASTER Lite 1.3.0

#Choose Link Folder
#------------------
USER_SHORTCUTS=/home/yjy/Desktop/FreeMASTER Lite 1.3.0

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

Summary
-------

Installation: Unsuccessful.

25 Successes
14 Warnings
1 NonFatalErrors
1 FatalErrors

Action Notes:

None

Install Log Detail:

Check Disk Space: /home/yjy/NXP/FreeMASTER Lite 1.3.0
Status: SUCCESSFUL
Additional Notes: NOTE - Required Disk Space:316,257,981 Bytes Free Disk Space:342,098,677,760 Bytes

Check Disk Space: /home/yjy/NXP/FreeMASTER Lite 1.3.0
Status: SUCCESSFUL
Additional Notes: NOTE - Required Disk Space:316,257,981 Bytes Free Disk Space:342,098,677,760 Bytes

Check Disk Space: /home/yjy/NXP/FreeMASTER Lite 1.3.0
Status: SUCCESSFUL
Additional Notes: NOTE - Required Disk Space:316,257,981 Bytes Free Disk Space:342,098,640,896 Bytes

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

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

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

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

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

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

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

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

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

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

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

Install Directory: /tmp/029557.tmp/FNPLicense/FNPLicensingService/
Status: SUCCESSFUL

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

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

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


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

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


Install Uninstaller: FreeMASTER Lite 1.3.0(Install All Uninstaller Components)
Status: SUCCESSFUL

Install Directory: /home/yjy/NXP/FreeMASTER Lite 1.3.0/_FreeMASTER_Lite_installation/InstData/
Status: SUCCESSFUL

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

Uninstall File: /home/yjy/NXP/FreeMASTER Lite 1.3.0/_FreeMASTER_Lite_installation/Logs/FreeMASTER_Lite_1.3.0_Install_08_27_2024_19_52_07.log
Status: WARNING
Additional Notes: WARNING - The file does not exist

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

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

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

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

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

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

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

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

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


Status: SUCCESSFUL

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

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

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

Uninstall Folder: /tmp/029557.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.

0 Kudos
Reply
23 Replies

2,141 Views
iulian_stan
NXP Employee
NXP Employee

Hi @yjy

The only error I can see your logs is "Additional Notes: ERROR - Error writing LaunchAnywhere components (Access Denied)". Did you try running the installer with elevated rights ?

Another thing I would check is the file integrity, could you re-download the installer ?

0 Kudos
Reply

2,125 Views
yjy
Contributor I
yeah,I have tried to run 'chmod +x ./freemaster.bin' before installing, and i have tried 'sudo chmod 777 ./freemaster,bin' ,but it also doesn't work.and the terminal noted that ./FMASTERL13(2).bin: line 3652: hostname: command not found when I tried to install
0 Kudos
Reply

2,106 Views
iulian_stan
NXP Employee
NXP Employee

Does the installer prompt you to introduce your user password for sudo ? (Even if your user is in the sudo group the installer may need to execute internal commands as root).

Additional thing to try is to set the following environment variable before running the installer:

export LAX_DEBUG=true

 

0 Kudos
Reply

2,039 Views
yjy
Contributor I
hey, I have installed the freemaster debug tool by openjdk17.0.6, however, I can't find any executable file and the link, and I didn't install the lite
0 Kudos
Reply

1,999 Views
iulian_stan
NXP Employee
NXP Employee

Does it fail if you keep FreeMASTER Lite selected with Java 17 ? the same way it does with Java 22 ?

I'm wondering whether there is any issue with Java version or some step specific to FreeMASTER Lite component installation.

0 Kudos
Reply

2,032 Views
iulian_stan
NXP Employee
NXP Employee

Do you mean that if you uncheck "FreeMASTER Lite" option the installation succeeds ?

Could you share the installation log file ?

0 Kudos
Reply

2,010 Views
yjy
Contributor I

there are freemaster contents

swappy-20240829-193857.png

0 Kudos
Reply

2,012 Views
yjy
Contributor I
 
0 Kudos
Reply

2,014 Views
yjy
Contributor I
yeah , I unchecked the lite and it didn't roll back, however I can't see any executable files .
When I was installing, I referred that ''https://www.ibm.com/support/pages/could-not-find-or-load-main-class-comzeroglaxlax-when-trying-insta...'' and it worked.
0 Kudos
Reply

2,059 Views
yjy
Contributor I
Finally, I found the package of `freemaster debug tool` instead of the freemaster lite, but when I am installing FMASTERSW32.bin, it displayed that
Error: Could not find or load main class com.zerog.lax.LAX
Caused by: java.lang.ClassNotFoundException: com.zerog.lax.LAX
0 Kudos
Reply

2,035 Views
iulian_stan
NXP Employee
NXP Employee

Unfortunately, FreeMASTER (classic desktop tool) is available only on Windows platform. FMASTERSW32.bin is the name that we used in older releases but switched to FMASTERL13.bin to avoid confusion.

0 Kudos
Reply

2,006 Views
yjy
Contributor I
so I can't use the debug tool 3.2(https://www.nxp.com/webapp/sps/download/license.jsp?colCode=FMASTERSW32-BIN&appType=file1&DOWNLOAD_I...) in linux?, I only can use the lite? I don't know the difference from the lite and debug tool 3.2
0 Kudos
Reply

2,001 Views
iulian_stan
NXP Employee
NXP Employee
  • FreeMASTER (I will call it "classic") - is a windows native 32 bit application.
    At this point there is no 1 to 1 alternative for other OSs.
  • FreeMASTER Lite - is a stripped down version of FreeMASTER classic. Considering FreeMASTER "classic" is bound to Windows x86, the Lite version tries to bring the core functionality to Linux platform + x64 support.

At high level, FreeMASTER Lite includes:

  1. Communication library - it implements FreeMASTER's low level communication protocol (the one that is used to exchange the data between the board and the PC)
  2. Node.js middleware - a service like application (without native GUI) that allows external clients to consume the low level communication protocol via higher level JSON-RPC API (exposed via WebSockets)
0 Kudos
Reply

1,963 Views
yjy
Contributor I
but now I still can't install the lite because the error about that LaunchAnyWhere components
0 Kudos
Reply

1,955 Views
iulian_stan
NXP Employee
NXP Employee

From the old logs I noticed that "LaunchAnyWhere" step comes around the license validation. Does your installation reaches the license validation step ? Does a popup window show up after you press the Install button ?

Also, what Linux distribution are you using ? (could be a compatibility issue)

0 Kudos
Reply

1,950 Views
iulian_stan
NXP Employee
NXP Employee

I asked about license validation because I saw a similar issue in a thread from another community space.

0 Kudos
Reply

1,864 Views
yjy
Contributor I
firstly, I don't know the vcredist_x86.exe or anythings in linux, and then the freemaster lite don't have any offline button
0 Kudos
Reply

1,821 Views
iulian_stan
NXP Employee
NXP Employee

I will come back with updates after I try to reproduce your issue in an Arch Linux VM on my side.

0 Kudos
Reply

1,668 Views
iulian_stan
NXP Employee
NXP Employee

Update: I create an ArchLinux VM trying to match your configuration:

Capture2.PNG

I managed to reproduce your issue by running the installer with a user that is not part of sudo group:

Capture3.PNG

Capture4.PNG

Next, I ran it with a user (with sudo privileges) and the installation succeeded:Capture.PNG

 

 

I assume that it is a permission/access rights issue in you case as well.

 

 

0 Kudos
Reply

1,482 Views
yjy
Contributor I
Sadly, the installer said that I have installed the Lite, However I have deleted the directory,so I don't know what to do next.
0 Kudos
Reply