Oracle RAC升级到10.2.0.4问题记录 root102.sh不能运行
Oracle RAC升级到10.2.0.4问题记录 root102.sh不能运行
在节点二上运行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
评论暂时关闭