搭建Oracle 12.1.0.1 RAC遇到 ERROR: Reference data is not available for verifying prerequisites on this operating system distribution
在安装grid之前对环境监察遇到如下错误:
[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "rac1"
Destination Node Reachable?
------------------------------------ ------------------------
rac1 yes
rac2 yes
Result: Node reachability check passed from node "rac1"
Checking user equivalence...
Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
rac2 passed
rac1 passed
Result: User equivalence check passed for user "grid"
ERROR:
Reference data is not available for verifying prerequisites on this operating system distribution
Verification cannot proceed
Pre-check for cluster services setup was unsuccessful on all the nodes.
解决方法:
这是由于bug15973656,其中指出runcluvfy.sh无法正确检测Red Hat 6.2及更高版本的操作系统。该问题也影响CentOS 6.2及以上版本。
官方方解决方案:该错误在12.1.0.1 GI 升级 PSU1,12.1.0.2 或者直接使用12.0.1.2 grid软件安装,此bug在12.0.1.2中修复。
正式解决方法中得到修复:安装redhat-release-6Server-1。noarch.rpm
MOS为这个问题提供了一个bug补丁--clupack.zip。此zip文件包含以下文件:
在redhat-RELEASE-6Server-1。noarch.rpm
filegroup6.jar
filegroup10.jar
cvu_prereq.xml
因此,如果想在12c RAC安装期间运行runcluvfy.sh,请从错误15973656 下载clupack.zip并加载RPM:
[root@rac1 sotfware]# rpm -ivh redhat-release-6Server-1.noarch.rpm
Preparing... ########################################### [100%]
1:redhat-release ########################################### [100%]
[root@rac1 sotfware]# ll
total 4531684
-rw-r--r-- 1 root root 65429 Aug 26 04:35 clupack.zip
-rw-r--r-- 1 root root 41724 Dec 4 2012 cvu_prereq.xml
-rw-r--r-- 1 root root 19034 Dec 4 2012 filegroup10.jar
-rw-r--r-- 1 root root 42624 Dec 4 2012 filegroup6.jar
-rw-r--r-- 1 root root 1637 Jun 13 2012 redhat-release-6Server-1.noarch.rpm
[root@rac1 sotfware]# rpm -qa redhat-release
redhat-release-6Server-1.noarch
[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
然后校验成功。