Pular para o conteúdo
Visualizando 8 posts - 1 até 8 (de 8 do total)
  • Autor
    Posts
  • #89699
    rmaldonado
    Participante

      Estou 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.

      #89701
      vieri
      Participante

        Da 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.

        #89712
        rmaldonado
        Participante

          na 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.

          #89740
          ramasine
          Participante

            Com 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_sid

            NOTE: 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

            #89760
            rmaldonado
            Participante

              Estou 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.

              #89766
              ramasine
              Participante

                Olha, 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 create

                #89890
                rmaldonado
                Participante

                  Cara consegui resolver atualizando para o DbOracle11g release 2
                  Agradeço a ajuda.

                  #89895
                  ramasine
                  Participante

                    OK!!

                    Qq coisa disponha!

                  Visualizando 8 posts - 1 até 8 (de 8 do total)
                  • Você deve fazer login para responder a este tópico.