The installation of FlexNet Publisher License Server Manager is finished, but some errors occurred during the install
Symptoms
This article discusses how to resolve an error message that appears when trying to install lmadmin. At the end of the installation, an unexpected error message appears stating:
"The installation of FlexNet Publisher License Server Manager is finished, but some errors occurred during the install. Please see the installation log for details."
The installation log does not exist by default and the lmadmin service was not installed after this attempted installation.
Diagnosis
Use the lmadmin installation log path, as described in Lmadmin Installation log path, to get the following installation log file to obtain more details and errors:
FlexNet_Publisher_License_Server_Manager_Install_01_21_2022_13_51_16.log
This is an example of the contents of the installation log file:
---
java.version == 17.0.1 (Java 1)
java.vm.name == OpenJDK 64-Bit Server VM
java.vm.vendor == Eclipse Adoptium
java.vm.version == 17.0.1+12
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
..
Summary
-------
Installation: Successful with errors.
540 Successes
0 Warnings
1 NonFatalErrors
0 FatalErrors
Action Notes:
None
Install Log Detail:
Check Disk Space: C:\Program Files (x86)\FlexNet Publisher License Server Manager
Status: SUCCESSFUL
Additional Notes: NOTE - Required Disk Space:41,167,528 Bytes Free Disk Space:801,095,843,840 Bytes
Custom Action: com.zerog.ia.customcode.rules.IsAdminAction
Status: ERROR
Additional Notes: ERROR - class com.zerog.ia.customcode.rules.IsAdminAction.install() runtime exception:
Execute Script/Batch file: Check if the Data Folder already exists
Status: SUCCESSFUL
---
Solution
As per the logs, the system is using JDK 17 to install lmadmin. FlexNet Publisher has known issues with lmadmin installation with Java 16 and 17, So you should try to use a JDK version before 16 or supported JRE versions.
Also the same is documented in the FlexNet Publisher 2021.R4 Release Notes as well.
OpenJDK 16 (Warnings are observed during installation and uninstallation of lmadmin installer on Windows as mentioned in FNP-22382) and in macOS lmadmin installer will not work as mentioned in FNP-24247.
NOTE: This is mostly an issue with Install Anywhere (IA) which was used to create the lmadmin installer and this issues is expected to be fixed soon.