Local에서 Test를 해야되서 깔아서 사용중인데요..
TNS : 리스너가 현재 접속 기술자에 요청된 서비스를 알지 못합니다.
라고 뜨더라구요..
찾아보니 .ora의 문제라고 하는데요.. Host도 잘 써줬고 . .. Port 도 잘 확인했는데 SID = Gw 으로 잘 설정도 해주었구요..
뭐가 문제인지 모르겠습니다..
.ora 세개를올려드리겠습니다.
tnsnames.ora
# Generated by Oracle configuration tools.
GW =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Gw)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
==============================================================
listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = Gw)
(ORACLE_HOME = c:\app\Administrator\product\11.2.0\dbhome_1)
(ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)
ADR_BASE_LISTENER = c:\app\Administrator
==========================================================
sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
==============================================================
이렇게 세가지 인데요.. 어느게 잘모되었는지 알수있을까요..ㅠ
|