在使用adop的过程中,一定要格外小心。
今天打补丁的时候,中断了,再次打补丁的时候出现下面报错
$cd $PATCH_TOP
$ cd 24449277
$ adop phase=apply hotpatch=yes;
[ERROR] Unable to continue as an existing adop session was found. [STATEMENT] Please run adopscanlog utility, using the command"adopscanlog -latest=yes" to get the list of the log files along with snippet of the error message corresponding to each log file. adop exiting with status = 1 (Fail) |
处理过程:
SQL>select adop_session_id from ad_adop_sessions where status='R';
备份ad_adop_sessions表
SQL>update ad_adop_sessions set status='C' where status='R; commit;
然后执行
$ adop phase=cleanup
之后在重新运行
$ adop phase=apply hotpatch=yes