在節點二上運行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