grid infrastructure 提示“[INS-40404] The installer has detected a configured instance of oracle grid infrastructure software on the server!

今天是2013-12-03,描述一下出现这个错误的过程,我没按照正常的方式删掉 grid infrastructure,而是直接删掉了安装目录,但是并不知道在安装grid infrastructure的时候会做什么隐含的操作,因此在我重新安装的时候就出现了如下所示的错误。

这个时候,我尝试了多种办法,结果还是不行(其中包括再次按照正常卸载步骤去操作)。事情往往是这样的,我们换一个思维角度往往就会有一个新的解决办法。既然在重新安装的时候出现这个问题,那么肯定可以从安装脚本内容去分析是到了那一步才会提示这个错误:

#!/bin/sh

# The environment variable $SRCHOME cannot be set during the installation

unset SRCHOME

AWK=/bin/awk

SED=/bin/sed

UNAME=/bin/uname

GETCONF=/usr/bin/getconf

BUNDLE=crs

if [ `$UNAME` = "AIX" ]; then

OSLEVEL=/bin/oslevel

UNAME=/bin/uname

CUT=/bin/cut

if [ "hello$IGNOREOSLEVEL" = "hello" ]; then

MAIN_VERSION=`$OSLEVEL -r | $CUT -d"-" -f1`;

MinorVersion1=`$OSLEVEL -r | $CUT -d"-" -f2`;

if [ $MAIN_VERSION -lt "5300" ]; then

echo "nrunInstaller needs minimum oslevel : "5300-05-06"n";

exit 0;

fi

if [ $MAIN_VERSION -eq "5300" ]; then

if [ MinorVersion1 -lt "05" ]; then

echo "nrunInstaller needs minimum oslevel : "5300-05-06"n";

exit 0;

else

if [ $MinorVersion1 -eq "05" ]; then

MinorVersion2=`$OSLEVEL -s | $CUT -d"-" -f3`;

if [ $MinorVersion2 -lt "06" ]; then

echo "nrunInstaller needs minimum oslevel : "5300-05-06"n";

exit 0;

fi

fi

fi

fi

fi

fi

if [ `$UNAME` = "SunOS" ]; then

OCR_LOC=/var/opt/oracle/ocr.loc

else

OCR_LOC=/etc/oracle/ocr.loc

fi

if [ `$UNAME` = "Linux" ]; then

if [ -e $GETCONF ]; then

value=`$GETCONF LONG_BIT`

if [ $value != 64 ]; then

echo ""You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work."";

exit 126; #corresponding to the exit code of oui

fi

fi

fi

LOCALONLY=local_only

LOCAL=TRUE

SILENT=FALSE

CMDDIR=`dirname $0`

if [ "$CMDDIR" = "." ]; then

CMDDIR=`pwd`;

fi

# Replace relative path with fully qualified path.

if [ ! "`echo $CMDDIR|grep '^/'`" ]; then

CMDDIR=`pwd`/$CMDDIR;

fi

if [ x${PATH} != x ]; then

PATH=/usr/bin:/usr/ccs/bin:$PATH:$CMDDIR/install

export PATH

else

PATH=/usr/bin:/usr/ccs/bin:$CMDDIR/install

export PATH

fi

# Determine whether there is an existing CRS or not.

# Local is value of local_only in ocr.loc.

# False means there is an existing CRS installation on the system.

if [ -r $OCR_LOC ]; then

LOCAL=`$AWK -F= /$LOCALONLY/'{print $2}' $OCR_LOC |

$SED 'y/aeflrstu/AEFLRSTU/'`

fi

case "$BUNDLE" in

db)

# One-click: only if there is no cmd line argument and it's not on CRS node

if [ $# -gt 0 -o "$LOCAL" = "FALSE" -o

! -r $CMDDIR/install/oneclick.properties ]; then

$CMDDIR/install/.oui $*

else

$CMDDIR/install/.oui -oneclick

fi

;;

client)

$CMDDIR/install/.oui $* CLUSTER_NODES={}

;;

crs)

$CMDDIR/install/.oui $* -formCluster

;;

dv)

$CMDDIR/install/.oui $* -oneclick

;;

dbbundle)

for arg in "$@"

do

arg=`echo $arg | $SED 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`

if [ "$arg" = "-silent" ]; then

SILENT=TRUE

break

fi

done

if [ "$SILENT" = "TRUE" ]; then

$CMDDIR/install/.oui $*

else

$CMDDIR/install/.oui $* -oneclick -dbbundle

fi

;;

*)

$CMDDIR/install/.oui $*

;;

esac

上边为安装脚本,可以看到正是出现了上边标红部分才验证不过去。

至此可以继续进行安装。

ins40401 oracle,安装orace grid infrastructure 提示[INS-40404]问题相关推荐

  1. Oracle 19.3 Grid Infrastructure 软件安装详细教程

    更多文章,欢迎关注作者公众号,欢迎一起交流. 1 安装环境 CentOS 7.9 Oracle Database 19.3 - Enterprise Edition 2 安装配置 2.1 内存要求 1 ...

  2. oracle 11g RAC Grid Infrastructure

    oracle 11g RAC Grid Infrastructure grid infrastructure 软件介质下载: http://www.oracle.com/technetwork/dat ...

  3. Oracle安装与操作系统用户组

    Oracle软件在安装维护过程中长要和操作用户组(OS user group)打交道,从早前的只有oracle用户和dba组发展到今天11gr2中的grid用户和asm组,Oracle管理的日新月异可 ...

  4. 提示未检测到 oracle,Oracle RAC [INS-40406] 未检测到现有的 Oracle Grid Infrastructure 软件...

    [INS-40406] 未检测到现有的Oracle Grid Infrastructure 软件 问题描述:升级过程中强制中断升级导致的[INS-40406] 报错信息如下 [INS-40406] 安 ...

  5. Oracle 11gR2 RAC 安装Grid Infrastructure错误

    系统环境: 操作系统:RedHat EL5 Cluster: Oracle GI(Grid Infrastructure) Oracle:  Oracle 11.2.0.1.0 如图所示:RAC 系统 ...

  6. Oracle 19c Grid Infrastructure安装

    概述 本文描述在单个主机上(不是RAC)GI 19c的安装. Oracle数据库软件19c已安装,但未创建任何数据库.参见这篇文章. 主机为Oracle Linux 7,主机上已安装先决条件包(ora ...

  7. oracle grid infrastructure 安装,安装Oracle Grid Infrastructure for a Standalone Server

    因为使用asm ,必须要有 css 服务,为了后续的 asm 实验,所以有了这个安装1.创建用户groupadd -g 501 oinstallgroupadd -g 502 dbagroupadd ...

  8. RHEL 7.6 安装oracle database 19c on ASM Part2: Grid Infrastructure配置

    RHEL 7.6 安装oracle database 19c on ASM Part1: 基础环境配置 RHEL 7.6 安装oracle database 19c on ASM Part3: ASM ...

  9. oracle rac重建grid,oracle 11g rac安装之grid报错解决

    1.在rac2节点使用oracleasm找不到共享磁盘 [root@rac2 ~]# oracleasm scandisks Reloading disk partitions: done Clean ...

最新文章

  1. 超简单破解网页加密源代码
  2. linux软中断分析,linux操作系统下的软中断问题分析_linux教程
  3. Rdd没法调用toDF原因
  4. node npm nrm nvm gnvm 相爱相杀
  5. idea tomcat部署web项目_项目开发之部署帆软到Tomcat服务一
  6. linux 内核 丢弃分片包,LINUX内核关于IP分片重组问题请教
  7. java单元测试面试,Java必备!JUnit面试题和答案汇总
  8. 【英语学习】【WOTD】intoxicate 释义/词源/示例
  9. [Java] 蓝桥杯ADV-180 算法提高 陶陶摘苹果2
  10. 拍照识别身份证 Android/iOS身份证识别技术
  11. 教你如何用迅雷下载百度云资源、如何解决百度云大文件下载、限速、下载时网络异常等问题。
  12. STM32 HAL us delay(微秒延时)的指令延时实现方式及优化
  13. 完美解决Java IO流读取中文文本文件乱码问题
  14. android 充话费接口,调用手机话费充值API的SDK编写思路
  15. 数字经济下,银行线上场景化建设的服务颗粒度、用户忠诚度和生态融合度
  16. 【清华夏令营2016模拟5.31】图森破
  17. 漫画:什么是蓝绿部署?
  18. 一篇很好的EDP入门介绍文章——了解AUX,PSR,ASSR 以及EDP版本的差异
  19. 目前最受欢迎的12个Python开源框架,你用过几个?
  20. 锤子官方再曝新手机 暗示坚果Pro采用新后壳

热门文章

  1. python猜密码游戏规则_【python笔记 三 】python脚本实战---数字密码小游戏
  2. 『安全漏洞』Windows 云同步引擎API整数溢出漏洞
  3. C/C++实现快速排序
  4. 160个Crackme033
  5. 24、Java Swing JTabbedPane:选项卡组件
  6. 1.9 Java数组和字符串的相互转换
  7. HDU2028Lowest Common Multiple Plus
  8. 全文索引的使用(MySQL)
  9. Java迭代器Iterator
  10. Tomcat启动窗口