Oracle集群管理-opatch -unlock报错分析处理1

按照手工修正集群的补丁过程,已经将oralce_home’下资源全部关闭,在执行root unlock过程中发生报错如下:
[root@rac1 install]# ./rootcrs.pl -unlock
Using configuration parameter file: ./crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘rac1’
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.LISTENER.lsnr’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.LISTENER_APP.lsnr’ on ‘rac1’
CRS-2679: Attempting to clean ‘ora.handtask.tjnmmp.svc’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.registry.acfs’ on ‘rac1’
CRS-5017: The resource action “ora.handtask.tjnmmp.svc clean” encountered the following error:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to “(:CLSN00106:)” in “/u01/app/grid/product/11.2.0.4/db_1/log/rac1/agent/crsd/oraagent_oracle//oraagent_oracle.log”.
CRS-5017: The resource action “ora.handtask.tjnmmp.svc check” encountered the following error:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to “(:CLSN00109:)” in “/u01/app/grid/product/11.2.0.4/db_1/log/rac1/agent/crsd/oraagent_oracle//oraagent_oracle.log”.

CRS-2680: Clean of ‘ora.handtask.tjnmmp.svc’ on ‘rac1’ failed
CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ‘rac1’ succeeded
CRS-2677: Stop of ‘ora.LISTENER_APP.lsnr’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.rac1.vip’ on ‘rac1’
CRS-2677: Stop of ‘ora.registry.acfs’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.ORADATA.dg’ on ‘rac1’
CRS-2677: Stop of ‘ora.rac1.vip’ on ‘rac1’ succeeded
CRS-2672: Attempting to start ‘ora.rac1.vip’ on ‘rac2’
CRS-2677: Stop of ‘ora.ORADATA.dg’ on ‘rac1’ succeeded
CRS-2676: Start of ‘ora.rac1.vip’ on ‘rac2’ succeeded
CRS-2677: Stop of ‘ora.DATA.dg’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.asm’ on ‘rac1’
CRS-2677: Stop of ‘ora.asm’ on ‘rac1’ succeeded
CRS-2799: Failed to shut down resource ‘ora.handtask.tjnmmp.svc’ on ‘rac1’
CRS-2794: Shutdown of Cluster Ready Services-managed resources on ‘rac1’ has failed
CRS-5022: Stop of resource “ora.crsd” failed: current state is "UNKNOWN"
CRS-2675: Stop of ‘ora.crsd’ on ‘rac1’ failed
CRS-2799: Failed to shut down resource ‘ora.crsd’ on ‘rac1’
CRS-2795: Shutdown of Oracle High Availability Services-managed resources on ‘rac1’ has failed
CRS-4687: Shutdown command has completed with errors.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
#You must kill processes or reboot the system to properly #
#cleanup the processes started by Oracle Grid Infrastructure #
################################################################

The Oracle Grid Infrastructure stack failed to stop.
You should stop the stack with ‘crsctl stop crs’ and rerun the command
[root@rac1 install]# su - oracle
[oracle@rac1 ~]$ srvctl start home -o O R A C L E H O M E − s / h o m e / o r a c l e / o r a 2. t x t − n r a c 1 [ o r a c l e @ r a c 1   ] ORACLE_HOME -s /home/oracle/ora2.txt -n rac1 [oracle@rac1 ~] ORACLEHOMEs/home/oracle/ora2.txtnrac1[oracle@rac1 ] srvctl stop service -s tjnmmp -d hantask
PRCD-1120 : The resource for database hantask could not be found.
PRCR-1001 : Resource ora.hantask.db does not exist
尝试 将资源先移除
[oracle@rac1 ~]$ srvctl stop service -s tjnmmp -d handtask
[oracle@rac1 ~]$ srvctl remove service -s tjnmmp -d handtask
[oracle@rac1 ~]$ srvctl stop home -o O R A C L E H O M E − s / h o m e / o r a c l e / o r a 2. t x t − n r a c 1 P R K O − 3244 : T h e − s < s t a t e f i l e > o p t i o n v a l u e " / h o m e / o r a c l e / o r a 2. t x t " a l r e a d y e x i s t s [ o r a c l e @ r a c 1   ] ORACLE_HOME -s /home/oracle/ora2.txt -n rac1 PRKO-3244 : The -s <state_file> option value "/home/oracle/ora2.txt" already exists [oracle@rac1 ~] ORACLEHOMEs/home/oracle/ora2.txtnrac1PRKO3244:Thes<statefile>optionvalue"/home/oracle/ora2.txt"alreadyexists[oracle@rac1 ] rm ora2.txt
[oracle@rac1 ~]$ srvctl stop home -o O R A C L E H O M E − s / h o m e / o r a c l e / o r a 2. t x t − n r a c 1 [ o r a c l e @ r a c 1   ] ORACLE_HOME -s /home/oracle/ora2.txt -n rac1 [oracle@rac1 ~] ORACLEHOMEs/home/oracle/ora2.txtnrac1[oracle@rac1 ] exit
logout
[root@rac1 install]# ./rootcrs.pl -unlock 成功
Using configuration parameter file: ./crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘rac1’
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.LISTENER.lsnr’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.LISTENER_APP.lsnr’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.DATA.dg’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.registry.acfs’ on ‘rac1’
CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ‘rac1’ succeeded
CRS-2677: Stop of ‘ora.LISTENER_APP.lsnr’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.rac1.vip’ on ‘rac1’
CRS-2677: Stop of ‘ora.registry.acfs’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.ORADATA.dg’ on ‘rac1’
CRS-2677: Stop of ‘ora.rac1.vip’ on ‘rac1’ succeeded
CRS-2672: Attempting to start ‘ora.rac1.vip’ on ‘rac2’
CRS-2677: Stop of ‘ora.ORADATA.dg’ on ‘rac1’ succeeded
CRS-2676: Start of ‘ora.rac1.vip’ on ‘rac2’ succeeded
CRS-2677: Stop of ‘ora.DATA.dg’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.asm’ on ‘rac1’
CRS-2677: Stop of ‘ora.asm’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.ons’ on ‘rac1’
CRS-2677: Stop of ‘ora.ons’ on ‘rac1’ succeeded
CRS-2673: Attempting to stop ‘ora.net1.network’ on ‘rac1’
CRS-2677: Stop of ‘ora.net1.network’ 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.mdnsd’ on ‘rac1’
CRS-2673: Attempting to stop ‘ora.drivers.acfs’ on ‘rac1’
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.ctssd’ on ‘rac1’ succeeded
CRS-2677: Stop of ‘ora.mdnsd’ on ‘rac1’ succeeded
CRS-2677: Stop of ‘ora.evmd’ on ‘rac1’ succeeded
CRS-2677: Stop of ‘ora.drivers.acfs’ 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-2673: Attempting to stop ‘ora.cssd’ on ‘rac1’
CRS-2677: Stop of ‘ora.cssd’ 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 unlock /u01/app/grid/product/11.2.0.4/db_1
[root@rac1 install]#

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值