search cancel

Migration failed /opt/JAVA/bin/java [permission denied]

book

Article ID: 255478

calendar_today

Updated On:

Products

Data Loss Prevention Sensitive Image Recognition

Issue/Introduction

Migration failed /opt/JAVA/bin/java [permission denied]

Environment

Release : 15.8 MP3, 16.0

Cause

during the migration in phase 1, we see an error permission denied on java

NOTE: this could be caused by extracting the java zip on windows and using winscp to copy the files and folders to linux. The recommendation is to copy the zip file to the RHEL system and using unzip in linux to extract the files. 

Resolution

Change the permission and ownership of java folders

  1. chmod -R 755 /opt/AdoptOpenJRE
  2. chown -R root:protect /opt/AdoptOpenJRE

Re run the migration utility