Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: win2k: odbc to oracle-db
Thanks a lot for your replies. I'm an absolute beginner with oracle.
Well, acutally I need to prgram an agent under lotus domino that
fetches data from our ERP using an oracle db. Never done anything with
it before.
So I took your advice to heart :-) dug deep into the docs and am some
steps further...
I found out how the listener on the server is configured in LISTENER.ORA. Then I created an TNSNAMES.ORA locally on my win2k box with the Oracle Net Manager. The testing function was successful. I also tried to connect with the SQL*PLUS. That worked too.
Then I created a DSN via the win ODBC-Manager. When I use the test-dialog it dies with the error 12514: "TNS:Listener does not currently know of service requested in connect descriptor"
I will attach the contents of:
- listener.ora (on server) - output of lsnrctl status - tnsnames.ora (on local PC)
tnx, alex
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = semiramis.leonhardlang.at)(PORT = 1521)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) )
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc) (ORACLE_HOME = /opt/oracle/product/9ir2) (PROGRAM = extproc)
(GLOBAL_DBNAME = orcl.semiramis.leonhardlang.at) (ORACLE_HOME = /opt/oracle/product/9ir2) (SID_NAME = orcl)
Alias LISTENER Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production Startdatum 14-JAN-2004 16:32:52 Uptime 182 Tage 22 Std. 46 Min. 1 Sek. Trace-Ebene off Sicherheit OFF SNMP OFF
Parameterdatei des Listener
/opt/oracle/product/9ir2/network/admin/listener.ora
Log-Datei des Listener
/opt/oracle/product/9ir2/network/log/listener.log
Zusammenfassung Listening-Endpunkte...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=semiramis.leonhardlang.at)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services uebersicht...
Dienst "PLSExtProc" hat 1 Instanz(en).
Instanz "PLSExtProc", Status UNKNOWN, hat 1 Handler for diesen
Dienst...
Dienst "orcl.semiramis.leonhardlang.at" hat 2 Instanz(en). Instanz "orcl", Status UNKNOWN, hat 1 Handler for diesen Dienst... Instanz "orcl", Status READY, hat 1 Handler for diesen Dienst...
SEMIRAMIS.LEONHARDLANG.AT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = semiramis.leonhardlang.at) (PORT = 1521))
(SID = orcl) (GLOBAL_NAME = orcl.semiramis.leonhardlang.at))
![]() |
![]() |