重庆思庄Oracle、Redhat认证学习论坛

标题: DBConsole Not starting: An instance of Oracle Enterprise Manager Database Con... [打印本页]

作者: 郑全    时间: 2019-1-31 14:14
标题: DBConsole Not starting: An instance of Oracle Enterprise Manager Database Con...
DBConsole Not starting: An instance of Oracle Enterprise Manager Database Control is already running (文档 ID 1401794.1)


Applies to:  
Enterprise Manager for Oracle Database - Version 10.2.0.4 to 11.1.0.7 [Release 10.2 to 11.1]

Information in this document applies to any platform.

Symptoms
Attempting to start the DBConsole fails with:
- An instance of Oracle Enterprise Manager Database Control is already running.


Issuing emctl stop dbconsole returns a status saying that it is successfully stopped.


emoms.trc log shows the following:
2012-01-26 07:56:56 Thread-12968 WARN http: snmehl_connect: connect failed to (<MY HOST DOMAIN:PORT>): Connection refused (error = 146)
2012-01-26 07:56:56 Thread-12968 ERROR pingManager: nmepm_pingReposURL: Cannot connect to  <MY HOST DOMAIN:PORT> /em/upload/: retStatus=-32
2012-01-26 07:57:13 Thread-12971 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.


Changes

Cause
Process did not shutdown cleanly form a previous run.
Solution
1) Ensure all dbconsole related processes are not running:
ps -ef | grep dbconsole
ps -ef | grep emagent
Kill <returned pid's above>
If any processes do not terminate within a few seconds, issue this command:
kill -9 <residual, unterminated pid's>



2) Rename/remove the existing pid file: $ORACLE_HOME/<hostname>_<SID>/sysman/emctl.pid



3) Start back the DB Console.








欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2