重启ebs应用时在执行adoacorectl.sh脚本时hang住
Cause
oacore hang住的情况,一般出现在OS crash,reboot,或者重启服务时
主要是因为在oacore启动之前,文件$COMMON_TOP/cacheLock存在,导致线程锁住
Solution
参考:Oacore Service Hanging at Startup (文档 ID 1298003.1)
Remove $COMMON_TOP/cacheLock file which is a 0 bytes file created at startup time
1. cd $COMMON_TOP
2. rm cacheLock
3. Start oacore using
$ADMIN_SCRIPTS_TOP/adoacorectl.sh start