oracle11g GI安装失败的回退操作

GI卸载

[grid@rac1 grid_1]$ cd deinstall/

[grid@rac1 deinstall]$ ls

bootstrap.pl  deinstall  deinstall.pl  deinstall.xml  jlib  readme.txt  response  sshUserSetup.sh

[grid@rac1 deinstall]$ ./deinstall

Network Configuration clean config END

---------------------------------------->

The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on  the local node after the execution completes on all the remote nodes.

按照步骤在二节点执行脚本

Run the following command as the root user or the administrator on node "rac2".

/tmp/deinstall2022-08-14_07-13-25PM/perl/bin/perl -I/tmp/deinstall2022-08-14_07-13-25PM/perl/lib -I/tmp/deinstall2022-08-14_07-13-25PM/crs/install /tmp/deinstall2022-08-14_07-13-25PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp" --执行脚本期间每一步按回车就可以

按照步骤在一节点执行脚本

Run the following command as the root user or the administrator on node "rac1".

/tmp/deinstall2022-08-14_07-13-25PM/perl/bin/perl -I/tmp/deinstall2022-08-14_07-13-25PM/perl/lib -I/tmp/deinstall2022-08-14_07-13-25PM/crs/install /tmp/deinstall2022-08-14_07-13-25PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode --执行脚本期间每一步按回车就可以

二节点执行

[root@rac2 ~]# /tmp/deinstall2022-08-14_07-13-25PM/perl/bin/perl -I/tmp/deinstall2022-08-14_07-13-25PM/perl/lib -I/tmp/deinstall2022-08-14_07-13-25PM/crs/install /tmp/deinstall2022-08-14_07-13-25PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp"

Using configuration parameter file: /tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp

PRCR-1119 : Failed to look up CRS resources of ora.cluster_vip_net1.type type

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

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2'

CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2'

CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded

CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.cssd' on 'rac2'

CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'

CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'

CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac2' has completed

CRS-4133: Oracle High Availability Services has been stopped.

Successfully deconfigured Oracle clusterware stack on this node

一节点执行

[root@rac1 ~]# /tmp/deinstall2022-08-14_07-13-25PM/perl/bin/perl -I/tmp/deinstall2022-08-14_07-13-25PM/perl/lib -I/tmp/deinstall2022-08-14_07-13-25PM/crs/install /tmp/deinstall2022-08-14_07-13-25PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode

Using configuration parameter file: /tmp/deinstall2022-08-14_07-13-25PM/response/deinstall_Ora11g_gridinfrahome1.rsp

Network exists: 1/192.168.159.0/255.255.255.0/ens33, type static

VIP exists: /rac1-vip/192.168.159.103/192.168.159.0/255.255.255.0/ens33, hosting node rac1

GSD exists

ONS exists: Local port 6100, remote port 6200, EM port 2016

CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'

CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac1'

CRS-2673: Attempting to stop 'ora.oc4j' on 'rac1'

CRS-2673: Attempting to stop 'ora.asm' on 'rac1'

CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded

CRS-2677: Stop of 'ora.oc4j' on 'rac1' succeeded

CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1' has completed

CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded

CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'

CRS-2673: Attempting to stop 'ora.evmd' on 'rac1'

CRS-2673: Attempting to stop 'ora.asm' on 'rac1'

CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded

CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded

CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'

CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded

CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded

CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'

CRS-2677: Stop of 'ora.cssd' 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-4611: Successful deletion of voting disk +CRS.

ASM de-configuration trace file location: /tmp/deinstall2022-08-14_07-13-25PM/logs/asmcadc_clean2022-08-14_07-18-52-PM.log

ASM Clean Configuration START

ASM Clean Configuration END

ASM with SID +ASM1 deleted successfully. Check /tmp/deinstall2022-08-14_07-13-25PM/logs/asmcadc_clean2022-08-14_07-18-52-PM.log for details.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1'

CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'

CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'

CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac1' succeeded

CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded

CRS-2677: Stop of 'ora.ctssd' 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.crf' on 'rac1'

CRS-2677: Stop of 'ora.crf' 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.gpnpd' on 'rac1'

CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac1' has completed

CRS-4133: Oracle High Availability Services has been stopped.

Successfully deconfigured Oracle clusterware stack on this node

执行脚本完成后再卸载程序点击回车

Press Enter after you finish running the above commands

####################### CLEAN OPERATION SUMMARY #######################

ASM instance was de-configured successfully from the Oracle home

Oracle Clusterware is stopped and successfully de-configured on node "rac1"

Oracle Clusterware is stopped and successfully de-configured on node "rac2"

Oracle Clusterware is stopped and de-configured successfully.

Oracle Universal Installer cleanup completed with errors.

Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'rac1' at the end of the session.

Run 'rm -rf /etc/oratab' as root on node(s) 'rac1' at the end of the session.

Oracle deinstall tool successfully cleaned up temporary directories.

#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

清空磁盘头

[root@rac1 ~]# ll -al /dev/sd*

brw-rw---- 1 root disk     8,  0 Aug 14 17:33 /dev/sda

brw-rw---- 1 root disk     8,  1 Aug 14 17:33 /dev/sda1

brw-rw---- 1 root disk     8,  2 Aug 14 17:33 /dev/sda2

brw-rw---- 1 grid asmadmin 8, 16 Aug 14 19:19 /dev/sdb

brw-rw---- 1 grid asmadmin 8, 32 Aug 14 19:19 /dev/sdc

brw-rw---- 1 grid asmadmin 8, 48 Aug 14 19:19 /dev/sdd

brw-rw---- 1 grid asmadmin 8, 64 Aug 14 19:19 /dev/sde

brw-rw---- 1 grid asmadmin 8, 80 Aug 14 19:19 /dev/sdf

[root@rac1 ~]# dd if=/dev/zero of=/dev/sdb bs=512K count=20

20+0 records in

20+0 records out

10485760 bytes (10 MB) copied, 0.0119188 s, 880 MB/s

[root@rac1 ~]# dd if=/dev/zero of=/dev/sdc bs=512K count=20

20+0 records in

20+0 records out

10485760 bytes (10 MB) copied, 0.00998202 s, 1.1 GB/s

[root@rac1 ~]# dd if=/dev/zero of=/dev/sdd bs=512K count=20

20+0 records in

20+0 records out

10485760 bytes (10 MB) copied, 0.00990024 s, 1.1 GB/s

[root@rac1 ~]# dd if=/dev/zero of=/dev/sde bs=512K count=20

20+0 records in

20+0 records out

10485760 bytes (10 MB) copied, 0.00735018 s, 1.4 GB/s

[root@rac1 ~]# dd if=/dev/zero of=/dev/sdf bs=512K count=20

20+0 records in

20+0 records out

10485760 bytes (10 MB) copied, 0.0073563 s, 1.4 GB/s

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
### 回答1: 可能是以下原因导致的: 1. 操作系统版本不兼容:Oracle 11g只支持特定版本的操作系统,如果您的操作系统版本不符合要求,安装程序会提示失败。 2. 硬件配置不足:Oracle 11g需要较高的硬件配置才能正常运行,如果您的计算机配置不足,安装程序会提示失败。 3. 系统环境变量设置不正确:Oracle 11g需要正确的系统环境变量设置才能正常运行,如果您的系统环境变量设置不正确,安装程序会提示失败。 4. 安装程序损坏:如果您的安装程序损坏或不完整,安装程序会提示失败。 建议您检查以上原因,尝试解决问题后重新运行安装程序。如果问题仍然存在,建议您联系Oracle官方技术支持。 ### 回答2: 在安装Oracle 11g之前,需要满足一些先决条件。如果先决条件检查失败,可能是由于以下原因: 1. 操作系统版本不受支持:Oracle 11g仅支持特定版本的操作系统。请确保你使用的操作系统版本与Oracle 11g的要求相符合。 2. 硬件要求不满足:Oracle 11g对硬件需求比较高,包括处理器、内存和磁盘空间等。请确保你的计算机硬件满足Oracle 11g的要求。 3. 软件依赖关系:Oracle 11g依赖于一些其他软件包,如Java Development Kit(JDK)和某些操作系统组件。请确保这些软件包已经正确安装并配置。 4. 系统设置不正确:有些先决条件涉及到操作系统的设置,如内核参数和文件系统权限等。请确保这些设置已经正确配置。 解决这个问题,你可以按照以下步骤进行操作: 1. 检查操作系统版本:确保你使用的操作系统版本与Oracle 11g的要求相符合。如果不匹配,你可能需要升级或更换操作系统。 2. 检查硬件要求:查看Oracle 11g的硬件要求,并检查你的计算机是否满足这些要求。如果不满足,你可能需要升级计算机硬件。 3. 安装必要的软件包:根据Oracle 11g的要求,安装必要的软件包。例如,安装JDK并配置它作为系统的默认Java环境。 4. 检查系统设置:确保操作系统的设置正确。例如,检查内核参数是否设置正确,检查文件系统权限是否允许Oracle 11g安装程序访问所需的文件和目录。 通过按照这些步骤操作,你应该能够解决Oracle 11g安装先决条件检查失败的问题,从而成功安装Oracle 11g数据库。如果仍然遇到问题,建议查看Oracle 11g的官方文档或联系Oracle技术支持获取进一步的帮助。 ### 回答3: 在安装Oracle11g之前,需要检查一些先决条件以确保系统满足安装要求。如果先决条件检查失败,可能有以下几个原因。 首先,操作系统版本不兼容。Oracle11g只支持一些特定的操作系统版本,如Windows Server 2008、Windows 7或更高版本等。如果操作系统版本过低或不符合要求,安装前检查就会失败。 其次,硬件要求不满足。Oracle11g需要一定的计算资源和存储空间。如果系统的处理器、内存和磁盘空间不足,则安装前的检查会失败。需要确保系统满足最低硬件要求,并为Oracle安装分配足够的资源。 另外,可能是系统缺少必需的软件。Oracle11g安装前会检查是否缺少某些软件或软件版本过低。例如,系统需要安装最新的版Java Development Kit (JDK)、Microsoft .NET Framework等依赖软件。在安装之前,需要确保这些软件已经安装并满足版本要求。 最后,可能是权限不足导致的。安装Oracle11g需要管理员权限才能进行,如果当前用户没有足够的权限,则先决条件检查会失败。需要以管理员身份登录系统并重新运行安装程序。 综上所述,当出现Oracle11g安装先决条件检查失败的情况时,需要确认操作系统版本是否兼容、硬件是否满足、必需软件是否已安装并且权限是否足够。根据具体情况解决这些问题,才能成功安装Oracle11g

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

森森淼淼丶

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值