Хотел сделать по FAQ тестовый пример создания database link для excel-файла.
Делаю lsnrctl reload - ок, все проходит.
делаю tnsping EMPXLS - выдает время. То есть тоже все ок.
Делаю tnsping status EMPXLS - пишет ошибку TNS-03505.
И есkи сделать запрос из kинка, то выдаеnся ошибка ORA-28509: unable to establish a connection to non-Oracle system и далее ORA-02063.
listener.ora:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracl)(PORT = 1521))
)
)
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
)
(ADDRESS = (PROTOCOL = TCP)(HOST = oracl)(PORT = 2481))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\oracle)
(SID_NAME = ORCL)
)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = D:\oracle)
(SID_NAME = EMPXLS)
(GLOBAL_DBNAME = EMPXLS)
)
)
tnsnames.ora:
ORCL.TANTIEMA.LOCAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracl)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
)
)
INST1_HTTP.TANTIEMA.LOCAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracl)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = ORCL)
(PRESENTATION = http://admin)
)
)
EXTPROC_CONNECTION_DATA.TANTIEMA.LOCAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
EMPXLS.TANTIEMA.LOCAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <ipaddress>)(PORT =1521)
))
(CONNECT_DATA =
(SID = EMPXLS))
(HS = OK)
)
initEMPXLS.ora:
HS_FDS_CONNECT_INFO=EMPXLS
HS_DB_DOMAIN=TANTIEMA.LOCAL
HS_DB_NAME=EMPXLS.TANT
что не так?