Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No connection could be made because the target machine actively refused it

user618560Feb 5 2008 — edited Mar 3 2010
I've installed the enterprise version on a xp pro laptop with sp2. I have DHCP, so installed the loopback adaptor as mentioned in the installation.

The Oracle install had a severe error (pasted below). After reading the suggestions by Madrid, I performed the following (http://madrid9999.googlepages.com/emtroubleshooting)
set oracle_sid=YourInstanceName
emctl stop dbconsole
emca -deconfig dbcontrol db
emca -repos recreate
emca -config dbcontrol db

After the error I then started it manually:
C:\>emctl status dbconsole >> Oracle Enterprise Manager 10g is not running.
C:\>emctl start dbconsole >> Starting Oracle Enterprise Manager 10g Database Control ...The requested service has already been started.
C:\>emctl stop dbconsole
C:\>emctl start dbconsole >> Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleor
cl service is starting..........................................................
................................................................................
..........................................................
The OracleDBConsoleorcl service was started successfully.

This start takes about 8 minutes. Unfortunately when bringing up http://us116006.ad.loa.loatw.net:1158/em nothing pops up and eventually it times out.

Below are some log excerpts. Two things I don't know why I get them:
No connection could be made because the target machine actively refused it
and
Hang detected for DBConsole
(which is probably a result of the above)

I have disabled MS Firewall for the time being since I thought it might have something to do with the active refusal mentioned above.

Any help would be very appreciated.

Chris







from emca_2008-02-04_10-30-26-PM.log file
+++++++++++++++++++++++++++++++++++++++++


Feb 4, 2008 10:36:22 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2008-02-04_10-30-26-PM.log for more details.
Feb 4, 2008 10:36:22 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:569)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:181)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:150)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)







from emdb.nohup file
++++++++++++++++++++

----- Tue Feb 5 10:21:16 2008::Restarting DBConsole. -----
launchprocess::Launching process : C:\oracle\product\10.2.0\db_1\jdk/bin/java -server -Xmx256M -XX:MaxPermSize=96m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -DORACLE_HOME=C:\oracle\product\10.2.0\db_1 -Doracle.home=C:\oracle\product\10.2.0\db_1/oc4j -Doracle.oc4j.localhome=C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl/sysman -DEMSTATE=C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl -Doracle.j2ee.dont.use.memory.archive=true -Djava.protocol.handler.pkgs=HTTPClient -Doracle.security.jazn.config=C:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_us116006.ad.loa.loatw.net_orcl/config/jazn.xml -Djava.security.policy=C:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_us116006.ad.loa.loatw.net_orcl/config/java2.policy -Djava.security.properties=C:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/config/jazn.security.props -DEMDROOT=C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl -Dsysman.md5password=true -Drepapi.oracle.home=C:\oracle\product\10.2.0\db_1 -Ddisable.checkForUpdate=true -Djava.awt.headless=true -jar C:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/oc4j.jar -config C:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_us116006.ad.loa.loatw.net_orcl/config/server.xml
launchprocess::Launched process successfuly. Process Id is : 14300
----- Tue Feb 5 10:21:17 2008::Console Launched with PID 14300 at time Tue Feb 5 10:21:17 2008 -----
----- Tue Feb 5 10:29:19 2008::Hang detected for DBConsole : 14300 -----
----- Tue Feb 5 10:29:19 2008::Debugging component DBConsole -----
----- Attempting to kill DBConsole : 14300 -----
----- Attempting to dump threads for 14300 -----
----- Attempting to dump threads for 14300 -----
----- Tue Feb 5 10:29:39 2008::Process with pid 14300 not found. Checking for file C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl/sysman/log/exitStatus_dbconsole -----
----- Tue Feb 5 10:29:39 2008::Exitfile C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl/sysman/log/exitStatus_dbconsole not found. Signaling abnormal exit -----
----- Tue Feb 5 10:29:39 2008::DBConsole exited at Tue Feb 5 10:29:39 2008 with signal 99 -----
----- Tue Feb 5 10:29:39 2008::DBConsole has exited due to an internal error -----
----- Tue Feb 5 10:29:39 2008:: - checking for corefile at C:\oracle\product\10.2.0\db_1\us116006.ad.loa.loatw.net_orcl/sysman/emd -----
----- Tue Feb 5 10:29:39 2008::DBConsole is Thrashing. Exiting loop. -----
Tue Feb 5 10:29:39 2008::EMWD Stopping EMAgent
----- Tue Feb 5 10:29:43 2008::Commiting Process death. -----
----- Tue Feb 5 10:29:43 2008::Exited due to Thrash. -----




from emagent.trc file
+++++++++++++++++++++

2008-02-05 10:20:57 Thread-11240 ERROR http: 1424: snmehl_read: error on read: An existing connection was forcibly closed by the remote host.

(error = 10054)
2008-02-05 10:20:57 Thread-13124 ERROR command: nmejcn: error receiving response headers from http://us116006.ad.loa.loatw.net:1158/em/upload/
2008-02-05 10:20:57 Thread-11240 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:20:58 Thread-11240 WARN http: snmehl_connect: connect failed to (us116006.ad.loa.loatw.net:1158): No connection could be made because the target machine actively refused it.

(error = 10061)
2008-02-05 10:20:58 Thread-11240 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://us116006.ad.loa.loatw.net:1158/em/upload/: retStatus=-1
2008-02-05 10:21:31 Thread-13392 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2008-02-05 10:21:58 Thread-12396 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:22:28 Thread-12396 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:23:28 Thread-13116 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:23:58 Thread-13116 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:24:58 Thread-13108 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:25:28 Thread-13108 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:25:53 Thread-9120 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2008-02-05 10:26:28 Thread-10564 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:26:58 Thread-10564 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:27:58 Thread-11968 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:27:58 Thread-12612 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
2008-02-05 10:28:28 Thread-11968 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:29:19 Thread-13124 ERROR http: 1096: snmehl_read: error on read: An existing connection was forcibly closed by the remote host.

(error = 10054)
2008-02-05 10:29:19 Thread-12196 ERROR http: 1904: snmehl_read: error on read: An existing connection was forcibly closed by the remote host.

(error = 10054)
2008-02-05 10:29:19 Thread-13124 ERROR command: nmejcn: error receiving response headers from http://us116006.ad.loa.loatw.net:1158/em/upload/
2008-02-05 10:29:19 Thread-12196 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
2008-02-05 10:29:20 Thread-12196 WARN http: snmehl_connect: connect failed to (us116006.ad.loa.loatw.net:1158): No connection could be made because the target machine actively refused it.

(error = 10061)
2008-02-05 10:29:20 Thread-12196 ERROR pingManager: nmepm_pingReposURL: Cannot connect to http://us116006.ad.loa.loatw.net:1158/em/upload/: retStatus=-1
2008-02-05 10:29:39 Thread-13144 WARN http: 260,-1: nmehl_httpListener: signaled to exit from emctl
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2010
Added on Feb 5 2008
8 comments
9,588 views