Prerequisite Check - CheckActiveFilesAndExecutables - Failed DBACLASS
Prerequisite Check - CheckActiveFilesAndExecutables - Failed DBACLASS
Prerequisite Check - CheckActiveFilesAndExecutables - Failed DBACLASS
ORACLE
DBA DBA SCRIPTS POSTGRES POSTGRES SCRIPTS DEVOPS
Prerequisite Check
Custom Search
DATABASE 57
PROBLEM:
DATABASE SCRIPTS 40
While applying a patch to oracle binary using opatch utility, got below error.
$ORACLE_HOME/OPatch/opatch apply
Database-Wiki 10
DB TOOLS 9
from : /oracle/app/oracle/product/12.1.0/dbtest/oraInst.loc
OPatch version : 12.1.0.1.10
OUI version : 12.1.0.2.0 HADOOP 3
ORACLE 18C 4
ORACLE SECURITY 13
SHELL SCRIPT 13
SOLUTION:
TROUBLESHOOTING 147
While applying patch using opatch, all processes using that ORACLE_HOME should be done. If any of the processes are still using
the ORACLE_HOME, It will fail with above error. WEBLOGIC 3
/oracle/app/oracle/product/12.1.0/dbtest/lib/libsqlplus.so –>
How to run SQL tuning advisor for a sql_id
Now find the process id using below command. 61801 6
Find which process are using the active executables mentioned in the above error.
Upgrade database from 12.1.0.2 to 12.2.0.1
/sbin/fuser /oracle/app/oracle/product/12.1.0/dbtest/lib/libclntsh.so.12.1 53065 9
inherit
How to drop and recreate temp tablespace
oracle 13640 27442 0 15:32:51 pts/1 0:00 grep 29785
in oracle
Is the local system ready for patching? [y|n] SHELL Script Standby Statistics
y
User Responded with: Y Tablespace Temp Undo
Backing up files...
Applying sub-patch '19769480' to OH '/oracle/app/oracle/product/12.1.0/dbtest'
Upgrade
Patching component oracle.rdbms.deconfig, 12.1.0.2.0...
OPatch found the word "warning" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
+ PATH=/bin:/usr/bin:/usr/ccs/bin
+ export PATH
+ lib=/oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib/libsqlplus.so
+ makefile=/oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib/ins_sqlplus.mk
+ so_ext=so
+ target=dlopenlib
+ basename /oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib/libsqlplus.so .so
+ libname=libsqlplus
+ dirname /oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib/libsqlplus.so
+ sodir=/oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib
+ ardir=/oracle/app/oracle/product/12.1.0/dbtest/lib/
+ [ var '=' dlopenlib ]
+ suffix=LIBS
+ var=''
+ [ ! -f /oracle/app/oracle/product/12.1.0/dbtest/lib/libsqlplus.a ]
+ [ '' '!=' '' ]
+ make -f /oracle/app/oracle/product/12.1.0/dbtest/sqlplus/lib/ins_sqlplus.mk dlopenlib _FULL_LIBNAME=/oracle/app/oracl
e/product/12.1.0/dbtest/sqlplus/lib/libsqlplus.so _LIBNAME=libsqlplus _LIBDIR=/oracle/app/oracle/product/12.1.0/dbtest/
lib/ _LIBNAME_LIBS='$(libsqlplusLIBS)' _LIBNAME_EXTRALIBS='$(libsqlplusEXTRALIBS)'
ld: warning: symbol '_init' not found, but .init section exists - possible link-edit without using the compiler driver
ld: warning: symbol '_fini' not found, but .fini section exists - possible link-edit without using the compiler driver
NOTE:
So before running the opatch apply command directly, it is better to run the below command, to check whether any process using
the oracle binary or not.
PREREQ session
OPatch succeeded.
OPATCH
TROUBLESHOOTING
About Admin
View all posts by Admin →
Related Articles
ORA-32774: more than one file was specified for bigfile tablespace
REPLY
Petra
AUGUST 28, 2019 AT 10:00 AM
Worked after killing the process. Now opatch is working fine.
REPLY
Arumugaraj
NOVEMBER 20, 2019 AT 11:45 AM
Thanks a lot I have resolved my Opatch issue using the above steps.
REPLY
tao
NOVEMBER 21, 2019 AT 7:01 AM
I failed to update database with grid patch. Your article gave me a good solution. Thank you very much
REPLY
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Post Comment
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Q&A Forum