- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2013-3-25 14:05:38
FYI
root102.sh after applying 10.2.0.4 patchset encounter 'ocrcheck failed' error [ID 743723.1]
Symptoms
After upgrading CRS from 10.2.0.1 to 10.2.0.4 via OUI, running root102.sh, give error:
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
./root102.sh[801]: 18983 Killed
ocrcheck failed. Check /vol2/crs/oracle/product/10.2/srvm/log for more details
Cause
The problem is caused by ulimit stack size is under sized.
During execution of root102.sh, building 64 bit libttsh10.so library, encounter 'out of memory' error from the OS.
Building 64bit libttsh.so
ld +s -G -b -o /vol2/crs/oracle/product/10.2/lib/libttsh10.so -c
....
-lunwind -lnsl -lc -lpthread
Out of Memory.
/vol2/crs/oracle/product/10.2/bin/genagtsh /vol2/crs/oracle/product/10.2/lib/libagtsh.so 1.0
ulimit for root and oracle is undersized:
Using: /usr/bin/ksh -f -c "ulimit -a"
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 206383
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
"Out of memory" indicates undersized memory.
Solution
1. Increase ulimit for both root and oracle to these values.
/home/oracle$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194300
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096
2. Make sure both 'libclntsh.so.10.1' and 'libttsh10.so' has 755 permission and owned by Oracle before you run the installer.
|
|