3 Replies Latest reply: Jan 2, 2013 5:35 AM by Fabian RSS

    Unable to start dbconsole..

    981853
      I have droped the repo and try to create ... and start the dbconsole.. please see the below error.

      [oracle@test1 ~]$ ORACLE_HOSTNAME=localhost
      [oracle@test1 ~]$ echo $ORACLE_HOSTNAME
      localhost
      [oracle@test1 ~]$ emca -config dbcontrol db -repos create

      STARTED EMCA at Dec 28, 2012 2:48:39 PM
      EM Configuration Assistant, Version 11.1.0.5.0 Production
      Copyright (c) 2003, 2005, Oracle. All rights reserved.

      Enter the following information:
      Database SID: orcl
      Listener port number: 1521
      Password for SYS user:
      Password for DBSNMP user:
      Password for SYSMAN user:
      Password for SYSMAN user: Email address for notifications (optional):
      Outgoing Mail (SMTP) server for notifications (optional):
      -----------------------------------------------------------------

      You have specified the following settings

      Database ORACLE_HOME ................ /u01/app/oracle/product/11.1.0/db_1

      Local hostname ................ localhost
      Listener port number ................ 1521
      Database SID ................ orcl
      Email address for notifications ...............
      Outgoing Mail (SMTP) server for notifications ...............

      -----------------------------------------------------------------
      Do you wish to continue? [yes(Y)/no(N)]:
      Do you wish to continue? [yes(Y)/no(N)]: y
      Dec 28, 2012 2:49:13 PM oracle.sysman.emcp.EMConfig perform
      INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log.
      Dec 28, 2012 2:49:14 PM oracle.sysman.emcp.EMReposConfig createRepository
      INFO: Creating the EM repository (this may take a while) ...
      Dec 28, 2012 2:55:28 PM oracle.sysman.emcp.EMReposConfig invoke
      INFO: Repository successfully created
      Dec 28, 2012 2:56:09 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
      INFO: Uploading configuration data to EM repository (this may take a while) ...
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMReposConfig invoke
      INFO: Uploaded configuration data successfully
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
      SEVERE: Error parsing XML file /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMConfig perform
      SEVERE: Error instantiating OC4J configuration files
      Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log for more details.
      Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log for more details.
      [oracle@test1 ~]$ emctl start dbconsole
      OC4J Configuration issue. /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost_orcl not found.


      and in the log file i see

      SEVERE: Error parsing XML file /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
      CONFIG: Stack Trace:
      java.io.FileNotFoundException: /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at java.io.FileReader.<init>(FileReader.java:41)
      at oracle.sysman.emcp.util.FileUtil.setAttributeInXML(FileUtil.java:1043)
      at oracle.sysman.emcp.EMDBCConfig.instantiateOC4JConfigFiles(EMDBCConfig.java:963)
      at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:397)
      at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:165)
      at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:135)
      at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
      at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
      at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
      at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
      at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
      CONFIG: Failed to set value in server.xml for application-server tag
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMConfig perform
      SEVERE: Error instantiating OC4J configuration files
      Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log for more details.
      Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMConfig perform
      CONFIG: Stack Trace:
      oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
      at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:401)
      at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:165)
      at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:135)
      at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
      at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
      at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
      at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
      at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)


      Can you plesae help me on this..

      Thanks
        • 1. Re: Unable to start dbconsole..
          981853
          HI .. can anyone help me on this please ...
          • 2. Re: Unable to start dbconsole..
            981853
            HI .. am i missing something here.. i do not see any reply ... Can anyone help me on this plz
            • 3. Re: Unable to start dbconsole..
              Fabian
              Hi,
              Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
              SEVERE: Error parsing XML file /u01/app/oracle/product/11.1.0/db_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
              Dec 28, 2012 2:58:57 PM oracle.sysman.emcp.EMConfig perform
              SEVERE: Error instantiating OC4J configuration files
              Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log for more details.
              Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2012_12_28_14_48_39.log for more details.
              The problem can occur if an incomplete installation exists on the server

              Follow the metalink ID 394081.1 for the same

              Regards
              FAbian