2012-11-01 2 views
2

나는이 오류를 얻고 위해 DBConsole를 시작할 수 없습니다 : 윈도우는 새로운 데이터베이스 인스턴스

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

나는 윈도우 7에 오라클 11g를 설치 및 구성 리스너와 서비스를 성공적으로 제 1 차 데이터베이스 인스턴스 (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

을 변경?

+0

자세한 내용은 이벤트 로그에 있습니까? – DaveHogan

답변

0

환경이 바르게 적용되어 있습니까? 도스 창에서 설정하면 윈도우의 환경 변수 화면에서 설정해야합니다.

관련 문제