用Database configration assistant建立数据在89%的时候出错,log如下:Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Please enter repository password: 
************
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
CONFIG: Securing Database Control completed successfully .
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: cmdType: 0
Aug 25, 2008 12:55:03 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Starting Windows service...OracleDBConsoleGTTCMS
Aug 25, 2008 12:55:04 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:55:14 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:55:25 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:55:35 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:55:45 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:55:55 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:05 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:15 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:25 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:35 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:45 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:56:55 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:05 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:15 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:25 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:35 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:45 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:57:55 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:06 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:16 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:26 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:36 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:46 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:58:56 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:06 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:16 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:26 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:36 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:46 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 12:59:56 AM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleGTTCMS' to fully start
Aug 25, 2008 1:00:06 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at E:\app\Administrator\cfgtoollogs\dbca\GTTCMS\emConfig.log for more details.
Aug 25, 2008 1:00:06 AM 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:869)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:250)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:213)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:235)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
at java.lang.Thread.run(Thread.java:595)
Aug 25, 2008 1:00:06 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to E:\app\Administrator\product\11.1.0\db_1\oui

解决方案 »

  1.   

    你不用EM,是建Database Control?
    看看错误的信息,日志位置在E:\app\Administrator\cfgtoollogs\dbca\GTTCMS\emConfig.log 
      

  2.   

    To:vc555 这个错误信息就是emConfig.log 中的啊,不用EM是什么意思?
    谢谢!
      

  3.   

    恩。是我刚才看错了。我不知道建EM时出错的原因是什么。不过你用DBCA建库,可以先不勾选EM,先把库建好再说。
      

  4.   

    To:vc555 你所说的就是不构选config em吗?
      

  5.   

    To:vc555 
    我不勾选EM,数据库是能建立好,构选与否,这个有什么区别呢?麻烦您解答一下,这样会有什么危害吗?
      

  6.   

    昨天有朋友说oracle安装时出错。一看,跟LZ这个情况类似。其实这个错误不用管,你的oracle软件和数据库都已正常安装,不受这个错误影响,都能正常使用。
    而出现这个错误,我发现是监听的问题,估计跟他安装oracle时未插网线有关,后来我重建了一次监听,再用emca新建了EM,一切正常。EM是数据库管理时需要用到,如果做数据库开发,大概也不会经常用到这个工具吧。
      

  7.   

    这个是因为你的服务中的oracleDbConsole%orasid%没有正常启动
      

  8.   

    To:wumingdlz
    如何启动啊,如何避免这个问题