He intentado reiteradamente realizar la siguiente tareas
C:\> emca -deconfig dbcontrol db -repos drop
Para borrar mi repositorio de EM. Lo reconstruí con
C:\> emca -config dbcontrol db -repos create
o
C:\> emca -config dbcontrol db -repos recreate
Pero al final daba este error
The OracleDBConsoledesa service could not be started.
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.
La solución que encontré fué editar el archive en %ORACLE_HOME%\HOSTNAME_SID\LOG\emdb.nohup, ahí encontré la línea
----- Wed Jul 25 14:53:23
2012::omsRecvDir is set? = 1 -----
----- Wed Jul 25 14:53:23
2012::osname is MSWin32 -----
"isainfo" no se reconoce como un comando interno o
externo,
programa o archivo por lotes ejecutable.
----- Wed Jul 25 14:53:23
2012::heap size used is -1 -----
----- Wed Jul 25 14:53:23
2012::perm size used is -1 -----
----- Wed Jul 25 14:53:23
2012::joptions used are -server -Xmx192M -XX:MaxPermSize=200M -XX:MinHeapFreeRatio=20
-XX:MaxHeapFreeRatio=40 -----
----- Wed Jul 25 14:53:23
2012::Console Launched with PID 6636 at time Wed Jul 25 14:53:23 2012 -----
D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa\sysman\emd>D:\app\oracle\product\11.2.0\dbhome_1\jdk/bin/java
-server -Xmx192M -XX:MaxPermSize=200M -XX:MinHeapFreeRatio=20
-XX:MaxHeapFreeRatio=40
-DORACLE_HOME=D:\app\oracle\product\11.2.0\dbhome_1
-Doracle.home=D:\app\oracle\product\11.2.0\dbhome_1/oc4j -Doracle.oc4j.localhome=D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman
-DEMSTATE=D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa
-Doracle.j2ee.dont.use.memory.archive=true
-Djava.protocol.handler.pkgs=HTTPClient
-Doracle.security.jazn.config=D:\app\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_Servidor_desa/config/jazn.xml
-Djava.security.policy=D:\app\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_Servidor_desa/config/java2.policy
-Djavax.net.ssl.KeyStore=D:\app\oracle\product\11.2.0\dbhome_1/sysman/config/OCMTrustedCerts.txt-Djava.security.properties=D:\app\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/home/config/jazn.security.props
-DEMDROOT=D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa
-Dsysman.md5password=true -Drepapi.oracle.home=D:\app\oracle\product\11.2.0\dbhome_1
-Ddisable.checkForUpdate=true
-Doracle.sysman.ccr.ocmSDK.websvc.keystore=D:\app\oracle\product\11.2.0\dbhome_1/jlib/emocmclnt.ks
-Dice.pilots.html4.ignoreNonGenericFonts=true -Djava.awt.headless=true -jar D:\app\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/home/oc4j.jar
-config
D:\app\oracle\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_Servidor_desa/config/server.xml
----- Wed Jul 25 14:53:23
2012::Property 'agentTZRegion' is
missing from D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties.
This is normal when the agent is started for the very first time.Updating it...
-----
----- Wed Jul 25 14:53:23
2012::D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties
copied to
D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties.2012-07-25-14-53-23
while updating the property
'agentTZRegion' -----
----- Wed Jul 25 14:53:24
2012::An agentTZregion of 'America/Caracas' is installed in
D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties.
-----
----- Wed Jul 25 14:53:26
2012::tzOffset for America/Caracas is -270(min), but agent is runnning with
tzOffset -240(min)
-----
----- Wed Jul 25 14:53:26
2012::trying again after waiting for 1 sec to account for daylight transition
-----
----- Wed Jul 25 14:53:26
2012::tzOffset for America/Caracas is -270(min), but agent is runnning with
tzOffset -240(min)
-----
25-jul-2012 14:23:26
com.evermind.server.XMLApplicationServerConfig randomizeJtaAdminPassword
INFO: Updating JtaAdmin
account
----- Wed Jul 25 14:53:26
2012::Mismatch detected between timezone in env (America/Caracas) and in
D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties
(America/Caracas). Forcing value to latter.. -----
----- Wed Jul 25 14:53:26
2012::The agentTZRegion value in
D:\app\oracle\product\11.2.0\dbhome_1\Servidor_desa/sysman/config/emd.properties
is not in agreement with what agent thinks it should be.Please verify your
environment to make sure that TZ setting has not changed since the last start
of the agent.
If you modified the timezone
setting in the environment, please stop the agent and exectute 'emctl resetTZ
agent' and also execute the script
mgmt_target.set_agent_tzrgn(, ) to get the
value propagated to repository -----
Tenia una direferencia entre la configuracion de mi agente
C:\> emctl config agent getTZ
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
America/Caracas
y la de mi reloj, estaba UTC -04:00 que no coincidia con Caracas, en Windows Cambie a UTC -04:30 que si coincida con Caracas y ya esta.
realice
C:\> emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://Servidor:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoledesa service is starting...............
The OracleDBConsoledesa service was started successfully.