Can't call method "uid" on an undefined value at $GI_HOME/OPatch/auto/database/bin/module/DBUtilServices.pm line 28
1. 错误信息
# ./OPatch/opatchauto apply ./37957391/ Can't call method "uid" on an undefined value at /u01/app/18.0.0/grid/OPatch/auto/database/bin/module/DBUtilServices.pm line 28.
2. 原因
- 没有安装GI。
- $GI_HOME/oraInst.loc 文件丢失。
3. 解决方案
- 针对第一种情况: 执行gridSetup.sh 安装grid instructure.
-
针对第二种情况: 创建 $GI_HOME/oraInst.loc 并补充内容:
cat > oraInst.loc <<EOF inventory_loc=/g01/app/oraInventory inst_group=oinstall EOF
===================
天行健,君子以自强不息
地势坤,君子以厚德载物
===================

浙公网安备 33010602011771号