|
唐SIR:
推出来的系统,当emctl有问题的时候,按照课堂的提示:
反复执行emca -config dbcontrol db -repos drop 或者 emca -config dbcontrol db -repos create
再加上删除$ORACLE_HOME下的主机名文件夹。
这2个办法反复折腾,都是没有问题的,无论如何emctl都可以启动的了
但是升级到11.2.0.3以后就不行了,报错(新的$ORACLE_HOME下没有主机名的文件夹了)
此时执行emca -config dbcontrol db -repos drop 或者emca -config dbcontrol db -repos create都是一样的报错:
Enter the following information:
Database SID: orcl
0Aug 1, 2016 10:40:40 AM oracle.sysman.emcp.DatabaseChecks checkDbAvailabilityImpl
WARNING: ORA-01034: ORACLE not available
Aug 1, 2016 10:40:40 AM oracle.sysman.emcp.DatabaseChecks throwDBUnavailableException
SEVERE:
Database instance is unavailable. Fix the ORA error thrown and run EM Configuration Assistant again.
Some of the possible reasons may be :
1) Database may not be up.
2) Database is started setting environment variable ORACLE_HOME with trailing '/'. Reset ORACLE_HOME and bounce the database.
For eg. Database is started setting environment variable ORACLE_HOME=/scratch/db/ . Reset ORACLE_HOME=/scratch/db and bounce the database.
|
|