MP or hotfix install fails in RedHat Linux server when relocating directories
search cancel

MP or hotfix install fails in RedHat Linux server when relocating directories

book

Article ID: 388807

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

Error seen when trying to install an MP or a hotfix: You must use the same relocations during an upgrade as during the original install command.

 

 

Cause

Folder redirection switches were added to the install command, where they were not needed.

Additional errors when multiple relocations are configured:

rpm -Uvh <MP or HF>.rpm
--relocate
/opt/Symantec/DataLossPrevention='/Application/Symantec'
--relocate /var/Symantec/DataLossPrevention='/Application/Symantec'
--relocate /var/run/Symantec/DataLossPrevention='/opt/Symantec'
--relocate /var/spool/Symantec/DataLossPrevention='/Application/spool/Symantec'

        path /var/run/Symantec/DataLossPrevention in package symantec-dlp-15-8-00000-detection-server-hotfix-15.8.00324-01001.x86_64 is not relocatable

        path /var/spool/Symantec/DataLossPrevention in package symantec-dlp-15-8-00000-detection-server-hotfix-15.8.00324-01001.x86_64 is not relocatable

Resolution

Use rpm -qi <MP or HF>.rpm to find directories that need relocation:

Example

# rpm -qi symantec-dlp-15-8-00000-detection-server-hotfix-15.8.00324-01001.x86_64.rpm |grep Relocations:*

Relocations : /opt/Symantec/DataLossPrevention /var/Symantec/DataLossPrevention /var/log/Symantec/DataLossPrevention

Update the install command with the correct relocation targets.