<分区>
我收到这个错误:
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=oracle2
和 ORACLE_UNQNAME=oracle2
我在这里错过了什么?