在RHEL 7.6上安装12.2.0.1 rac时碰到的几个坑
这几天在客户这安装Oracle rac,环境为华为云的ECS,RHEL 7.6上安装12.2.0.1的rac,结果碰到了之前都没见过的几个坑,分享给大家。
错误1、CLSRSC-400: A system reboot is required to continue installing
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | [root@dbr710a ~]# /u01/app/12.2.0/grid/root.sh Check /u01/app/12.2.0/grid/install/root_dbr710a_2021-11-09_17-10-00-226097250.log for the output of root script You have new mail in /var/spool/mail/root [root@dbr710a ~]# tailf /u01/app/12.2.0/grid/install/root_dbr710a_2021-11-09_17-10-00-226097250.log /u01/app/grid/crsdata/dbr710a/crsconfig/rootcrs_dbr710a_2021-11-09_05-10-00PM.log 2021/11/09 17:10:03 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2021/11/09 17:10:03 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector. 2021/11/09 17:10:03 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2021/11/09 17:10:03 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2021/11/09 17:10:04 CLSRSC-363: User ignored prerequisites during installation 2021/11/09 17:10:04 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2021/11/09 17:10:05 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2021/11/09 17:10:06 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'. 2021/11/09 17:10:07 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'. 2021/11/09 17:10:24 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'. 2021/11/09 17:10:24 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'. 2021/11/09 17:10:26 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2021/11/09 17:10:27 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2021/11/09 17:11:13 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2021/11/09 17:11:13 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2021/11/09 17:11:28 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service' 2021/11/09 17:11:49 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2021/11/09 17:11:52 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dbr710a' CRS-2673: Attempting to stop 'ora.evmd' on 'dbr710a' CRS-2673: Attempting to stop 'ora.mdnsd' on 'dbr710a' CRS-2673: Attempting to stop 'ora.gpnpd' on 'dbr710a' CRS-2673: Attempting to stop 'ora.gipcd' on 'dbr710a' CRS-2677: Stop of 'ora.gipcd' on 'dbr710a' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'dbr710a' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'dbr710a' succeeded CRS-2677: Stop of 'ora.evmd' on 'dbr710a' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dbr710a' has completed CRS-4133: Oracle High Availability Services has been stopped. CRS-4123: Oracle High Availability Services has been started. 2021/11/09 17:12:55 CLSRSC-400: A system reboot is required to continue installing. The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl ' execution failed |
详细日志:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | 2021-11-09 17:12:09: Oracle High Availability Services is online 2021-11-09 17:12:09: Executing cmd: /u01/app/12.2.0/grid/bin/acfsdriverstate supported 2021-11-09 17:12:25: Command output: > ACFS-9200: Supported >End Command output 2021-11-09 17:12:25: acfs is supported 2021-11-09 17:12:25: Stopping ora.drivers.acfs if it exists, so that it doesn't race. 2021-11-09 17:12:25: isACFSSupported: 1 2021-11-09 17:12:25: Executing cmd: /u01/app/12.2.0/grid/bin/crsctl stat res ora.drivers.acfs -init 2021-11-09 17:12:25: Command output: > CRS-2613: Could not find resource 'ora.drivers.acfs'. >End Command output 2021-11-09 17:12:25: Executing '/u01/app/12.2.0/grid/bin/acfsroot install -t2' 2021-11-09 17:12:25: Executing cmd: /u01/app/12.2.0/grid/bin/acfsroot install -t2 2021-11-09 17:12:55: Command output: > ACFS-9176: Entering 'get ora home' > ACFS-9500: Location of Oracle Home is '/u01/app/12.2.0/grid' as determined from the internal configuration data > ACFS-9182: Variable 'ORACLE_HOME' has value '/u01/app/12.2.0/grid' > ACFS-9177: Return from 'get ora home' > ACFS-9176: Entering 'ga admin name' > ACFS-9176: Entering 'va admin group' > ACFS-9178: Return code = 0 > ACFS-9177: Return from 'va admin group' > ACFS-9178: Return code = asmadmin > ACFS-9177: Return from 'ga admin name' > ACFS-9180: Sub-command is 'install' > ACFS-9505: Using acfsutil executable from location: '/u01/app/12.2.0/grid/usm/install/cmds/bin/acfsutil' > ACFS-9176: Entering 'install' > ACFS-9300: ADVM/ACFS distribution files found. > ACFS-9176: Entering 'uld usm drvs' > ACFS-9178: Return code = USM_SUCCESS > ACFS-9177: Return from 'uld usm drvs' > ACFS-9176: Entering 'fail mode' > ACFS-9178: Return code = 0 > ACFS-9177: Return from 'fail mode' > ACFS-9176: Entering 'uninstall' > ACFS-9176: Entering 'uld usm drvs' > ACFS-9178: Return code = USM_SUCCESS > ACFS-9177: Return from 'uld usm drvs' > ACFS-9314: Removing previous ADVM/ACFS installation. > ACFS-9315: Previous ADVM/ACFS components successfully removed. > ACFS-9178: Return code = USM_SUCCESS > ACFS-9177: Return from 'uninstall' > ACFS-9307: Installing requested ADVM/ACFS software. > ACFS-9503: ADVM and ACFS driver media location is '/u01/app/12.2.0/grid/usm/install/Oracle/EL7/x86_64/3.10.0-229/3.10.0-229-x86_64/bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/Oracle/EL7/x86_64/3.10.0-229/3.10.0-229-x86_64/bin/oracleadvm.ko' to the path '/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/usm/oracleadvm.ko' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/Oracle/EL7/x86_64/3.10.0-229/3.10.0-229-x86_64/bin/oracleoks.ko' to the path '/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/usm/oracleoks.ko' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/Oracle/EL7/x86_64/3.10.0-229/3.10.0-229-x86_64/bin/oracleacfs.ko' to the path '/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/usm/oracleacfs.ko' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/advmutil' to the path '/sbin/advmutil' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/advmutil.bin' to the path '/sbin/advmutil.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/fsck.acfs' to the path '/sbin/fsck.acfs' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/fsck.acfs.bin' to the path '/sbin/fsck.acfs.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/mkfs.acfs' to the path '/sbin/mkfs.acfs' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/mkfs.acfs.bin' to the path '/sbin/mkfs.acfs.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/mount.acfs' to the path '/sbin/mount.acfs' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/mount.acfs.bin' to the path '/sbin/mount.acfs.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/acfsdbg' to the path '/sbin/acfsdbg' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/acfsdbg.bin' to the path '/sbin/acfsdbg.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/acfsutil' to the path '/sbin/acfsutil' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/acfsutil.bin' to the path '/sbin/acfsutil.bin' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/umount.acfs' to the path '/sbin/umount.acfs' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/usm/install/cmds/bin/umount.acfs.bin' to the path '/sbin/umount.acfs.bin' > ACFS-9176: Entering 'ga admin name' > ACFS-9178: Return code = CACHED_ASMADMIN > ACFS-9177: Return from 'ga admin name' > ACFS-9176: Entering 'getparm' > ACFS-9178: Return code = grid > ACFS-9177: Return from 'getparm' > ACFS-9504: Copying file '/u01/app/12.2.0/grid/lib/libacfs12.so' to the path '/opt/oracle/extapi/64/acfs/orcl/1/' > ACFS-9308: Loading installed ADVM/ACFS drivers. > ACFS-9321: Creating udev for ADVM/ACFS. > ACFS-9323: Creating module dependencies - this may take some time. > ACFS-9176: Entering 'ld usm drvs' > ACFS-9154: Loading 'oracleoks.ko' driver. > modprobe: FATAL: Module oracleoks not found. > ACFS-9109: oracleoks.ko driver failed to load. > ACFS-9178: Return code = USM_FAIL > ACFS-9177: Return from 'ld usm drvs' > ACFS-9428: Failed to load ADVM/ACFS drivers. A system reboot is recommended. > ACFS-9310: ADVM/ACFS installation failed. > ACFS-9178: Return code = USM_REBOOT_RECOMMENDED > ACFS-9177: Return from 'install' > ACFS-9176: Entering 'acroot ex' > ACFS-9178: Return code = 3 > ACFS-9177: Return from 'acroot ex' >End Command output 2021-11-09 17:12:55: /u01/app/12.2.0/grid/bin/crsctl disable crs ... disabling CRS in preparation for reboot. 2021-11-09 17:12:55: Executing cmd: /u01/app/12.2.0/grid/bin/crsctl disable crs 2021-11-09 17:12:55: Command output: > CRS-4621: Oracle High Availability Services autostart is disabled. >End Command output 2021-11-09 17:12:55: /u01/app/12.2.0/grid/bin/crsctl disable crs ... CRS disabled, ready for reboot. 2021-11-09 17:12:55: USM driver install status is 3 2021-11-09 17:12:55: ACFS drivers unable to be installed. 2021-11-09 17:12:55: Executing cmd: /u01/app/12.2.0/grid/bin/clsecho -p has -f clsrsc -m 400 2021-11-09 17:12:55: Command output: > CLSRSC-400: A system reboot is required to continue installing. >End Command output 2021-11-09 17:12:55: CLSRSC-400: A system reboot is required to continue installing. 2021-11-09 17:12:55: Invoking "/u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_ACFSINST -state FAIL" 2021-11-09 17:12:55: trace file=/u01/app/grid/crsdata/dbr710a/crsconfig/cluutil3.log 2021-11-09 17:12:55: Running as user grid: /u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_ACFSINST -state FAIL 2021-11-09 17:12:55: s_run_as_user2: Running /bin/su grid -c ' echo CLSRSC_START; /u01/app/12.2.0/grid/bin/cluutil -ckpt -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_ACFSINST -state FAIL ' 2021-11-09 17:12:56: Removing file /tmp/nwyE03yAD7 2021-11-09 17:12:56: Successfully removed file: /tmp/nwyE03yAD7 2021-11-09 17:12:56: pipe exit code: 0 2021-11-09 17:12:56: /bin/su successfully executed 2021-11-09 17:12:56: Succeeded in writing the checkpoint:'ROOTCRS_ACFSINST' with status:FAIL 2021-11-09 17:12:56: Install node: dbr710a 2021-11-09 17:12:56: ckpt: -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE 2021-11-09 17:12:56: Invoking "/u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE" 2021-11-09 17:12:56: trace file=/u01/app/grid/crsdata/dbr710a/crsconfig/cluutil4.log 2021-11-09 17:12:56: Running as user grid: /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE 2021-11-09 17:12:56: s_run_as_user2: Running /bin/su grid -c ' echo CLSRSC_START; /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE ' 2021-11-09 17:12:56: Removing file /tmp/YZjKbGtTXy 2021-11-09 17:12:56: Successfully removed file: /tmp/YZjKbGtTXy 2021-11-09 17:12:56: pipe exit code: 0 2021-11-09 17:12:56: /bin/su successfully executed 2021-11-09 17:12:56: Invoking "/u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE -status" 2021-11-09 17:12:56: trace file=/u01/app/grid/crsdata/dbr710a/crsconfig/cluutil5.log 2021-11-09 17:12:56: Running as user grid: /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE -status 2021-11-09 17:12:56: s_run_as_user2: Running /bin/su grid -c ' echo CLSRSC_START; /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -chkckpt -name ROOTCRS_FIRSTNODE -status ' 2021-11-09 17:12:56: Removing file /tmp/8vuYgOz6Rs 2021-11-09 17:12:56: Successfully removed file: /tmp/8vuYgOz6Rs 2021-11-09 17:12:56: pipe exit code: 0 2021-11-09 17:12:56: /bin/su successfully executed 2021-11-09 17:12:56: The 'ROOTCRS_FIRSTNODE' status is START 2021-11-09 17:12:56: Global ckpt 'ROOTCRS_FIRSTNODE' state: START 2021-11-09 17:12:56: First node operations have not been done, and local node is installer node. 2021-11-09 17:12:56: Local node: dbr710a is the first node. 2021-11-09 17:12:56: ORACLE_BASE is shared: 0 2021-11-09 17:12:56: Invoking "/u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_FIRSTNODE -state FAIL -nodelist dbr710a,dbr710b -transferfile" 2021-11-09 17:12:56: trace file=/u01/app/grid/crsdata/dbr710a/crsconfig/cluutil6.log 2021-11-09 17:12:56: Running as user grid: /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_FIRSTNODE -state FAIL -nodelist dbr710a,dbr710b -transferfile 2021-11-09 17:12:56: s_run_as_user2: Running /bin/su grid -c ' echo CLSRSC_START; /u01/app/12.2.0/grid/bin/cluutil -ckpt -global -oraclebase /u01/app/grid -writeckpt -name ROOTCRS_FIRSTNODE -state FAIL -nodelist dbr710a,dbr710b -transferfile ' 2021-11-09 17:12:57: Removing file /tmp/AgeOkpqZE8 2021-11-09 17:12:57: Successfully removed file: /tmp/AgeOkpqZE8 2021-11-09 17:12:57: pipe exit code: 0 2021-11-09 17:12:57: /bin/su successfully executed 2021-11-09 17:12:57: succeeded to write global ckpt 'ROOTCRS_FIRSTNODE' with status 'FAIL' |
解决办法:打最新的RU:33290750 ,可以参考:https://www.xmmup.com/oracle-database-or-gi-update-revision-psu-spucpu-bundle-patches-patchsets-and-base-releases.html 下载最新的RU补丁。
从12.2开始,在安装grid之前就可以先打RU补丁。
最新RU(11G叫做PSU),如果18C,可以完美避过此BUG。
升级OPATCH并打补丁
You must use the OPatch utility version 12.2.0.1.27 or later to apply this patch. Oracle recommends that you use the latest released OPatch version for 12.2, which is available for download from My Oracle Support patch 6880880 by selecting ARU link for the 12.2.0.1.0 release. It is recommended that you download the OPatch utility and the patch in a shared location to be able to access them from any node in the cluster for the patch application on each node.
1 2 3 4 5 6 | su - grid unzip -d $ORACLE_HOME /soft/Linux-x86-12201/p6880880_210000_Linux-x86-64.zip unzip p33290750_122010_Linux-x86-64.zip /u01/app/12.2.0/grid/gridSetup.sh -applyPSU /soft/Linux-x86-12201/33290750/ |
执行过程:
1 2 3 4 5 6 7 8 9 | [grid@dbr710a Linux-x86-12201]$ /u01/app/12.2.0/grid/gridSetup.sh -applyPSU /soft/Linux-x86-12201/33290750/ ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable. Preparing the home to patch... Applying the patch /soft/Linux-x86-12201/33290750/... Successfully applied the patch. The log can be found at: /tmp/GridSetupActions2021-11-09_05-41-50PM/installerPatchActions_2021-11-09_05-41-50PM.log No X11 DISPLAY variable was set, but this program performed an operation which requires it. [grid@dbr710a Linux-x86-12201]$ |
DB打最新的补丁
建议DB也打最新的PSU,在安装完集群和DB软件之后进行操作,如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | -- 节点1 srvctl stop db -d jde91 su - oracle unzip -d $ORACLE_HOME /soft/Linux-x86-12201/p6880880_210000_Linux-x86-64.zip unzip p33261817_122010_Linux-x86-64.zip cd 33261817 $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch apply chown oracle.oinstall /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO $ORACLE_HOME/OPatch/opatch lspatches scp p33261817_122010_Linux-x86-64.zip oracle@dbr710b:/soft/ scp p6880880_210000_Linux-x86-64.zip oracle@dbr710b:/soft/ -- 节点2 su - oracle unzip -d $ORACLE_HOME /soft/Linux-x86-12201/p6880880_210000_Linux-x86-64.zip unzip p33261817_122010_Linux-x86-64.zip cd 33261817 $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./ $ORACLE_HOME/OPatch/opatch apply chown oracle.oinstall /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO $ORACLE_HOME/OPatch/opatch lspatches -- 更新数据库(只在一个节点) srvctl start db -d jde91 $ORACLE_HOME/OPatch/datapatch -verbose select PATCH_ID from dba_registry_sqlpatch; cd $ORACLE_HOME/rdbms/admin @utlrp.sql |
注意:在grid的RU安装包中,其实也包含了33261817的DB补丁包,可以直接使用的。
日志:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | [oracle@dbr710b soft]$ cd 33261817 [oracle@dbr710b 33261817]$ $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./ Oracle Interim Patch Installer version 12.2.0.1.27 Copyright (c) 2021, Oracle Corporation. All rights reserved. PREREQ session Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.27 OUI version : 12.2.0.1.4 Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2021-11-24_09-15-38AM_1.log Invoking prereq "checkconflictagainstohwithdetail" Prereq "checkConflictAgainstOHWithDetail" passed. OPatch succeeded. [oracle@dbr710b 33261817]$ $ORACLE_HOME/OPatch/opatch apply Oracle Interim Patch Installer version 12.2.0.1.27 Copyright (c) 2021, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.27 OUI version : 12.2.0.1.4 Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2021-11-24_09-15-48AM_1.log Verifying environment and performing prerequisite checks... -------------------------------------------------------------------------------- Start OOP by Prereq process. Launch OOP... Oracle Interim Patch Installer version 12.2.0.1.27 Copyright (c) 2021, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.27 OUI version : 12.2.0.1.4 Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2021-11-24_09-15-58AM_1.log Verifying environment and performing prerequisite checks... OPatch continues with these patches: 33261817 Do you want to proceed? [y|n] Y User Responded with: Y All checks passed. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/app/oracle/product/12.2.0/dbhome_1') Is the local system ready for patching? [y|n] Y User Responded with: Y Backing up files... Applying interim patch '33261817' to OH '/u01/app/oracle/product/12.2.0/dbhome_1' ApplySession: Optional component(s) [ oracle.swd, 12.2.0.1.0 ] , [ oracle.swd.oui, 12.2.0.1.0 ] , [ oracle.rdbms.drdaas, 12.2.0.1.0 ] , [ oracle.ons.daemon, 12.2.0.1.0 ] , [ oracle.ons.eons.bwcompat, 12.2.0.1.0 ] , [ oracle.network.gsm, 12.2.0.1.0 ] , [ oracle.oid.client, 12.2.0.1.0 ] , [ oracle.network.cman, 12.2.0.1.0 ] , [ oracle.ons.cclient, 12.2.0.1.0 ] not present in the Oracle Home or a higher version is found. Patching component oracle.rdbms.util, 12.2.0.1.0... Patching component oracle.network.rsf, 12.2.0.1.0... Patching component oracle.rdbms, 12.2.0.1.0... Patching component oracle.rdbms.rsf, 12.2.0.1.0... Patching component oracle.ctx, 12.2.0.1.0... Patching component oracle.has.common.cvu, 12.2.0.1.0... Patching component oracle.ldap.owm, 12.2.0.1.0... Patching component oracle.ldap.rsf, 12.2.0.1.0... Patching component oracle.nlsrtl.rsf, 12.2.0.1.0... Patching component oracle.oracore.rsf, 12.2.0.1.0... Patching component oracle.oraolap, 12.2.0.1.0... Patching component oracle.rdbms.dbscripts, 12.2.0.1.0... Patching component oracle.rdbms.deconfig, 12.2.0.1.0... Patching component oracle.rdbms.rsf.ic, 12.2.0.1.0... Patching component oracle.sdo, 12.2.0.1.0... Patching component oracle.sdo.locator, 12.2.0.1.0... Patching component oracle.sdo.locator.jrf, 12.2.0.1.0... Patching component oracle.tfa, 12.2.0.1.0... Patching component oracle.dbtoolslistener, 12.2.0.1.0... Patching component oracle.sqlplus.ic, 12.2.0.1.0... Patching component oracle.rdbms.lbac, 12.2.0.1.0... Patching component oracle.rdbms.install.plugins, 12.2.0.1.0... Patching component oracle.ldap.rsf.ic, 12.2.0.1.0... Patching component oracle.assistants.acf, 12.2.0.1.0... Patching component oracle.rdbms.dv, 12.2.0.1.0... Patching component oracle.xdk.rsf, 12.2.0.1.0... Patching component oracle.rdbms.rman, 12.2.0.1.0... Patching component oracle.assistants.server, 12.2.0.1.0... Patching component oracle.install.deinstalltool, 12.2.0.1.0... Patching component oracle.ons, 12.2.0.1.0... Patching component oracle.assistants.deconfig, 12.2.0.1.0... Patching component oracle.rdbms.oci, 12.2.0.1.0... Patching component oracle.ons.ic, 12.2.0.1.0... Patching component oracle.xdk.parser.java, 12.2.0.1.0... Patching component oracle.ldap.client, 12.2.0.1.0... Patching component oracle.sqlplus, 12.2.0.1.0... Patching component oracle.precomp.rsf, 12.2.0.1.0... Patching component oracle.rdbms.crs, 12.2.0.1.0... Patching component oracle.xdk, 12.2.0.1.0... Patching component oracle.ctx.rsf, 12.2.0.1.0... Patching component oracle.precomp.lang, 12.2.0.1.0... Patching component oracle.precomp.common, 12.2.0.1.0... Patching component oracle.jdk, 1.8.0.91.0... OPatch found the word "error" in the stderr of the make command. Please look at this stderr. You can re-run this make command. Stderr output: chmod: changing permissions of ‘/u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO’: Operation not permitted make: [iextjob] Error 1 (ignored) Patch 33261817 successfully applied. OPatch Session completed with warnings. Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2021-11-24_09-15-58AM_1.log OPatch completed with warnings. [oracle@dbr710b 33261817]$ ll /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO -rwsr-x--- 1 root oinstall 2241464 Nov 9 19:00 /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO [oracle@dbr710b 33261817]$ chown oracle.oinstall /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO chown: changing ownership of ‘/u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO’: Operation not permitted [oracle@dbr710b 33261817]$ exit logout [root@dbr710b OPatch]# [root@dbr710b OPatch]# chown oracle.oinstall /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO [root@dbr710b OPatch]# ll /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO -rwxr-x--- 1 oracle oinstall 2241464 Nov 9 19:00 /u01/app/oracle/product/12.2.0/dbhome_1/bin/extjobO [oracle@dbr710a ~]$ $ORACLE_HOME/OPatch/opatch lspatches 33261817;Database Oct 2021 Release Update : 12.2.0.1.211019 (33261817) OPatch succeeded. [oracle@dbr710a ~]$ $ORACLE_HOME/OPatch/datapatch -verbose SQL Patching tool version 12.2.0.1.0 Production on Wed Nov 24 09:20:24 2021 Copyright (c) 2012, 2021, Oracle. All rights reserved. Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_11524_2021_11_24_09_20_24/sqlpatch_invocation.log Connecting to database...OK Bootstrapping registry and package to current versions...done Determining current state...done Current state of SQL patches: Bundle series DBRU: ID 211019 in the binary registry and not installed in the SQL registry Adding patches to installation queue and performing prereq checks... Installation queue: Nothing to roll back The following patches will be applied: 33261817 (DATABASE OCT 2021 RELEASE UPDATE 12.2.0.1.211019) Installing patches... Patch installation complete. Total patches installed: 1 Validating logfiles... Patch 33261817 apply: SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/33261817/24444540/33261817_apply_JDE91_2021Nov24_09_20_50.log (no errors) SQL Patching tool complete on Wed Nov 24 09:22:57 2021 [oracle@dbr710a ~]$ sas SQL*Plus: Release 12.2.0.1.0 Production on Wed Nov 24 09:53:35 2021 Copyright (c) 1982, 2016, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production SQL> select PATCH_ID from dba_registry_sqlpatch; PATCH_ID ---------- 33261817 |
错误2、DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation
安装时报错:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | [grid@dbr710a ~]$ /u01/app/12.2.0/grid/gridSetup.sh -silent -force -noconfig -ignorePrereq \ > oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.2.0 \ > INVENTORY_LOCATION=/u01/app/oraInventory \ > oracle.install.option=CRS_CONFIG \ > ORACLE_BASE=/u01/app/grid \ > oracle.install.asm.OSDBA=asmdba \ > oracle.install.asm.OSOPER=asmoper \ > oracle.install.asm.OSASM=asmadmin \ > oracle.install.crs.config.scanType=LOCAL_SCAN \ > oracle.install.crs.config.gpnp.scanName=JDE91.sundan.com \ > oracle.install.crs.config.gpnp.scanPort=1521 \ > oracle.install.crs.config.ClusterConfiguration=STANDALONE \ > oracle.install.crs.config.configureAsExtendedCluster=false \ > oracle.install.crs.config.clusterName=dbr710-cluster \ > oracle.install.crs.config.gpnp.configureGNS=false \ > oracle.install.crs.config.autoConfigureClusterNodeVIP=false \ > oracle.install.crs.config.clusterNodes=dbr710a:dbr710a-vip:HUB,dbr710b:dbr710b-vip:HUB \ > oracle.install.crs.config.networkInterfaceList=eth0:192.168.88.0:1,eth1:110.110.20.0:5 \ > oracle.install.asm.configureGIMRDataDG=false \ > oracle.install.crs.config.useIPMI=false \ > oracle.install.asm.storageOption=ASM \ > oracle.install.asmOnNAS.configureGIMRDataDG=false \ > oracle.install.asm.SYSASMPassword=oracle \ > oracle.install.asm.monitorPassword=oracle \ > oracle.install.asm.diskGroup.name=CRS \ > oracle.install.asm.diskGroup.redundancy=NORMAL \ > oracle.install.asm.diskGroup.AUSize=4 \ > oracle.install.asm.diskGroup.disks=/dev/asm-diska,/dev/asm-diskb,/dev/asm-diskc \ > oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm-* \ > oracle.install.asm.configureAFD=false \ > oracle.install.crs.configureRHPS=false \ > oracle.install.crs.config.ignoreDownNodes=false \ > oracle.install.config.managementOption=NONE \ > oracle.install.crs.rootconfig.executeRootScript=false Launching Oracle Grid Infrastructure Setup Wizard... [WARNING] [INS-42505] The installer has detected that the Oracle Grid Infrastructure home software at (/u01/app/12.2.0/grid) is not complete. CAUSE: Following files are missing: [/u01/app/12.2.0/grid/jdk/.manifest, /u01/app/12.2.0/grid/jdk/lib/missioncontrol, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/artifacts.xml, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/.eclipseproduct, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/mc.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/icon.xpm, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/THIRDPARTYLICENSEREADME.txt, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.transport.ecf.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.components.ui_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.components.ui.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.security_1.2.0.v20130424-1801.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.osgi.services.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.bindings.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.expressions_3.4.600.v20140128-0851.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine_2.3.0.v20140506-1720.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ext_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.alert.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.commands.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.event_1.3.100.v20140115-1647.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.configuration_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.concurrent_1.1.0.v20130327-1442.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.ui_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.di.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.bidi_0.10.0.v20130327-1442.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.model.workbench_1.1.0.v20140512-1820.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.jetty.servlet_8.1.14.v20131031.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/javax.inject_1.0.0.v20091030.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.sat4j.pb_2.3.5.v201404071733.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.help.base.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.frameworkadmin.equinox_1.0.500.v20131211-1531.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.docs.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app_1.0.300.v20140228-1829.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.workbench.renderers.swt_0.12.1.v20140903-1023.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ui.workbench.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.w3c.dom.svg_1.1.0.v201011041433.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.databinding.observable.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.rcp.application.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.jetty.util_8.1.14.v20131031.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.css.swt.theme.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.p2.ui.overridden_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.update.configurator_3.3.300.v20140518-1928.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.mbeanbrowser.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.ui.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository_1.1.300.v20131211-1531.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.repository_2.3.0.v20131211-1531.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.docs.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ui.themes.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.metadata.repository.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.help_3.6.0.v20130326-1254.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/javax.el_2.2.0.v201303151357.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.engine.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20140414-0825.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20131217-1203.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.w3c.css.sac_1.3.1.v200903091627.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.jobs_3.6.0.v20140424-0053.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.artifact.repository.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.httpclient4.ssl_1.0.0.v20140827-1444.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.emf.common_2.10.1.v20140901-1043.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.emf.ecore.change_2.10.0.v20140901-1043.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.apache.batik.util_1.7.0.v201011041433.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.databinding_1.4.2.v20140729-1044.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.core.di_1.4.0.v20140414-1837.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.publisher.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.greychart.ui.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.rjmx.ui.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.jface.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.app_1.3.200.v20130910-1609.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.garbagecollector.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ui.workbench_3.106.1.v20140827-1737.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.help.ui.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.reconciler.dropins.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.diagnostic.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.app.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.services.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.jface.text.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ecf.identity_3.4.0.v20140827-1444.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20140827-1444.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.e4.ui.widgets.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.console.ui.notification.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.ui.intro.nl_ja_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.ui.zh_CN_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.equinox.p2.director.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.flightrecorder.controlpanel.ui.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.help.webapp.nl_zh_4.4.0.v20140623020002.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/com.jrockit.mc.browser.jdp.ja_5.5.0.165303.jar, /u01/app/12.2.0/grid/jdk/lib/missioncontrol/plugins/org.eclipse.core.resources_3.9.1.v20140825-1431.jar, ...] ACTION: Ensure that the Oracle Grid Infrastructure home at (/u01/app/12.2.0/grid) includes the files listed above. [WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards. CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. ACTION: Provide a password that conforms to the Oracle recommended standards. [WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards. CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. ACTION: Provide a password that conforms to the Oracle recommended standards. [WARNING] [INS-40109] The specified Oracle Base location is not empty on this server. ACTION: Specify an empty location for Oracle Base. You can find the log of this install session at: /tmp/GridSetupActions2021-11-09_05-48-15PM/gridSetupActions2021-11-09_05-48-15PM.log [FATAL] [INS-32250] ADR setup (diagsetup) tool failed. Check the install log for more details. *ADDITIONAL INFORMATION:* - DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - Error creating ADR directory - DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - oracle.diagfw.adr.diagsetup.DiagSetupException: DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - at oracle.diagfw.adr.diagsetup.DiagSetup.createAdrDir(DiagSetup.java:575) - at oracle.diagfw.adr.diagsetup.DiagSetup.createDirsLocal(DiagSetup.java:415) - at oracle.diagfw.adr.diagsetup.DiagSetup.createDirs(DiagSetup.java:326) - at oracle.diagfw.adr.diagsetup.DiagSetup.executeMain(DiagSetup.java:294) - at oracle.diagfw.adr.diagsetup.DiagSetup.main(DiagSetup.java:257) - DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - oracle.diagfw.adr.diagsetup.DiagSetupException: DiagSetup-00010: Diag Setup Usage error: unable to perform create directory operation - at oracle.diagfw.adr.diagsetup.DiagSetup.createDirs(DiagSetup.java:342) - at oracle.diagfw.adr.diagsetup.DiagSetup.executeMain(DiagSetup.java:294) - at oracle.diagfw.adr.diagsetup.DiagSetup.main(DiagSetup.java:257) As install user, execute the following command to complete the configuration. /u01/app/12.2.0/grid/gridSetup.sh -executeConfigTools -responseFile null [-silent] Moved the install session logs to: /u01/app/oraInventory/logs/GridSetupActions2021-11-09_05-48-15PM |
如果在安装之前,使用root用户配置了afd设备,那么它会在grid用户的$ORACLE_BASE目录下产生一个属主为root用户的diag目录,所以会报错。
在运行gridsetup.sh的时候,手动赋权即可解决。
1 | chown grid.oinstall /u01/app/grid/diag |
错误3、CLSRSC-614: failed to get the list of configured diskgroups
办法1:Apply patch 28140658.
办法2:手动用root重新编译后重跑root.sh就可以通过:
1 2 | cd /u01/app/12.2.0/grid/rdbms/lib/ /usr/bin/make -f ins_rdbms.mk client_sharedlib libasmclntsh12.ohso libasmperl12.ohso ORACLE_HOME=/U01/app/12.2.0/grid/ |
然后直接跑root.sh即可,不用做其它操作。
错误4、节点2的asm不能启动
原因:HAIP的bug,这个问题在19c中也存在,可能跟华为云有关系。
错误5、kgfnGetConnDetails requires 4 parameters
1 2 | [grid@dbr710b ~]$ asmcmd kgfnGetConnDetails requires 4 parameters at /u01/app/12.2.0/grid/lib/asmcmdbase.pm line 5704. |
解决:
以root用户执行:
1 | /usr/bin/make -f /u01/app/12.2.0/grid/rdbms/lib/ins_rdbms.mk client_sharedlib libasmclntsh12.ohso libasmperl12.ohso ORACLE_HOME=/u01/app/12.2.0/grid |