0

0

OracleStudy之--AMDCPU安装Oracle11gR2RAC错误

php中文网

php中文网

发布时间:2016-06-07 14:56:08

|

1670人浏览过

|

来源于php中文网

原创

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误 系统环境: 操作系统: RedHat EL55 Oracle : Oracle 11gR2 Grid + Oracle 1、错误现象 [root@syl1install]#/u01/11.2.0/grid/root.shRunningOracle11groot.shscript...Thefollowingenvironmentvariablesa

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

系统环境:

    操作系统: RedHat  EL55

    Oracle :     Oracle 11gR2 Grid +  Oracle

 

1、错误现象

[root@syl1 install]# /u01/11.2.0/grid/root.shRunning Oracle 11g root.sh script...
The following environment variables are set as:    
ORACLE_OWNER= grid    
ORACLE_HOME=  /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y   
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  
Overwrite it? (y/n) [n]: y   
Copying oraenv to /usr/local/bin ...The file "coraenv" already exists in /usr/local/bin.  
Overwrite it? (y/n) [n]: y   
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.2015-05-26 
14:40:11: Parsing the host name2015-05-26 
14:40:11: Checking for super user privileges2015-05-26 
14:40:11: User has super user privilegesUsing configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params

Failure with signal 11 from command: /u01/11.2.0/grid/bin/ocrconfig -local -upgrade grid oinstall
Failed to create or upgrade OLR

2、清除CRS配置

[root@syl1 install]# perl rootcrs.pl -deconfig -force  
2015-05-26 14:40:30: Parsing the host name  
2015-05-26 14:40:30: Checking for super user privileges  
2015-05-26 14:40:30: User has super user privileges  
Using configuration parameter file: ./crsconfig_params  
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1  
PRCR-1068 : Failed to query resources  
Cannot communicate with crsd  
PRCR-1070 : Failed to check if resource ora.gsd is registered  
Cannot communicate with crsd  
PRCR-1070 : Failed to check if resource ora.ons is registered  
Cannot communicate with crsd  
PRCR-1070 : Failed to check if resource ora.eons is registered  
Cannot communicate with crsd  
  
ACFS-9200: Supported  
CRS-4535: Cannot communicate with Cluster Ready Services  
CRS-4000: Command Stop failed, or completed with errors.  
Failure at scls_scr_setval with code 8  
Internal Error Information:   
  Category: -2  
 Operation: failed  
  Location: scrsearch3  
  Other: id doesnt exist scls_scr_setval  
  System Dependent Information: 2  
  
CRS-4544: Unable to connect to OHAS  
CRS-4000: Command Stop failed, or completed with errors.  
error: package cvuqdisk is not installed  

3、解决方法

 关于这个问题,Meatlink 上[ID 1068212.1]有关于这个问题的描述,同时也说明明了由bug 8670579所引起的,而且还是未公开的,说是不认识新的AMD芯片,
原来是AMD CPU搞得鬼
[html] view plaincopyprint?
Cause    
      
  Unpublished bug 8670579 which relates to the identification of newer AMD chips and therefore only affect platforms     
  using the newer AMD chips.    
      
  Solution    
      
  If the error occurs during the installation of the GRID Infrastructure the patch has to be applied,     
  before the root.sh Script in the installation is run:    
      
  a.) Run a installation (grid/runInstaller) to the prompt where it requests to run orainstroot.sh and <GRID_HOME>/root.sh    
  b.) Run orainstroot.sh on all nodes, but not root.sh    
  c.) Open another session with the Oracle User and apply Patch 8670579 on all nodes (with opatch apply).    
  d.) Continue with the root.sh from the installation.    
      
  If you hit this bug, and have already started root.sh then:    
  - Deconfigure Clusterware on the failed host with <GRID_HOME>/install/rootcrs.pl -deconfig -force    
  - Install the Patch as Oracle User (opatch apply)    
  - Rerun root.sh


4、下载上传patch并应用(以grid用户的身份) 

[grid@syl1 ~]$ ls

oradiag_grid  p8670579_112010_LINUX.zip


[grid@syl1 ~]$ unzip p8670579_112010_LINUX.zip 

Archive:  p8670579_112010_LINUX.zip
   creating: 8670579/
   creating: 8670579/files/
   creating: 8670579/files/lib/
   creating: 8670579/files/lib/libnnz11.a/
  inflating: 8670579/files/lib/libnnz11.a/ahseteco.o  
  inflating: 8670579/files/lib/libnnz11.a/am11rkg.o  
  inflating: 8670579/files/lib/libnnz11.a/amsha.o  
  inflating: 8670579/files/lib/libnnz11.a/cpui32.o  
  inflating: 8670579/files/lib/libnnz11.a/sha.o  
  inflating: 8670579/files/lib/libnnz11.a/x931rand.o  
  inflating: 8670579/files/lib/libnnz11.a/am11dkg.o  
  inflating: 8670579/files/lib/libnnz11.a/am931rnd.o  
  inflating: 8670579/files/lib/libnnz11.a/amsharnd.o  
  inflating: 8670579/files/lib/libnnz11.a/ghash.o  
  inflating: 8670579/files/lib/libnnz11.a/shacomm.o  
  inflating: 8670579/files/lib/libnnz11.so  
   creating: 8670579/etc/
   creating: 8670579/etc/config/
  inflating: 8670579/etc/config/inventory.xml  
  inflating: 8670579/etc/config/actions.xml  
  inflating: 8670579/etc/config/deploy.xml  
   creating: 8670579/etc/xml/
  inflating: 8670579/etc/xml/GenericActions.xml  
  inflating: 8670579/etc/xml/ShiphomeDirectoryStructure.xml  
  inflating: 8670579/README.txt      
 extracting: ¢|||í?ê?-á+?.txt

[grid@syl1 ~]$ ls
8670579  oradiag_grid  p8670579_112010_LINUX.zip  ??????ê?-?+?.txt

进入patch目录并应用:

  1. [grid@syl1 ~]$ cd 8670579/  
    [grid@syl1 8670579]$ /u01/11.2.0/grid/OPatch/opatch apply  
      
    Invoking OPatch 11.1.0.6.6  
      
    Oracle Interim Patch Installer version 11.1.0.6.6  
    Copyright (c) 2009, Oracle Corporation.  All rights reserved.  
      
      
    Oracle Home       : /u01/11.2.0/grid  
    Central Inventory : /u01/app/oraInventory  
       from           : /etc/oraInst.loc  
    OPatch version    : 11.1.0.6.6  
    OUI version       : 11.2.0.1.0  
    OUI location      : /u01/11.2.0/grid/oui  
    Log file location : /u01/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-26_14-52-15PM.log  
      
    Patch history file: /u01/11.2.0/grid/cfgtoollogs/opatch/opatch_history.txt  
      
      
    --------------------------------------------------------------------------------  
    The patch has more than one Archive Action but there is no Make Action.  
    --------------------------------------------------------------------------------  
    ApplySession applying interim patch '8670579' to OH '/u01/11.2.0/grid'  
      
    Running prerequisite checks...  
      
    OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.  
      
      
    This node is part of an Oracle Real Application Cluster.  
    Remote nodes: 'syl2'   
    Local node: 'syl1'  
    Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.  
    (Oracle Home = '/u01/11.2.0/grid')  
      
      
    Is the local system ready for patching? [y|n]  
    y  
    User Responded with: Y  
    Backing up files and inventory (not for auto-rollback) for the Oracle Home  
    Backing up files affected by the patch '8670579' for restore. This might take a while...  
    Backing up files affected by the patch '8670579' for rollback. This might take a while...  
      
    Patching component oracle.network.rsf, 11.2.0.1.0...  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"  
    Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"  
    Copying file to "/u01/11.2.0/grid/lib/libnnz11.so"  
    ApplySession adding interim patch '8670579' to inventory  
      
    Verifying the update...  
    Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.  
    Files check OK: Files from Patch ID 8670579 are present in Oracle Home.  
      
    The local system has been patched.  You can restart Oracle instances on it.  
      
      
    Patching in rolling mode.  
      
      
    The node 'syl2' will be patched next.  
      
      
    Please shutdown Oracle instances running out of this ORACLE_HOME on 'syl2'.  
    (Oracle Home = '/u01/11.2.0/grid')  
      
    Is the node ready for patching? [y|n]  
    y  
    User Responded with: Y  
    Updating nodes 'syl2'   
       Apply-related files are:  
         FP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt"  
         DP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt"  
         MP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/make_cmds.txt"  
         RC = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/remote_cmds.txt"  
      
    Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt" with actual path.  
    Propagating files to remote nodes...  
    Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt" with actual path.  
    Propagating directories to remote nodes...  
      
    The node 'syl2' has been patched.  You can restart Oracle instances on it.  
      
      
    OPatch succeeded.

5、重新执行root.sh     

[root@syl1 ~]# /u01/11.2.0/grid/root.sh  
Running Oracle 11g root.sh script...  
  
The following environment variables are set as:  
    ORACLE_OWNER= grid  
    ORACLE_HOME=  /u01/11.2.0/grid  
  
Enter the full pathname of the local bin directory: [/usr/local/bin]:   
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)   
[n]: y  
   Copying dbhome to /usr/local/bin ...  
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)   
[n]: y  
   Copying oraenv to /usr/local/bin ...  
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)   
[n]: y  
   Copying coraenv to /usr/local/bin ...  
  
Entries will be added to the /etc/oratab file as needed by  
Database Configuration Assistant when a database is created  
Finished running generic part of root.sh script.  
Now product-specific root actions will be performed.  
2015-05-26 14:58:23: Parsing the host name  
2015-05-26 14:58:23: Checking for super user privileges  
2015-05-26 14:58:23: User has super user privileges  
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params  
LOCAL ADD MODE   
Creating OCR keys for user 'root', privgrp 'root'..  
Operation successful.  
  root wallet  
  root wallet cert  
  root cert export  
  peer wallet  
  profile reader wallet  
  pa wallet  
  peer wallet keys  
  pa wallet keys  
  peer cert request  
  pa cert request  
  peer cert  
  pa cert  
  peer root cert TP  
  profile reader root cert TP  
  pa root cert TP  
  peer pa cert TP  
  pa peer cert TP  
  profile reader pa cert TP  
  profile reader peer cert TP  
  peer user cert  
  pa user cert  
Adding daemon to inittab  
CRS-4123: Oracle High Availability Services has been started.  
ohasd is starting  
CRS-2672: Attempting to start 'ora.gipcd' on 'syl1'  
CRS-2672: Attempting to start 'ora.mdnsd' on 'syl1'  
CRS-2676: Start of 'ora.gipcd' on 'syl1' succeeded  
CRS-2676: Start of 'ora.mdnsd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.gpnpd' on 'syl1'  
CRS-2676: Start of 'ora.gpnpd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'syl1'  
CRS-2676: Start of 'ora.cssdmonitor' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.cssd' on 'syl1'  
CRS-2672: Attempting to start 'ora.diskmon' on 'syl1'  
CRS-2676: Start of 'ora.diskmon' on 'syl1' succeeded  
CRS-2676: Start of 'ora.cssd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.ctssd' on 'syl1'  
CRS-2676: Start of 'ora.ctssd' on 'syl1' succeeded  
  
ASM created and started successfully.  
  
DiskGroup OCR_VOTE created successfully.  
  
clscfg: -install mode specified  
Successfully accumulated necessary OCR keys.  
Creating OCR keys for user 'root', privgrp 'root'..  
Operation successful.  
CRS-2672: Attempting to start 'ora.crsd' on 'syl1'  
CRS-2676: Start of 'ora.crsd' on 'syl1' succeeded  
CRS-4256: Updating the profile  
Successful addition of voting disk 09a53580da564f6cbf73f80df1b2fed4.  
Successful addition of voting disk 008f54a53d074f7bbfa9b183f9731505.  
Successful addition of voting disk aae02f43bc7f4f6cbfbd5e8374f0cab6.  
Successfully replaced voting disk group with +OCR_VOTE.  
CRS-4256: Updating the profile  
CRS-4266: Voting file(s) successfully replaced  
##  STATE    File Universal Id                File Name Disk group  
--  -----    -----------------                --------- ---------  
 1. ONLINE   09a53580da564f6cbf73f80df1b2fed4 (/dev/oracleasm/disks/OCR_VOTE3) [OCR_VOTE]  
 2. ONLINE   008f54a53d074f7bbfa9b183f9731505 (/dev/oracleasm/disks/OCR_VOTE2) [OCR_VOTE]  
 3. ONLINE   aae02f43bc7f4f6cbfbd5e8374f0cab6 (/dev/oracleasm/disks/OCR_VOTE1) [OCR_VOTE]  
Located 3 voting disk(s).  
CRS-2673: Attempting to stop 'ora.crsd' on 'syl1'  
CRS-2677: Stop of 'ora.crsd' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.asm' on 'syl1'  
CRS-2677: Stop of 'ora.asm' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.ctssd' on 'syl1'  
CRS-2677: Stop of 'ora.ctssd' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'syl1'  
CRS-2677: Stop of 'ora.cssdmonitor' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.cssd' on 'syl1'  
CRS-2677: Stop of 'ora.cssd' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.gpnpd' on 'syl1'  
CRS-2677: Stop of 'ora.gpnpd' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.gipcd' on 'syl1'  
CRS-2677: Stop of 'ora.gipcd' on 'syl1' succeeded  
CRS-2673: Attempting to stop 'ora.mdnsd' on 'syl1'  
CRS-2677: Stop of 'ora.mdnsd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.mdnsd' on 'syl1'  
CRS-2676: Start of 'ora.mdnsd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.gipcd' on 'syl1'  
CRS-2676: Start of 'ora.gipcd' on 'syl1' succeeded  
CRS-2672: Attempting to start 'ora.gpnpd' on 'syl1'  
CRS-2676: Start of 'ora.gpnpd' on 'syl1' succeeded  
......


  • 再次执行root.sh成功!

    人声去除
    人声去除

    用强大的AI算法将声音从音乐中分离出来

    下载

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
Swift iOS架构设计与MVVM模式实战
Swift iOS架构设计与MVVM模式实战

本专题聚焦 Swift 在 iOS 应用架构设计中的实践,系统讲解 MVVM 模式的核心思想、数据绑定机制、模块拆分策略以及组件化开发方法。内容涵盖网络层封装、状态管理、依赖注入与性能优化技巧。通过完整项目案例,帮助开发者构建结构清晰、可维护性强的 iOS 应用架构体系。

2

2026.03.03

C++高性能网络编程与Reactor模型实践
C++高性能网络编程与Reactor模型实践

本专题围绕 C++ 在高性能网络服务开发中的应用展开,深入讲解 Socket 编程、多路复用机制、Reactor 模型设计原理以及线程池协作策略。内容涵盖 epoll 实现机制、内存管理优化、连接管理策略与高并发场景下的性能调优方法。通过构建高并发网络服务器实战案例,帮助开发者掌握 C++ 在底层系统与网络通信领域的核心技术。

7

2026.03.03

Golang 测试体系与代码质量保障:工程级可靠性建设
Golang 测试体系与代码质量保障:工程级可靠性建设

Go语言测试体系与代码质量保障聚焦于构建工程级可靠性系统。本专题深入解析Go的测试工具链(如go test)、单元测试、集成测试及端到端测试实践,结合代码覆盖率分析、静态代码扫描(如go vet)和动态分析工具,建立全链路质量监控机制。通过自动化测试框架、持续集成(CI)流水线配置及代码审查规范,实现测试用例管理、缺陷追踪与质量门禁控制,确保代码健壮性与可维护性,为高可靠性工程系统提供质量保障。

68

2026.02.28

Golang 工程化架构设计:可维护与可演进系统构建
Golang 工程化架构设计:可维护与可演进系统构建

Go语言工程化架构设计专注于构建高可维护性、可演进的企业级系统。本专题深入探讨Go项目的目录结构设计、模块划分、依赖管理等核心架构原则,涵盖微服务架构、领域驱动设计(DDD)在Go中的实践应用。通过实战案例解析接口抽象、错误处理、配置管理、日志监控等关键工程化技术,帮助开发者掌握构建稳定、可扩展Go应用的最佳实践方法。

59

2026.02.28

Golang 性能分析与运行时机制:构建高性能程序
Golang 性能分析与运行时机制:构建高性能程序

Go语言以其高效的并发模型和优异的性能表现广泛应用于高并发、高性能场景。其运行时机制包括 Goroutine 调度、内存管理、垃圾回收等方面,深入理解这些机制有助于编写更高效稳定的程序。本专题将系统讲解 Golang 的性能分析工具使用、常见性能瓶颈定位及优化策略,并结合实际案例剖析 Go 程序的运行时行为,帮助开发者掌握构建高性能应用的关键技能。

46

2026.02.28

Golang 并发编程模型与工程实践:从语言特性到系统性能
Golang 并发编程模型与工程实践:从语言特性到系统性能

本专题系统讲解 Golang 并发编程模型,从语言级特性出发,深入理解 goroutine、channel 与调度机制。结合工程实践,分析并发设计模式、性能瓶颈与资源控制策略,帮助将并发能力有效转化为稳定、可扩展的系统性能优势。

24

2026.02.27

Golang 高级特性与最佳实践:提升代码艺术
Golang 高级特性与最佳实践:提升代码艺术

本专题深入剖析 Golang 的高级特性与工程级最佳实践,涵盖并发模型、内存管理、接口设计与错误处理策略。通过真实场景与代码对比,引导从“可运行”走向“高质量”,帮助构建高性能、可扩展、易维护的优雅 Go 代码体系。

20

2026.02.27

Golang 测试与调试专题:确保代码可靠性
Golang 测试与调试专题:确保代码可靠性

本专题聚焦 Golang 的测试与调试体系,系统讲解单元测试、表驱动测试、基准测试与覆盖率分析方法,并深入剖析调试工具与常见问题定位思路。通过实践示例,引导建立可验证、可回归的工程习惯,从而持续提升代码可靠性与可维护性。

4

2026.02.27

漫蛙app官网链接入口
漫蛙app官网链接入口

漫蛙App官网提供多条稳定入口,包括 https://manwa.me、https

347

2026.02.27

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
Rust 教程
Rust 教程

共28课时 | 6.5万人学习

【web前端】Node.js快速入门
【web前端】Node.js快速入门

共16课时 | 2.1万人学习

MySQL 初学入门(mosh老师)
MySQL 初学入门(mosh老师)

共3课时 | 0.3万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号