日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪(fǎng)問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

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

發(fā)布時(shí)間:2025/3/20 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ins40401 oracle,安装orace grid infrastructure 提示[INS-40404]问题 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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

今天是2013-12-03,描述一下出現(xiàn)這個(gè)錯(cuò)誤的過(guò)程,我沒(méi)按照正常的方式刪掉 grid infrastructure,而是直接刪掉了安裝目錄,但是并不知道在安裝grid infrastructure的時(shí)候會(huì)做什么隱含的操作,因此在我重新安裝的時(shí)候就出現(xiàn)了如下所示的錯(cuò)誤。

這個(gè)時(shí)候,我嘗試了多種辦法,結(jié)果還是不行(其中包括再次按照正常卸載步驟去操作)。事情往往是這樣的,我們換一個(gè)思維角度往往就會(huì)有一個(gè)新的解決辦法。既然在重新安裝的時(shí)候出現(xiàn)這個(gè)問(wèn)題,那么肯定可以從安裝腳本內(nèi)容去分析是到了那一步才會(huì)提示這個(gè)錯(cuò)誤:

#!/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

上邊為安裝腳本,可以看到正是出現(xiàn)了上邊標(biāo)紅部分才驗(yàn)證不過(guò)去。

至此可以繼續(xù)進(jìn)行安裝。

總結(jié)

以上是生活随笔為你收集整理的ins40401 oracle,安装orace grid infrastructure 提示[INS-40404]问题的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。