背景,runInstaller -applyRU方式安装数据库,刚执行意外中断,重新执行提示报错
报错信息如下:
[oracle@rac1 dbhome_1]$ ./runInstaller -applyRU /home/oracle/30899722
ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution in this home. Use a different home to proceed.
查看oracle目录环境时间变化
[oracle@rac1 install]$ pwd
/u01/app/oracle/product/19.0.0.0/dbhome_1
[oracle@rac1 install]$
[oracle@rac1 install]$ ls -ltr
total 9932
-rw-r----- 1 oracle oinstall 3218 Apr 17 2019 modmakedeps.pl
-rwxr-x--- 1 oracle oinstall 6536799 Apr 17 2019 pilot
drwxr-xr-x 2 oracle oinstall 86 Apr 17 2019 sizes
drwxr-xr-x 2 oracle oinstall 22 Apr 17 2019 mesg
drwxr-xr-x 2 oracle oinstall 4096 Apr 17 2019 jlib
drwxr-xr-x 2 oracle oinstall 4096 Apr 17 2019 acls
drwxr-xr-x 2 oracle oinstall 6 Apr 17 2019 chainedInstall
-rw-rw-r-- 1 oracle oinstall 1666 Apr 17 2019 envVars.properties.bak
-rw-rw-r-- 1 oracle oinstall 1798362 Apr 18 2019 files.lst_2019-04-18_07-17-52AM.bkp
-rw-rw---- 1 oracle oinstall 146 Apr 18 2019 orabasetab
-rwxr-xr-x 1 oracle oinstall 857 Apr 18 2019 root_schagent.sh
-rw-rw-r-- 1 oracle oinstall 416 Apr 18 2019 envVars.properties
drwxr-xr-x 2 oracle oinstall 74 Apr 18 2019 utl
-rw-r--r-- 1 oracle oinstall 1798363 Apr 18 2019 files.lst.bak
drwxr-xr-x 2 oracle oinstall 34 Apr 18 2019 config
drwxr-xr-x 2 oracle oinstall 27 Apr 18 2019 response
-rw-r--r-- 1 oracle oinstall 0 Mar 14 16:23 patch
看到新增了一个patch文件,并且大小为0, 删除之后重新之后runinstaller可以正常执行。