Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
Problem
Web services fail to start after upgrading Java JRE through nbcomponentupdate using the Oracle JRE installer downloaded from Oracle or from an EEB supplied by Veritas.
Error Message
Catalina.out shows:
/usr/openv/wmc/webserver/bin/catalina.sh: line 504: /usr/openv/java/jre/bin/java: Permission denied
Cause
The update process is changing the permissions of the JRE folder:
- /usr/openv/java/jre
- <install_path>\NetBackup\jre
Solution
Check the catalina.out file at this location:
- /usr/openv/wmc/webserver/logs/catalina.out,
- NetBackup\wmc\webserver\logs\catalina.out
If it shows a permission denied error as seen above, then run the command below to apply the proper permissions.
NOTE: For Unix both commands should not be needed, so try 755 first and then try 777 if the issue is not resolved:
Unix: chmod -R 755 /usr/openv/java/jreUnix: chmod -R 777 /usr/openv/java/jreWindows: icacls <install_path>\NetBackup\jre /grant BUILTIN\\Users:(OI)(CI)(RX) /T
Note: Reverting JRE using nbcomponentupdate will sometimes also allow the services to start.
nbcomponentupdate -product NetBackup -component jre -revert -force