My Oracle Support Banner

Grid Infrastructure:OPatch apply (manual step) fails to apply patch because perl process is running (Doc ID 2409442.1)

Last updated on DECEMBER 31, 2019

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms


OPatch apply failed with error code 41 since libclntsh.so.12.1 was being used by perl processes.Successfully unlocked GI_HOME and clusterware was stopped.

opatch logs:

[test-cluster@<NODE_NAME1>20302006]$ <GRID_HOME>/OPatch/opatch apply -local
Oracle Interim Patch Installer version 12.1.0.1.3
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home : <GRID_HOME>
Central Inventory : <ORA_INVENTORY>
from : <GRID_HOME>/oraInst.loc
OPatch version : 12.1.0.1.3
OUI version : 12.1.0.2.0
Log file location : <GRID_HOME>/cfgtoollogs/opatch/20302006_Jun_08_2018_09_50_23/apply2018-06-08_09-50-23AM_1.log

Applying interim patch '20302006' to OH '<GRID_HOME>'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following executables are active :
<GRID_HOME>/lib/libclntsh.so.12.1
Log file location: <GRID_HOME>/cfgtoollogs/opatch/20302006_Jun_08_2018_09_50_23/apply2018-06-08_09-50-23AM_1.log

Recommended actions: OPatch needs to modify files which are being used by some processes.

OPatch failed with error code 41

Changes

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.