PROBLEM:
I was applying proactive bundle patch on oracle 12c RAC database. And during execution of opatchauto apply command on rdbms binary, got below error.
$ORACLE_HOME/OPatch/opatchauto apply /softdump/OCTBP2017/26635880 -oh /oracle/app/oracle/product/12.1.0.2/dbhome_1
OPatchauto session is initiated at Wed Nov 8 11:48:21 2017
OPATCHAUTO-72046: No wallet option provided.
OPATCHAUTO-72046: Wallet option is not provided which is required during patching.
OPATCHAUTO-72046: Please provide a wallet option.
SOLUTION:
opatchauto command always needs to be executed by root user. Use of any other user will throw this error.
So login with root and rerun the command.
$ sudo su - root Oracle Corporation SunOS 5.11 11.3 March 2017 You have new mail. -- Go the $ORACLE_HOME/OPatch location . root:~# pwd /root root:~# cd /oracle/app/oracle/product/12.1.0.2/dbhome_1/OPatch root:# ./opatchauto apply /softdump/OCTBP2017/26635880 -oh /oracle/app/oracle/product/12.1.0.2/dbhome_1 OPatchauto session is initiated at Wed Nov 8 11:49:09 2017 System initialization log file is /oracle/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatchautodb/systemconfig2017-11-08_11-49-13AM.log. ..
This opatchauto command will be executed successfully.
Thanks a lot. It worked for me.