AIX7.1环境打补丁缺少bash OPATCHAUTO |
您所在的位置:网站首页 › aix安装bash缺少libiconva › AIX7.1环境打补丁缺少bash OPATCHAUTO |
DB:12.1.0.2.0 RAC OS:AIX 7.1 【To patch only the GI home】 su - root export UNZIPPED_PATCH_LOCATION=/oracle/data_dump/12c/27726478 export GI_HOME=/oracle/app/12.1.0/grid export PATH=$PATH:$GI_HOME/OPatch opatchauto apply $UNZIPPED_PATCH_LOCATION/27468957 -oh $GI_HOME -analyze opatchauto apply $UNZIPPED_PATCH_LOCATION/27468957 -oh $GI_HOME ---操作日志如下 root@DB01:/>opatchauto apply $UNZIPPED_PATCH_LOCATION/27468957 -oh $GI_HOME -analyzewhich: 0652-141 There is no sudo in /bin /usr/bin /usr/local/bin /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java5/jre/bin /usr/java5/bin /oracle/app/12.1.0/grid/OPatch /oracle/app/12.1.0/grid/OPatch /oracle/app/12.1.0/grid/OPatch. OPatchauto session is initiated at Tue Jul 17 10:55:05 2018OPATCHAUTO-72083: Performing bootstrap operations failed.OPATCHAUTO-72083: The bootstrap execution failed because OPATCHAUTO-72049: Script execution failed.OPATCHAUTO-72049: Script execution failed due to {0}.OPATCHAUTO-72049: Please correct the environment and rerun opatchauto..OPATCHAUTO-72083: Fix the reported problem and re-run opatchauto. OPatchauto session completed at Tue Jul 17 10:55:13 2018Time taken to complete the session 0 minute, 9 seconds opatchauto bootstrapping failed with error code 255.
root@DB01:/>opatchauto apply $UNZIPPED_PATCH_LOCATION/27468957 -oh $GI_HOMEwhich: 0652-141 There is no sudo in /bin /usr/bin /usr/local/bin /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java5/jre/bin /usr/java5/bin /oracle/app/12.1.0/OPatch /oracle/app/12.1.0/grid/OPatch /oracle/app/12.1.0/grid/OPatch. OPatchauto session is initiated at Mon Jul 16 17:16:41 2018OPATCHAUTO-72083: Performing bootstrap operations failed.OPATCHAUTO-72083: The bootstrap execution failed because OPATCHAUTO-72049: Script execution failed.OPATCHAUTO-72049: Script execution failed due to {0}.OPATCHAUTO-72049: Please correct the environment and rerun opatchauto..OPATCHAUTO-72083: Fix the reported problem and re-run opatchauto. OPatchauto session completed at Mon Jul 16 17:16:49 2018Time taken to complete the session 0 minute, 9 seconds opatchauto bootstrapping failed with error code 255.
MOS上有一篇文档:【MOS】Opatchauto failed with : OPATCHAUTO-72049: Script execution failed due to Patch version not found (文档 ID 2197084.1) APPLIES TO:Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]Information in this document applies to any platform. SYMPTOMSAttempting to install the latest GI PSU on Oracle Database and receive the following message: # $ORACLE_HOME/OPatch/opatchauto apply /24412235/ -analyzeOPatchauto session is initiated at Fri Oct 21 08:58:56 2016OPATCHAUTO-72049: Script execution failed.OPATCHAUTO-72049: Script execution failed due toPatch version not found.OPATCHAUTO-72049: Please correct the environment and rerun opatchauto. OPatchauto session completed at Fri Oct 21 08:58:58 2016Time taken to complete the session 0 minute, 2 seconds opatchauto bootstrapping failed with error code 1. or OPATCHAUTO-72049: Script execution failed due to Cannot run program "/bin/bash": error=13, Permission denied.CAUSE Case 1: In Central Inventory current clusterware home flag is marked for both 11g and 12c homes. Case 2: Wrong platform opatch. (Ex: Downloaded p6880880_121010_LINUX.zip file for Linuxx86-64 OS) Case 3: Due to old opatch version. SOLUTIONCase 1: Unset "CRS=true" Flag for Oracle 11g Clusterware Home with below command & re-run the opatchauto command. # /oui/bin/runInstaller -updateNodeList -silent CRS=false ORACLE_HOME="/u01/app/oracle/grid/11.2.0"Case 2: Download the right platform opatch zip file from below link and re-try opatchauto. Download link: https://updates.oracle.com/download/6880880.html Case 3: Download the latest opatch version file from below location and re-try opatchauto. Download link for latest opatch version: https://updates.oracle.com/download/6880880.html 检查和尝试了MOS上的方法,都不可行。 Oracle表示:you need to request OS team to install the bash package and then trying to validate the bash is installed for both the root and grid installation owner. 检查节点1和节点2的bash
root@DB01:/>which bash which: 0652-141 There is no bash in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java5/jre/bin /usr/java5/bin. root@DB01:/>echo $SHELL /usr/bin/ksh root@DB01:/>echo $BASH_VERSION root@DB01:/> root@DB02:/>which bash which: 0652-141 There is no bash in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java5/jre/bin /usr/java5/bin. root@DB02:/> root@DB02:/>echo $SHELL /usr/bin/ksh root@DB02:/>echo $BASH_VERSION root@DB02:/>
这里放一下IBM安装Oracle 12.1的连接和附件文档(显示需要单独安装bash) Oracle Database 12c Release 1 Enterprise Edition and Oracle Real Application Clusters on IBM Power Systems with AIX 7.1 http://www-01.ibm.com/support/docview.wss?uid=tss1wp102448 链接:https://pan.baidu.com/s/1oaQ7GVwUWGxjXQw0zEDVkw 密码:rvoubash-4.2-1 (This can be downloaded from http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html)
|
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |