hagui启动时报警VRTSjre15: not found

解决方法参见Symantec文章TECH138689.

Problem

Every time starting Cluster Manager by executing "hagui" following error message is observed on console but it works without any issue.

Error
# /opt/VRTSvcs/bin/hagui
/opt/VRTSvcs/bin/hagui: VRTSjre15: not found
Cause

The hagui script has following issue:

  • missing PKGPARAM definition
  • missing Redirection to /dev/null
Solution

Modify "/opt/VRTSvcs/bin/hagui" script as follows:

[Before]
27 VCS_HOME="/opt/VRTSvcs"
28 LIB_PATH=$VCS_HOME/gui/lib
29 LANG_PATH=$VCS_HOME/gui/lang
30
31 ATLIB_PATH=$VCS_HOME/gui/VxEAT/lib
.....
97 # Give preference to VRTSjre15 if installed
98 tmp=`$PKGPARAM VRTSjre15 BASEDIR`
99 if [ $? = 0 ]

[After]
27 VCS_HOME="/opt/VRTSvcs"
28 LIB_PATH=$VCS_HOME/gui/lib
29 LANG_PATH=$VCS_HOME/gui/lang
30 PKGPARAM="/usr/bin/pkgparam" <<<< Append definition
31 ATLIB_PATH=$VCS_HOME/gui/VxEAT/lib
.....
97 # Give preference to VRTSjre15 if installed
98 tmp=`$PKGPARAM VRTSjre15 BASEDIR > /dev/null 2>&1` <<<< Append redirection
99 if [ $? = 0 ]

Supplemental Materials
Source ETrack
Value 2002530

Article URL http://www.symantec.com/docs/TECH138689

原文地址:https://www.cnblogs.com/cqubityj/p/2394023.html