ITPub博客

首页 > 数据库 > Oracle > sfha 5.1

sfha 5.1

原创 Oracle 作者:netwant 时间:2011-08-15 17:43:45 0 删除 编辑
sfha 5.1 solraris java console 报错的解决方法[@more@]

8008103992售后8826售前

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 ]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/309902/viewspace-1053881/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: oracle to_char 函数
请登录后发表评论 登录
全部评论

注册时间:2010-11-17

  • 博文量
    61
  • 访问量
    180996