oracle 11.2.0.4 apply patch 17475946
1.以前在IDC機房沒打成功的原因是現場環境太過浮躁,沒有細心看README文件,導致使用了錯誤的命令,不過正確的命令確實不太好找,快到了文件的最後的CASE 5才能找到。
Case 5: Patching a Software Only GI Home Installation or Before the GI Home Is Configured
Apply the CRS patch using.
As the GI home owner execute:
$ <GI_HOME>/OPatch/opatch napply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/17475946
2.打這個補丁之前需要作以下的修改:
(1)確認GI_HOME目錄的屬主,本人的測試環境中/app/grid/product/11.2.0/grid目錄的屬主是root:oinstll,所以需要將屬主先修改為grid:oinstall。
(2)GI_HOME/lib,GI_HOME/bin目錄下存在屬主是root:oinstall的檔案,需要將此類檔案的屬主先修改為grid:oinstall。
3.應用補丁的過程:
grid@linux11sp3:/app/grid/product/11.2.0/grid/lib> $ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /oraclesoft/17475946
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /app/grid/product/11.2.0/grid
Central Inventory : /app/oraInventory
from : /app/grid/product/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /app/grid/product/11.2.0/grid/cfgtoollogs/opatch/opatch2014-12-16_12-53-34PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 17475946
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/app/grid/product/11.2.0/grid')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '17475946' to OH '/app/grid/product/11.2.0/grid'
Patching component oracle.usm, 11.2.0.4.0...
Verifying the update...
Patch 17475946 successfully applied.
Log file location: /app/grid/product/11.2.0/grid/cfgtoollogs/opatch/opatch2014-12-16_12-53-34PM_1.log
OPatch succeeded.
grid@linux11sp3:/app/grid/product/11.2.0/grid/lib>
4.deconfig crs要不然會提示配置了2個CRS
linux11sp3:/app/grid/product/11.2.0/grid/crs/install # ./rootcrs.pl -verbose -deconfig -force
Using configuration parameter file: ./crsconfig_params
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
CRS-2613: Could not find resource 'ora.registry.acfs'.
CRS-4000: Command Stop failed, or completed with errors.
CRS-2613: Could not find resource 'ora.drivers.acfs'.
CRS-4000: Command Modify failed, or completed with errors.
CRS-2613: Could not find resource 'ora.drivers.acfs'.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware #
################################################################
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
5.再次執行GI_HOME/root.sh
linux11sp3:/app/grid/product/11.2.0/grid # ./root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /app/grid/product/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node linux11sp3 successfully pinned.
Adding Clusterware entries to inittab
linux11sp3 2014/12/16 13:11:04 /app/grid/product/11.2.0/grid/cdata/linux11sp3/backup_20141216_131104.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
linux11sp3:/app/grid/product/11.2.0/grid #
Case 5: Patching a Software Only GI Home Installation or Before the GI Home Is Configured
Apply the CRS patch using.
As the GI home owner execute:
$ <GI_HOME>/OPatch/opatch napply -oh <GI_HOME> -local <UNZIPPED_PATCH_LOCATION>/17475946
2.打這個補丁之前需要作以下的修改:
(1)確認GI_HOME目錄的屬主,本人的測試環境中/app/grid/product/11.2.0/grid目錄的屬主是root:oinstll,所以需要將屬主先修改為grid:oinstall。
(2)GI_HOME/lib,GI_HOME/bin目錄下存在屬主是root:oinstall的檔案,需要將此類檔案的屬主先修改為grid:oinstall。
3.應用補丁的過程:
grid@linux11sp3:/app/grid/product/11.2.0/grid/lib> $ORACLE_HOME/OPatch/opatch napply -oh $ORACLE_HOME -local /oraclesoft/17475946
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /app/grid/product/11.2.0/grid
Central Inventory : /app/oraInventory
from : /app/grid/product/11.2.0/grid/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /app/grid/product/11.2.0/grid/cfgtoollogs/opatch/opatch2014-12-16_12-53-34PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 17475946
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/app/grid/product/11.2.0/grid')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '17475946' to OH '/app/grid/product/11.2.0/grid'
Patching component oracle.usm, 11.2.0.4.0...
Verifying the update...
Patch 17475946 successfully applied.
Log file location: /app/grid/product/11.2.0/grid/cfgtoollogs/opatch/opatch2014-12-16_12-53-34PM_1.log
OPatch succeeded.
grid@linux11sp3:/app/grid/product/11.2.0/grid/lib>
4.deconfig crs要不然會提示配置了2個CRS
linux11sp3:/app/grid/product/11.2.0/grid/crs/install # ./rootcrs.pl -verbose -deconfig -force
Using configuration parameter file: ./crsconfig_params
Usage: srvctl <command> <object> [<options>]
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade
objects: database|service|asm|diskgroup|listener|home|ons
For detailed help on each command and object and its options use:
srvctl <command> -h or
srvctl <command> <object> -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
CRS-2613: Could not find resource 'ora.registry.acfs'.
CRS-4000: Command Stop failed, or completed with errors.
CRS-2613: Could not find resource 'ora.drivers.acfs'.
CRS-4000: Command Modify failed, or completed with errors.
CRS-2613: Could not find resource 'ora.drivers.acfs'.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware #
################################################################
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
5.再次執行GI_HOME/root.sh
linux11sp3:/app/grid/product/11.2.0/grid # ./root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /app/grid/product/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node linux11sp3 successfully pinned.
Adding Clusterware entries to inittab
linux11sp3 2014/12/16 13:11:04 /app/grid/product/11.2.0/grid/cdata/linux11sp3/backup_20141216_131104.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
linux11sp3:/app/grid/product/11.2.0/grid #
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1815956/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【mos 1265700.1】Oracle Patch Assurance - Data Guard Standby-First Patch ApplyOracleAPP
- Windows Oracle 打patch(11.2.0.4)錯誤OUI-67073WindowsOracleUI
- 活用 git apply 合入 patch 補丁GitAPP
- 11.2.0.4 Patch Set - List of Bug Fixes by Problem Type (Doc ID 1562142.1)
- oracle安裝patchOracle
- Oracle ebs patch typeOracle
- oracle 10g patchOracle 10g
- Oracle 11.2.0.2.0 patch setOracle
- 如何得到Oracle Patch (zt)Oracle
- Oracle 11.2.0.4的安裝Oracle
- Oracle 11.2.0.4下載地址Oracle
- ORACLE PATCH下載目錄Oracle
- oracle 10g em patchOracle 10g
- Oracle EBS AD Merge PatchOracle
- oracle之 11.2.0.4 bbed安裝Oracle
- ORACLE 11.2.0.4靜默安裝Oracle
- EBS R12.1.2下使用admrgpch來merge patch進行applyAPP
- oracle patch補丁型別typeOracle型別
- /****install oracle patch 9169457 for windows****/OracleWindows
- Oracle10.2.0.4 bug list and patchOracle
- 經歷Oracle patch 5496862補丁Oracle
- Oracle資料庫主要patch listOracle資料庫
- Oracle Doc list involved with patchOracle
- Install the Oracle Cluster Manager 9.2.0.7 PatchOracle
- Oracle 10.2.0.5升級至11.2.0.4Oracle
- oracle 11.2.0.4 path 26925576 報錯Oracle
- ORACLE 11.2.0.4 DG(Broker) for linux 部署OracleLinux
- Oracle 11.2.0.4升級到12.2.0.1Oracle
- Oracle OJVM apply faile-拾億OracleJVMAPPAI
- Oracle:Oracle RAC 11.2.0.4 升級為 19cOracle
- Oracle安裝Patch相關筆記Oracle筆記
- Oracle Database常用補丁集Patch號OracleDatabase
- ORACLE資料庫各個版本PATCHOracle資料庫
- List of Oracle Database Patch Set Updates (PSU)OracleDatabase
- oracle 10.2.0.5 patch for aix 今天釋出OracleAI
- oracle靜默打patch到10.2.0.3Oracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle