- Este tópico contém 7 respostas, 3 vozes e foi atualizado pela última vez 16 anos, 6 meses atrás por
ramasine.
-
AutorPosts
-
15 de setembro de 2009 às 11:50 pm #89699
rmaldonado
ParticipanteEstou com o seguinte problema, quando vou iniciar o EM no DBOracle 11g com o seguinte comando, retorna a seguinte mensagem de erro:
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://:%s_oc4jWebsitePort%/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ….ormi port value is erroneous.Alguem já passou por isso e poderia me ajudar???
Grato.16 de setembro de 2009 às 12:42 am #89701vieri
ParticipanteDa uma olhada no LOG do sysman para ver se temos algums erro mais elucidativo.
da um find ai por sysman/log
ele costuma jogar uns traces lá que pode nos contar alguma coisa.
16 de setembro de 2009 às 9:30 pm #89712rmaldonado
Participantena pasta do sysman tem apenas um log chamado emrep_config.log dentro dele tem a seguinte mensagem:
OC4J startup failed
java.io.IOException: File /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_SRVDBORACLE_dbora/config/server.xml does not exist.
at oracle.oc4j.loader.boot.BootConfigurationFactory.initConfigDirectory(BootConfigurationFactory.java:236)
at oracle.oc4j.loader.boot.BootConfigurationFactory.(BootConfigurationFactory.java:65)
at oracle.oc4j.loader.boot.BootConfigurationFactory.create(BootConfigurationFactory.java:57)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:22)
—– Tue Sep 15 16:17:33 2009::omsRecvDir is set? = 1 —–
—– Tue Sep 15 16:17:33 2009::Console Launched with PID 31964 at time Tue Sep 15 16:17:33 2009 —–
ormi port value is erroneous.
OC4J startup failed
java.io.IOException: File /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_SRVDBORACLE_dbora/config/server.xml does not exist.
at oracle.oc4j.loader.boot.BootConfigurationFactory.initConfigDirectory(BootConfigurationFactory.java:236)
at oracle.oc4j.loader.boot.BootConfigurationFactory.(BootConfigurationFactory.java:65)
at oracle.oc4j.loader.boot.BootConfigurationFactory.create(BootConfigurationFactory.java:57)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:22)
—– Wed Sep 16 09:48:14 2009::omsRecvDir is set? = 1 —–
—– Wed Sep 16 09:48:14 2009::Console Launched with PID 4252 at time Wed Sep 16 09:48:14 2009 —–
ormi port value is erroneous.
OC4J startup failed
java.io.IOException: File /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_SRVDBORACLE_dbora/config/server.xml does not exist.
at oracle.oc4j.loader.boot.BootConfigurationFactory.initConfigDirectory(BootConfigurationFactory.java:236)
at oracle.oc4j.loader.boot.BootConfigurationFactory.(BootConfigurationFactory.java:65)desde já agradeço.
17 de setembro de 2009 às 5:24 pm #89740ramasine
ParticipanteCom qual linha de comando vc á subindo o EM?
Achei algo relacionado no Metalink..:
SymptomsEnterprise Manager, Database Control cannot start.
Getting error:
Unable to determine local host from URL
EMD_URL=http://%EM_SERVLET_PORT%/emd/main/Note: in the above error will be the correct hostname for the database host.
dbconsole cannot be started from either the command line, using emctl start dbconsole or using the service.
The file emdb.nohup shows the error:
ormi port value <rmi-server port= is erroneous.
CauseThe file emctl.bat, which gets run to start dbconsole, is missing values for the parameters HOST_SID_OFFSET_ENABLED and CONSOLE_CFG.
These parameters tell emctl that this is a dbconsole install and to use the hostname_sid offset for the configuration files.
When these parameters are blank/empty, emctl looks at the standard locations for the configuration files, i.e. /sysman and /oc4j/j2ee/OC4J_DBCONSOLE. This causes
dbconsole to fail.
SolutionTo implement the solution, please execute the following steps:1.edit the file /bin/emctl.bat and modify the parameters HOST_SID_OFFSET_ENABLED and
CONSOLE_CFG to read:CONSOLE_CFG=dbconsole
HOST_SID_OFFSET_ENABLED=host_sidNOTE: The string ‘host_sid’ should be exactly that string, i.e. do not substitute the hostname and sid of the database. This informs dbconsole to run in a certain mode and is not a pointer to a specific _. To be clear, the line should read:
HOST_SID_OFFSET_ENABLED=host_sid
and NOT, for example,
HOST_SID_OFFSET_ENABLED=myserver.mydomain.com_orcl
17 de setembro de 2009 às 10:06 pm #89760rmaldonado
ParticipanteEstou tentando subir o EM com a seguinte linha de comando: emctl start dbconsole
acabei de verificar o precedimento que você me passou e as configurações do arquivo estão corretas.
abraços.
18 de setembro de 2009 às 2:28 pm #89766ramasine
ParticipanteOlha, dá uma olhada nesse link:
http://forums.oracle.com/forums/thread. … dID=271879
Com o que tem lá vc talvez consiga resolver…
em útimo caso, dropar e recriar o seu repositório.
/bin/ emca -deconfig dbcontrol db -repos drop
/bin/ emca -config dbcontrol db -repos create25 de setembro de 2009 às 4:19 pm #89890rmaldonado
ParticipanteCara consegui resolver atualizando para o DbOracle11g release 2
Agradeço a ajuda.25 de setembro de 2009 às 5:29 pm #89895ramasine
ParticipanteOK!!
Qq coisa disponha!
-
AutorPosts
- Você deve fazer login para responder a este tópico.