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

执行操作:

  1. [root@rac2 ~]# /u01/crs/Oracle/product/10.2.0/crs/bin/crsctl stop crs  
  2. Stopping resources. This could take several minutes.  
  3. [root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/install/root102.sh  
  4. Please shut down the following processes before running this script.  
  5.  4899 ?        00:00:00 ocssd.bin  
  6.  4391 ?        00:00:00 crsd.bin  
  7.  4272 ?        00:00:00 evmd.bin  
  8. [root@rac2 ~]# kill 4899  
  9. [root@rac2 ~]# kill 4391  
  10. [root@rac2 ~]# kill 4272  
  11. [root@rac2 ~]# /u01/crs/oracle/product/10.2.0/crs/install/root102.sh  
  12. WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root  
  13. WARNING: directory '/u01/crs/oracle/product' is not owned by root  
  14. WARNING: directory '/u01/crs/oracle' is not owned by root  
  15. WARNING: directory '/u01/crs' is not owned by root  
  16. WARNING: directory '/u01' is not owned by root  
  17. Preparing to recopy patched init and RC scripts.  
  18. Recopying init and RC scripts.  
  19. Startup will be queued to init within 30 seconds.  
  20. Starting up the CRS daemons.  
  21. Waiting for the patched CRS daemons to start.  
  22.   This may take a while on some systems.  
  23. .  
  24. .  
  25. .  
  26. .  
  27. .  
  28. .  
  29. .  
  30. 10204 patch successfully applied.  
  31. clscfg: EXISTING configuration version 3 detected.  
  32. clscfg: version 3 is 10G Release 2.  
  33. Successfully accumulated necessary OCR keys.  
  34. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.  
  35. node <nodenumber>: <nodename> <private interconnect name> <hostname>  
  36. node 2: rac2 rac2-priv rac2  
  37. Creating OCR keys for user 'root', privgrp 'root'..  
  38. Operation successful.  
  39. clscfg -upgrade completed successfully  

相关内容