oracle rac 升级到10.2.0.4问题记录,root102.sh不能运行

文章详细描述了在节点二上运行root102.sh脚本时遇到的问题,即在运行脚本前需要手动杀死ocssd.bin, crsd.bin, evmd.bin三个进程,否则会导致系统重启。通过编辑/etc/inittab文件注掉相关行,成功解决了这一问题,并完成了crs升级。
在节点二上运行root102.sh脚本时出现问题,只能重新运行,但提示shut down ocssd.bin,crsd.bin,evmd.bin这三个进程,kill后系统重启,无法运行该脚本。
编辑/etc/inittab,注掉以下三行后就可以kill掉ocssd.bin,crsd.bin,evmd.bin这三个进程,这样节点2上的crs升级成功。
#h1:35:respawn:/etc/init.d/init.evmd run >/dev/null 2>&1 </dev/null
#h2:35:respawn:/etc/init.d/init.cssd fatal >/dev/null 2>&1 </dev/null

#h3:35:respawn:/etc/init.d/init.crsd run >/dev/null 2>&1 </dev/null

执行操作:

[root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/bin/crsctl stop crs Stopping resources. This could take several minutes. [root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/install/root102.sh Please shut down the following processes before running this script. 4899 ? 00:00:00 ocssd.bin 4391 ? 00:00:00 crsd.bin 4272 ? 00:00:00 evmd.bin [root@rac2 ~]# kill 4899 [root@rac2 ~]# kill 4391 [root@rac2 ~]# kill 4272 [root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/install/root102.sh WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/crs/oracle/product' is not owned by root WARNING: directory '/u01/crs/oracle' is not owned by root WARNING: directory '/u01/crs' is not owned by root WARNING: directory '/u01' is not owned by root Preparing to recopy patched init and RC scripts. Recopying init and RC scripts. Startup will be queued to init within 30 seconds. Starting up the CRS daemons. Waiting for the patched CRS daemons to start. This may take a while on some systems. . . . . . . . 10204 patch successfully applied. clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node <nodenumber>: <nodename> <private interconnect name> <hostname> node 2: rac2 rac2-priv rac2 Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. clscfg -upgrade completed successfully


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值