DLP Phase 1 Migration fails due to to Failed to read installation parameters on Detection servers
search cancel

DLP Phase 1 Migration fails due to to Failed to read installation parameters on Detection servers

book

Article ID: 240647

calendar_today

Updated On:

Products

Data Loss Prevention Core Package Data Loss Prevention Endpoint Discover Data Loss Prevention Network Discover Data Loss Prevention Network Web Data Loss Prevention Data Loss Prevention Plus Suite

Issue/Introduction

Phase 1 of the migration fails while upgrading from one version of DLP to a higher version. The error within the MigrationUtility.log outputs the following: 

SEVERE:  Failed to read installation parameters

com.symantec.dlp.migrationcommon.MigrationException: JRE directory parameter not found in registry

Environment

Component : Linux Red Hat 

Cause

This is due to not having the jreDirectory and/or entry required for the JRE version.

/etc/Symantec/DataLossPrevention/DetectionServer/15.7/Installation/

During the upgrade; the migration script is reading the installation parameters for installation with version VERSOIN_15_7. If the jreDirectory is missing Phase 1 migration will fail. 

Resolution

Although the example is for 15.7 version, this may impact other versions of DLP.

 

1. On the Detection server browse through the following directory: /etc/Symantec/DataLossPrevention/DetectionServer/15.7/Installation/

2. If you don't see the jreDirectory file; create the file and add the following entry: /opt/Symantec/DataLossPrevention/ServerJRE/1.8.0_181

3. Review that the jreDirectory file consists the path of the ServerJRE

cat jreDirectory
/opt/Symantec/DataLossPrevention/ServerJRE/1.8.0_181

4. Re-run the migration utility 

Below is an example of the jreDirectory

[root@detection Installation]# cat jreDirectory
/opt/Symantec/DataLossPrevention/ServerJRE/1.8.0_181

[root@detection Installation]# ll
total 40
-rw-r--r--. 1 root root  7 Mar 24  2020 bindHost
-rw-r--r--. 1 root root  4 Mar 24  2020 bindPort
-rw-r--r--. 1 root root 22 Oct  5  2020 configurationState
-rw-r--r--. 1 root root 32 Mar 24  2020 dataDirectory
-rw-r--r--. 1 root root  7 Mar 24  2020 detectionCommunicationDefaultCertificates
-rw-r--r--. 1 root root  8 Mar 24  2020 fipsOption
-rw-r--r--. 1 root root 32 Mar 24  2020 installationDirectory
-rw-r--r--. 1 root root 52 Mar 24  2020 jreDirectory
-rw-r--r--. 1 root root 11 Mar 24  2020 serviceUserUsername
-rw-r--r--. 1 root root 17 Mar 24  2020 updateUserUsername