IOException during persisting of HostData OPatchAuto failed
执行应用补丁如下报错
[root@cqzldb1 software]# opatchauto apply /software/33248471/33182768/ -analyze
OPatchauto session is initiated at Mon Nov 29 17:49:04 2021
System initialization log file is /u01/app/19.0.0/grid/product/crs_1/cfgtoollogs/opatchautodb/systemconfig2021-11-29_05-49-06PM.log.
Session log file is /u01/app/19.0.0/grid/product/crs_1/cfgtoollogs/opatchauto/opatchauto2021-11-29_05-49-44PM.log
IOException during persisting of HostData object on localhost
oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: IOException during persisting of HostData OPatchAuto failed.
OPatchauto session completed at Mon Nov 29 17:49:45 2021
Time taken to complete the session 0 minute, 41 seconds
opatchauto failed with error code 42
查看opatch目录权限
[grid@cqzldb1 ~]$ cd $ORACLE_HOME
[grid@cqzldb1 crs_1]$ ll
total 108
drwxr-xr-x 3 root root 22 Nov 29 14:26 acfs
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfsccm
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfsccreg
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfscm
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfsiob
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfsrd
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 acfsrm
drwxr-xr-x 2 grid oinstall 102 Nov 29 14:20 addnode
drwxr-xr-x 3 grid oinstall 18 Nov 29 14:23 advmccb
drwxr-xr-x 10 grid oinstall 106 Nov 29 14:48 assistants
drwxrwxrwt 6 root oinstall 52 Nov 29 14:23 auth
drwxr-xr-x 2 root oinstall 12288 Nov 29 14:32 bin
drwxrwxr-x 4 grid oinstall 38 Nov 29 14:23 cdata
drwxr-x--- 3 grid oinstall 18 Nov 29 14:23 cdp
drwxrwxr-x 8 oracle oinstall 4096 Nov 29 17:49 cfgtoollogs
对目录进行重新授权
chown grid:oinstall -R OPatch