OPatch (Oracle Patching Tool
From Robs_Wiki
Known Issues
OPatch failed with error code 73 (active executables)
Error:
Following executables are active : /u01/app/oracle/product/12.1.0/IBISTEST/lib/libclntsh.so.12.1 UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed. Log file location: /u01/app/oracle/product/12.1.0/IBISTEST/cfgtoollogs/opatch/opatch2019-01-22_13-02-13PM_1.log
Analysis:
-- check which process is keeping this file: $ /usr/sbin/fuser /u01/app/oracle/product/12.1.0/PROD/lib/libclntsh.so.12.1 /u01/app/oracle/product/12.1.0/PROD/lib/libclntsh.so.12.1: 24541m $ ps -p 24541 PID TTY TIME CMD 24541 pts/1 0:00 sqlplus
Solution:
- Stop the program. In this case it was sqlplus