reconfig dbconsole can't start

The summary of Troubleshooting the problem about when recreate or reconfigure the dbconsole,the dbconsole can't be started

Problem description
When droping the dbconsole, prompt some folders can't remove
$ emca -deconfig dbcontrol db -repos drop -cluster
 
Apr 27, 2008 11:07:34 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/dbs10g/10.2/cfgtoollogs/emca/BOSSPNGP/emca_2008-04-27_11-06-44-PM.log.
Apr 27, 2008 11:07:36 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Apr 27, 2008 11:07:59 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Apr 27, 2008 11:09:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Apr 27, 2008 11:10:04 PM oracle.sysman.emcp.util.ClusterUtil removeDirsFromCluster
WARNING:  :successful
rm: 0653-609 Cannot remove /oracle/dbs10g/10.2/asterix_BOSSPNGP1.The file access permissions do not allow the specified action. :failed
Apr 27, 2008 11:10:04 PM oracle.sysman.emcp.EMAgentConfig performDeconfiguration
SEVERE: Error de-configuring EM for database BOSSPNGP.
Apr 27, 2008 11:10:04 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error de-configuring EM for database BOSSPNGP.
Refer to the log file at /oracle/dbs10g/10.2/cfgtoollogs/emca/BOSSPNGP/emca_2008-04-27_11-06-44-PM.log for more details.
Could not complete the configuration. Refer to the log file at /oracle/dbs10g/10.2/cfgtoollogs/emca/BOSSPNGP/emca_2008-04-27_11-06-44-PM.log for more details.
When recreating  the dbconsole,the starting process is hang.

INFO: Propagating /oracle/dbs10g/10.2/asterix_BOSSPNGP1 to remote nodes ...
Apr 27, 2008 11:44:54 PM oracle.sysman.emcp.EMAgentConfig deployStateDirs
INFO: Propagating /oracle/dbs10g/10.2/obelix_BOSSPNGP2 to remote nodes ...
Apr 27, 2008 11:46:14 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ... 

Analysis
 Prompt is Cannot remove the folder,when i check the folder,found the folder is null,but when i rename the folder,it remind can't rename the folder, Permission denied.when i check the folder's permission,found the permission is ok,i stop the dbconsole and agent,and then through check the process,found some processes associate with dbconsole are running,but the dbconsole has been stopped.so i think the folder is used by some process prevent from rename the folder and start dbconsole.


Solution
1.Stop the dbconsole and agent on rac1 and rac2
2.kill the dbconsole processes on rac1 and rac2

ps -ef|grep oc4j|grep oracle
ps -df|grep agent|grep oracle
ps -ef|grep java|grep oracle
ps -ef|grep dbconsole|grep oracle
Note: verify before killing if it running from the same oracle home
    3.start the dbconsole wait for 5 min on node1..
    4.check whether the listener is working fine.>lsnrctl status
    4.check the status of dbconsole and agent. >emctl status dbconsole
                                               >emctl status agent
    5.start the dbconsole wait for 5 min on node2,check whether it work fine.
    6.try to connect to the dbconsole by web browser,look at the login web whether is appear.if appear,use user "sysmam" login to the dbconsole,check whether or not it is  working fine.

Note:
If you have any problems when running emca, check the log file under:
ORACLE_HOME/cfgtoollogs/emca//
ORACLE_HOME//sysman/log

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/92530/viewspace-401213/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/92530/viewspace-401213/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值