热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

安装11.2.0.1的GRID报错

GRID软件已安装成功,但是到了最后一步shroot.sh时报错了。[root@rac1~]#u01app11.2.0gridcrsinstallroothas.pl-decon
GRID软件已安装成功,但是到了最后一步sh root.sh时报错了。[root@rac1 ~]# /u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
2016-07-06 06:44:10: Checking for super user privileges
2016-07-06 06:44:10: User has super user privileges
2016-07-06 06:44:10: Parsing the host name
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
You must kill ohasd processes or reboot the system to properly 
cleanup the processes started by Oracle clusterware
ACFS-9200: Supported
acfsroot: ACFS-9313: No ADVM/ACFS installation detected.
Either /etc/oracle/olr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
/bin/dd: opening `': No such file or directory
Successfully deconfigured Oracle Restart stack
====================================================
root@rac1 ~]# sh /u01/app/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/app/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.
2016-07-06 06:45:58: Parsing the host name
2016-07-06 06:45:58: Checking for super user privileges
2016-07-06 06:45:58: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2500: Cannot stop resource 'ora.asm' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
Stop of resource "ora.asm -init" failed
Failed to stop ASM
CRS-2500: Cannot stop resource 'ora.ctssd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.ctssd -init
Stop of resource "ora.ctssd -init" failed
Failed to stop OCTSSD
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
Initial cluster configuration failed.  See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_rac1.log for details
=========================日志

2016-07-06 06:46:01: Registering ohasd
2016-07-06 06:46:01: init file = /u01/app/11.2.0/grid/crs/init/init.ohasd
2016-07-06 06:46:01: Copying file /u01/app/11.2.0/grid/crs/init/init.ohasd to /etc/init.d directory
2016-07-06 06:46:01: Setting init.ohasd permission in /etc/init.d directory
2016-07-06 06:46:01: init file = /u01/app/11.2.0/grid/crs/init/ohasd
2016-07-06 06:46:01: Copying file /u01/app/11.2.0/grid/crs/init/ohasd to /etc/init.d directory
2016-07-06 06:46:01: Setting ohasd permission in /etc/init.d directory
2016-07-06 06:46:01: Removing "/etc/rc.d/rc3.d/S96ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc3.d/S96ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc3.d/S96ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc5.d/S96ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc5.d/S96ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc5.d/S96ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc0.d/K19ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc0.d/K19ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc0.d/K19ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc0.d/K19ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc1.d/K19ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc1.d/K19ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc1.d/K19ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc1.d/K19ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc2.d/K19ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc2.d/K19ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc2.d/K19ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc4.d/K19ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc4.d/K19ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc4.d/K19ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc4.d/K19ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: Removing "/etc/rc.d/rc6.d/K19ohasd"
2016-07-06 06:46:01: Removing file /etc/rc.d/rc6.d/K19ohasd
2016-07-06 06:46:01: Failure with return code 1 from command rm /etc/rc.d/rc6.d/K19ohasd
2016-07-06 06:46:01: Failed to remove file: 
2016-07-06 06:46:01: Creating a link "/etc/rc.d/rc6.d/K19ohasd" pointing to /etc/init.d/ohasd
2016-07-06 06:46:01: The file ohasd has been successfully linked to the RC directories
2016-07-06 06:46:01: Starting ohasd
2016-07-06 06:46:01: itab entries=
2016-07-06 06:46:06: Created backup /etc/inittab.no_crs
2016-07-06 06:46:06: Appending to /etc/inittab.tmp:
2016-07-06 06:46:06: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 
2016-07-06 06:46:06: Done updating /etc/inittab.tmp
2016-07-06 06:46:06: Saved /etc/inittab.crs
2016-07-06 06:46:06: Installed new /etc/inittab
2016-07-06 06:46:11: ohasd is starting
2016-07-06 06:46:11: Checking ohasd
2016-07-06 06:46:12: ohasd started successfully
2016-07-06 06:46:12: Creating CRS resources and dependencies
2016-07-06 06:46:12: Configuring HASD
。。。。。
2016-07-06 06:47:17: Stop of resource "ora.crsd -init" failed
2016-07-06 06:47:17: Failed to stop CRSD
2016-07-06 06:47:17: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2016-07-06 06:47:17: Stop of resource "ora.asm -init" failed
2016-07-06 06:47:17: Failed to stop ASM
2016-07-06 06:47:17: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.ctssd -init
2016-07-06 06:47:17: Stop of resource "ora.ctssd -init" failed
2016-07-06 06:47:17: Failed to stop OCTSSD
2016-07-06 06:47:30: Initial cluster configuration failed.  See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_rac1.log for details

2 个解决方案

#1


没用相关的权限?

你是用root运行吗

#2


执行root.sh的同时再开个终端执行/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

推荐阅读
  • VScode格式化文档换行或不换行的设置方法
    本文介绍了在VScode中设置格式化文档换行或不换行的方法,包括使用插件和修改settings.json文件的内容。详细步骤为:找到settings.json文件,将其中的代码替换为指定的代码。 ... [详细]
  • Linux重启网络命令实例及关机和重启示例教程
    本文介绍了Linux系统中重启网络命令的实例,以及使用不同方式关机和重启系统的示例教程。包括使用图形界面和控制台访问系统的方法,以及使用shutdown命令进行系统关机和重启的句法和用法。 ... [详细]
  • Java实战之电影在线观看系统的实现
    本文介绍了Java实战之电影在线观看系统的实现过程。首先对项目进行了简述,然后展示了系统的效果图。接着介绍了系统的核心代码,包括后台用户管理控制器、电影管理控制器和前台电影控制器。最后对项目的环境配置和使用的技术进行了说明,包括JSP、Spring、SpringMVC、MyBatis、html、css、JavaScript、JQuery、Ajax、layui和maven等。 ... [详细]
  • CSS3选择器的使用方法详解,提高Web开发效率和精准度
    本文详细介绍了CSS3新增的选择器方法,包括属性选择器的使用。通过CSS3选择器,可以提高Web开发的效率和精准度,使得查找元素更加方便和快捷。同时,本文还对属性选择器的各种用法进行了详细解释,并给出了相应的代码示例。通过学习本文,读者可以更好地掌握CSS3选择器的使用方法,提升自己的Web开发能力。 ... [详细]
  • 本文介绍了一个在线急等问题解决方法,即如何统计数据库中某个字段下的所有数据,并将结果显示在文本框里。作者提到了自己是一个菜鸟,希望能够得到帮助。作者使用的是ACCESS数据库,并且给出了一个例子,希望得到的结果是560。作者还提到自己已经尝试了使用"select sum(字段2) from 表名"的语句,得到的结果是650,但不知道如何得到560。希望能够得到解决方案。 ... [详细]
  • Go Cobra命令行工具入门教程
    本文介绍了Go语言实现的命令行工具Cobra的基本概念、安装方法和入门实践。Cobra被广泛应用于各种项目中,如Kubernetes、Hugo和Github CLI等。通过使用Cobra,我们可以快速创建命令行工具,适用于写测试脚本和各种服务的Admin CLI。文章还通过一个简单的demo演示了Cobra的使用方法。 ... [详细]
  • 本文讨论了如何优化解决hdu 1003 java题目的动态规划方法,通过分析加法规则和最大和的性质,提出了一种优化的思路。具体方法是,当从1加到n为负时,即sum(1,n)sum(n,s),可以继续加法计算。同时,还考虑了两种特殊情况:都是负数的情况和有0的情况。最后,通过使用Scanner类来获取输入数据。 ... [详细]
  • 本文介绍了九度OnlineJudge中的1002题目“Grading”的解决方法。该题目要求设计一个公平的评分过程,将每个考题分配给3个独立的专家,如果他们的评分不一致,则需要请一位裁判做出最终决定。文章详细描述了评分规则,并给出了解决该问题的程序。 ... [详细]
  • 本文介绍了RPC框架Thrift的安装环境变量配置与第一个实例,讲解了RPC的概念以及如何解决跨语言、c++客户端、web服务端、远程调用等需求。Thrift开发方便上手快,性能和稳定性也不错,适合初学者学习和使用。 ... [详细]
  • 本文介绍了在CentOS上安装Python2.7.2的详细步骤,包括下载、解压、编译和安装等操作。同时提供了一些注意事项,以及测试安装是否成功的方法。 ... [详细]
  • 如何查询zone下的表的信息
    本文介绍了如何通过TcaplusDB知识库查询zone下的表的信息。包括请求地址、GET请求参数说明、返回参数说明等内容。通过curl方法发起请求,并提供了请求示例。 ... [详细]
  • 本文介绍了OpenStack的逻辑概念以及其构成简介,包括了软件开源项目、基础设施资源管理平台、三大核心组件等内容。同时还介绍了Horizon(UI模块)等相关信息。 ... [详细]
  • 欢乐的票圈重构之旅——RecyclerView的头尾布局增加
    项目重构的Git地址:https:github.comrazerdpFriendCircletreemain-dev项目同步更新的文集:http:www.jianshu.comno ... [详细]
  • 本文讨论了编写可保护的代码的重要性,包括提高代码的可读性、可调试性和直观性。同时介绍了优化代码的方法,如代码格式化、解释函数和提炼函数等。还提到了一些常见的坏代码味道,如不规范的命名、重复代码、过长的函数和参数列表等。最后,介绍了如何处理数据泥团和进行函数重构,以提高代码质量和可维护性。 ... [详细]
  • Android系统源码分析Zygote和SystemServer启动过程详解
    本文详细解析了Android系统源码中Zygote和SystemServer的启动过程。首先介绍了系统framework层启动的内容,帮助理解四大组件的启动和管理过程。接着介绍了AMS、PMS等系统服务的作用和调用方式。然后详细分析了Zygote的启动过程,解释了Zygote在Android启动过程中的决定作用。最后通过时序图展示了整个过程。 ... [详细]
author-avatar
vipB时代_959
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有