Thursday, March 16, 2017

Weblogic Server Patch installation in Linux Server

Weblogic Server Patch installation in Linux Server


1. First make sure patches present for current version.


 export PATH=${PATH}:/<Weblogic home Path>/OPatch
export JAVA_HOME=<Java Home Path>
export ORACLE_HOME=/ < Same as Weblogic Home >


$ opatch lsinventory
Oracle Interim Patch Installer version 13.1.0.0.0
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /XX
Central Inventory : /XX
   from           : /XX
OPatch version    : 13.1.0.0.0
OUI version       : 13.1.0.0.0
Log file location : /XX

OPatch detects the Middleware Home as "/XX"
Lsinventory Output file location : /XX
--------------------------------------------------------------------------------
There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------


2. Now navigate to directory where patch is extracted.
and run following command to apply patch.
$ opatch napply -jdk $JAVA_HOME


Oracle Interim Patch Installer version 13.1.0.0.0
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /XX
Central Inventory : /XX
   from           : /XX
OPatch version    : 13.1.0.0.0
OUI version       : 13.1.0.0.0
Log file location : /XX

OPatch detects the Middleware Home as "/XX"
Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   22505331
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 = 'XX')

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '22505331' to OH '/XX
Patching component oracle.wls.core.app.server, 12.1.2.0.0...
Verifying the update...
Patch 22505331 successfully applied.
Log file location: /XX.log
OPatch succeeded.


3. Verify weblogic patch applied by running command


opatch lsinventory

1 comment: