|
snowolf128 发表于 2013-11-28 15:49 ![]()
我打开看过,很长很长的脚本,没有能力去分析干了些啥。
对这个脚本有点儿印象了~这个应该是单instance的时候使用ASM时候需要执行的~RAC环境应该不用~
找到了一个类似的问题~仅供参考
In this Document
Symptoms
Cause
Solution
APPLIES TO:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7
This problem can occur on any platform.
SYMPTOMS
The steps in this note only applies to non-RAC environment. Please do not run localconfig script on RAC systems
While creating a ASM instance it is necessary to have CSS daemon running.
In 10gr1 the CSS daemon is started automatically by the root.sh in the post install step.
In 10gr2 the CSS daemon is started by running "localconfig add" script.
The script hangs and the CSS daemon does not startup completely.
ps -ef | grep d.bin
Shows ocssd.bin running. There is no error in the system log file. The last message is :
CSS completed waiting on dependencies.
But the script still hangs.
CAUSE
The problem is that the css when starting up creates some IPC socket files in the /tmp directory.
If there are files existing there with the same name then we get a permission denied messages and we are unable to start the CSS.
This information was seen in the truss/strace of the ocssd.bin process.
SOLUTION
Removing the files in the folder /var/tmp/.oracle (Solaris & Linux) or /tmp/.oracle (HP-UX & AIX) resolved the issue.
After removing this files we re-ran the localconfig script:
# $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
The $ORACLE_HOME refers to the Oracle rdbms software home from where ASM instance is running. |
|