收到一个请求,客户说安装11.2.0.2 的RAC数据库的时候,到prerequisite check这一步报错PRVF-5300和PRVF-5434。
我们可以运行下面的命令来追踪:
1 |
./runInstaller -debug -logLevel finest >inst1.out 2>inst2.out |
运行debug后,我们还在OUI中操作,到了prerequisite check那一步,我们看看在inst1.out的trace中写了什么:
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 |
…… [performChecks.flowWorker] [ 2013-07-26 17:48:38.526 CST ] [Version.isPre:465] version to be checked 11.2.0.2.0 major version to check against10 [performChecks.flowWorker] [ 2013-07-26 17:48:38.526 CST ] [Version.isPre:476] isPre.java: Returning FALSE [performChecks.flowWorker] [ 2013-07-26 17:48:38.527 CST ] [ClusterInfo.<init>:241] m_olsnodesPath=/oracle_grid/11.2.0/grid/bin/olsnodes [performChecks.flowWorker] [ 2013-07-26 17:48:38.527 CST ] [RuntimeExec.runCommand:75] Calling Runtime.exec() with the command [performChecks.flowWorker] [ 2013-07-26 17:48:38.527 CST ] [RuntimeExec.runCommand:77] /oracle_grid/11.2.0/grid/bin/crsctl [performChecks.flowWorker] [ 2013-07-26 17:48:38.527 CST ] [RuntimeExec.runCommand:77] query [performChecks.flowWorker] [ 2013-07-26 17:48:38.528 CST ] [RuntimeExec.runCommand:77] crs [performChecks.flowWorker] [ 2013-07-26 17:48:38.528 CST ] [RuntimeExec.runCommand:77] activeversion [performChecks.flowWorker] [ 2013-07-26 17:48:38.552 CST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process [Thread-594] [ 2013-07-26 17:48:38.552 CST ] [StreamReader.run:61] In StreamReader.run [Thread-593] [ 2013-07-26 17:48:38.552 CST ] [StreamReader.run:61] In StreamReader.run [Thread-593] [ 2013-07-26 17:48:38.773 CST ] [StreamReader.run:65] OUTPUT>Oracle Clusterware active version on the cluster is [11.2.0.3.0] [performChecks.flowWorker] [ 2013-07-26 17:48:38.776 CST ] [RuntimeExec.runCommand:144] runCommand: process returns 0 [performChecks.flowWorker] [ 2013-07-26 17:48:38.777 CST ] [RuntimeExec.runCommand:161] RunTimeExec: output> [performChecks.flowWorker] [ 2013-07-26 17:48:38.777 CST ] [RuntimeExec.runCommand:164] Oracle Clusterware active version on the cluster is [11.2.0.3.0] [performChecks.flowWorker] [ 2013-07-26 17:48:38.777 CST ] [RuntimeExec.runCommand:170] RunTimeExec: error> [performChecks.flowWorker] [ 2013-07-26 17:48:38.778 CST ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand [performChecks.flowWorker] [ 2013-07-26 17:48:38.778 CST ] [ClusterInfo.getCRSActiveVersionString:1508] output[0]=Oracle Clusterware active version on the cluster is [11.2.0.3.0] [performChecks.flowWorker] [ 2013-07-26 17:48:38.778 CST ] [ClusterInfo.getCRSActiveVersionString:1521] Active version = 11.2.0.3.0] [performChecks.flowWorker] [ 2013-07-26 17:48:38.779 CST ] [VerificationUtil.getCRSActiveVersionObj:5096] CRS version string obtained: '11.2.0.3.0' [performChecks.flowWorker] [ 2013-07-26 17:48:38.779 CST ] [Version.getVersion:497] version String is 11.2.0.3.0 [performChecks.flowWorker] [ 2013-07-26 17:48:38.779 CST ] [Version.getVersion:498] new Version().toString is 11.2.0.2.0 [performChecks.flowWorker] [ 2013-07-26 17:48:38.780 CST ] [VerificationUtil.getCRSActiveVersionObj:5109] Configuration Exception: PRKC-1137 : Unable to find Version object with string value 11.2.0.3.0 [performChecks.flowWorker] [ 2013-07-26 17:48:38.782 CST ] [TaskNodeAppCreation.determineCRSVersion:1690] Failed to retrieve active version for CRS [performChecks.flowWorker] [ 2013-07-26 17:48:38.783 CST ] [Task.perform:439] TaskNodeAppCreation:Node Application Existence:TASK_SUMMARY:FAILED:CRITICAL:OPERATION_FAILED ERRORMSG(GLOBAL): Failed to retrieve active version for CRS on this node [performChecks.flowWorker] [ 2013-07-26 17:48:38.783 CST ] [ResultSet.traceResultSet:342] === m_resultSet before return from verify() === Overall Status->OPERATION_FAILED mydb291102-->OPERATION_FAILED mydb291101-->OPERATION_FAILED …… |
在这里,我们看到报错的原因了,是用11.2.0.2的installer安装在11.2.0.3的crs上,所以报错,而且是在运行/oracle_grid/11.2.0/grid/bin/crsctl query crs activeversion 的时候,返回结果11.2.0.3,而installer是期望返回11.2.0.2,因此报错。这个报错根据可以忽略。见Top 11gR2 RAC Installation Issues (Doc ID 1372375.1)中:
1 2 3 4 5 6 7 8 9 10 11 12 |
Symptoms: PRKC-1137 : Unable to find Version object with string value 11.2.0.2.0 OR PRVF-5434 : Cannot identify the current CRS software version Possible Causes: Installing lower version of database software in higher version of Grid Infrastructure, i.e. installing 11.2.0.2 RAC in 11.2.0.3 GI cluster Solutions: Validate clusterware with "crsctl check crs" and "cluvfy stage -post crsinst -n all -verbose", if output shows no issue, ignore the error, or invoke runInstaller with -ignorePrereq option. |