gpt4 book ai didi

Windows 无法为新数据库实例启动 DBConsole

转载 作者:可可西里 更新时间:2023-11-01 10:48:46 25 4
gpt4 key购买 nike

<分区>

我收到这个错误:

Windows could not start the OracleDBConsoleOracleInstance2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1

我在 Windows 7 上安装了 Oracle 11g,并成功创建了我的第一个数据库实例 (oracleInstance1),并配置了监听器和服务。我可以使用 DBconsole URL 访问此数据库:https://localhost:1158/em

我看到服务已启动:

  • OracleDBConsoleOracleInstance1
  • OracleOraDb11g_home1TNSListener
  • OracleServiceOracleInstance1

接下来,我创建了第二个数据库实例 (oracleInstance2) 并为此数据库配置了一项新服务。我正在使用与我打算在任何时间点使用一个数据库实例相同的监听器。

但是,我在配置期间收到此警告消息:

Enterprise manager configuration succeeded with the following warning - Error starting Database Control. Please execute the following command(s).
1. Set the environment variable ORACLE_UNQNAME to Database unique name.
2. C:\Oracle\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole

为了启动新的数据库控制台,我停止了之前运行的 DBConsole OracleDBConsoleOracle1 并启动了新的 DBConsole OracleDBConsoleOracle2 并得到了上述错误。

当我尝试使用 emctl dbconsole start 手动启动 dbconsole 时,它​​改为启动 OracleDBConsoleOracle1。

我更改了环境变量 ORACLE_SID=oracle2ORACLE_UNQNAME=oracle2

我在这里错过了什么?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com