어떤 부분이 잘못됬는지 알려주세요
몇일째 접속을 못하고 있습니다.
리스너---
# listener.ora Network Configuration File: C:\oracle11\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oracle11\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\oracle11\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = testdb)(PORT = 1521))
)
)
ADR_BASE_LISTENER = C:\oracle11
tns---
# tnsnames.ora Network Configuration File: C:\oracle11\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
TESTDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = testdb)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = testdb)
)
)
알려주신 후보군 으로 모두 해봐도 toad 에서 db를 찾지 못하고 있습니다.
다음과 같은 에러 메세지가 나옵니다 ㅜㅜ
ORA-12514: TNS:리스너가 현재 접속 기술자에 요청된 서비스를 알지 못함
Items Checked
TNS_ADMIN environment variable is not defined
ORACLE_HOME environment variable is defined as "C:\oracle11\product\11.2.0\dbhome_1"
"C:\oracle11\product\11.2.0\dbhome_1\Network\Admin\tnsnames.ora" was located
The following connect descriptor was found for TESTDB in the tnsnames.ora file
TESTDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = testdb)
)
)
"C:\oracle11\product\11.2.0\dbhome_1\Network\Admin\sqlnet.ora" was located
NAMES.DIRECTORY_PATH specifies TNSNAMES in the sqlnet.ora file
Steps to Take
If the database was just started wait a few moments and try again as the database may be initializing
Verify that the connect descriptor for TESTDB has the correct SERVICE_NAME or SID component in the tnsnames.ora file
Verify that the listener is properly configured and that the database is registered with the listener
Try to ping localhost using the Ping button on the toolbar
Try to TNSPing TESTDB using the TNS Ping button on the toolbar