Applying PSU results “patching Following executables are active”

while patching oracle 12c database on Linux OS environment, i faced the below error while applying the patch using Opatch utility (although the database is shutdown):

 

Verifying environment and performing prerequisite checks…

Prerequisite check “CheckActiveFilesAndExecutables” failed.

The details are:

Following executables are active :

/oracl/db11/product/12.1.0.2/lib/libclntsh.so.12.1

UtilSession failed: Prerequisite check “CheckActiveFilesAndExecutables” failed.

 

solution:

find the process that is locking the file system using the fuser command

fuser -u /oracl/db11/product/12.1.0.2/lib/libclntsh.so.12.1

and then kill it using kill -9 command

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s