Oracle 11G EM无法在Windows 7上运行

时间:2011-05-30 17:14:38

标签: oracle11gr2

我在Windows 7旗舰版64位计算机上安装了oracle 11G第2版,但我无法运行它们。当我登录时,它会生成一个错误'内部错误已发布检查日志文件以获取详细信息'以下我已观察到:

  1. 服务ORACLEDBConsoleorcl尚未开始。
  2. 当我执行emctl start dnconsole时,它给出了一个错误“发生特定服务错误:2”,然后“输入NET HELPMSG可获得更多帮助”
  3. 安装数据库配置助手发出警告“启动数据库控制时出错。请执行以下命令

    • 将环境变量ORACLE_UNQNAME设置为数据库唯一名称
    • c:\app\henry\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole
  4. 以下是enoms

  5. 的详细信息
    2011-05-30 13:05:05,601 [EMUI_13_05_05_/console/database/instance/sitemap] ERROR perf.sitemap initializeGeneral.580 - Failed to initialize object: ORA-20206: 
    ORA-06512: at "SYSMAN.EMD_DATABASE", line 1297
    ORA-01403: no data found
    ORA-06512: at line 1
    
    2011-05-30 13:05:05,788 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.344 - java.lang.NullPointerException
    java.lang.NullPointerException
        at oracle.sysman.emSDK.emd.comm.EMDClient.getURL(EMDClient.java:1570)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1266)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1242)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1689)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:981)
        at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:340)
        at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:154)
        at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416)
        at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605)
        at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325)
        at java.lang.Thread.run(Thread.java:595)
    2011-05-30 13:05:05,788 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.344 - java.lang.NullPointerException
    java.lang.NullPointerException
        at oracle.sysman.emSDK.emd.comm.EMDClient.getURL(EMDClient.java:1570)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1266)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1242)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1689)
        at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:981)
        at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:340)
        at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:154)
        at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416)
        at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605)
        at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325)
        at java.lang.Thread.run(Thread.java:595)
    2011-05-30 13:05:05,788 [EMUI_13_05_05_/console/database/instance/sitemap] ERROR perf.sitemap initializeFromAgent.1047 - java.lang.NullPointerException
    java.lang.NullPointerException
        at oracle.sysman.emSDK.emd.dtd.ValueRow.getNumValue(ValueRow.java:330)
        at oracle.sysman.emSDK.emd.dtd.ValueRow.getNumValue(ValueRow.java:366)
        at oracle.sysman.emo.smap.DBInstanceInitializer.initializeFromAgent(DBInstanceInitializer.java:998)
        at oracle.sysman.emo.smap.DBInstanceInitializer.initialize(DBInstanceInitializer.java:395)
        at oracle.sysman.emo.smap.DBInstance.init(DBInstance.java:643)
        at oracle.sysman.db.adm.inst.SitemapController.getBean(SitemapController.java:3570)
        at oracle.sysman.db.adm.inst.SitemapController.getInstanceBean(SitemapController.java:2963)
        at oracle.sysman.db.adm.inst.SitemapController.logFeatureUsageHomePage(SitemapController.java:6384)
        at oracle.sysman.db.adm.inst.SitemapController.onDoLoad(SitemapController.java:3058)
        at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1306)
        at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
        at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
        at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
        at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
        at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
        at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
        at oracle.sysman.eml.app.Console.doGet(Console.java:319)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
        at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
    2011-05-30 13:05:05,803 [EMUI_13_05_05_/console/database/instance/sitemap] ERROR svlt.PageHandler handleRequest.639 - java.lang.NullPointerException
    java.lang.NullPointerException
        at oracle.sysman.util.jdk.VersionUtil.compareVersion(VersionUtil.java:63)
        at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1355)
        at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1391)
        at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
        at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:235)
        at oracle.sysman.db.adm.BaseController.handleRequest(BaseController.java:1238)
        at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:139)
        at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
        at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
        at oracle.sysman.eml.app.Console.doGet(Console.java:319)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:208)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
        at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
        at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
    
    

1 个答案:

答案 0 :(得分:0)

您可能没有设置Windows 7以允许Oracle在安装之前运行没有问题(打开端口,禁用UAC,安装JDK等)。

此博客文章详细解释了安装过程Oracle 11gR2 on Windows 7。完成所有Windows 7配置步骤,然后使用11.2.0.3再次尝试安装。