TNS Listener Problem in 8.1.6

Hi,
While trying to connect to Oracle 8.1.6 , installed on local machine (OS Windows NT 4.0), using Oracle's thin JDBC drivers I get the following error :
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12537: TNS:connection closed
My database is running in dedicated mode on the same PC where I am executing this JAVA program.
Any pointer. Any Help will be highly appreciated.
Thanks.
King.

According to Oracle Error Message, action for TNS-12500 is that Check the Listener.ORA is properly been set with the Oracle Environment if not make it and stop and start the Oracle and Listener too. If we faced and we did the above and it was working perfect.

Similar Messages

  • TNS listener problem when migrating access app to oracle

    I am migrating an access 2000 DB and application to oracle 8i. I have done this successfully on my test machine many times. I am working on the customers machine, and the problem is when I go to migrate the access application, it will not connect to oracle b/c of the TNS listener. The workbench tool ask for a username, pwd, and ODBC driver, but there is no place to put the oracle service name. I ran into this problem at home and I appended the service name onto the password with the '@' symbol, which works for oracle anyway. Like this, 'pwd@sname'. It worked at home, but I keep getting an error here that tns could not resolve service name. When migrating the data, there was a field to put the service name in, but not for migrating the application. I have tried variations in the ODBC driver also, but with no luck. Any other ideas?

    Hello,
    Is it possible that odbc driver is nor properly installed? If so you may have to re-instlal the odbc driver. If not try out the following steps:
    * Go to DataSources [On win2k: start -> settings ->control panel ->Adminsitrative tools -> Data Sources (ODBC)]
    * Click Add for the user DSN [say "testDSN"], and select oracle driver here [check if you have oracle 8 driver, if not you may want to install one]
    * In the "Oracle ODBC Driver Configuration" window, give you your oracle databse connection details, click the "Test Connection button", it will ask for username and password, give system's username and password
    * Use this DSN [testDSN] name in the migration work bench
    Thank you and kind regards,
    Srinivas Nandaanam

  • Problems with tns/listener

    Hi,
    i have a question regarding a problem i am experiencing in my development oracle env.
    i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
    We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
    We can connect to oracle 11.2.0.3 but not 11.2.0.1.
    what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
    and sqlplus username/[email protected] connects instantly.
    One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
    this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
    my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
    The error messsage i see in alert logs are
    /*  In alert log */
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
        TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
        Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
        Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
      Time: 14-JUN-2013 14:21:20
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12570
    TNS-12570: TNS:packet reader failure
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (6720) as a result of ORA-609
    /* In listener tarce file */
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
    ** DBGRL Error: Text Alert Log
    ** DBGRL Error: SLERC_OERC, 48180
    ** DBGRL Error: OSD-00001: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      64-bit Windows Error: 53: Unknown error
       TNS-12518: TNS:listener could not hand off client connection
        TNS-12571: TNS:packet writer failure
         TNS-12560: TNS:protocol adapter
    Thanks for the help in advance.
    Srinath

    946544 wrote:
    Hi,
    i have a question regarding a problem i am experiencing in my development oracle env.
    i have 2 instances - oracle 11.2.01 and 11.2.0.3.(windows 2008 enterprise)
    We were able to connect to both instances without any issues. Few days back we started noticing a strange issue.
    We can connect to oracle 11.2.0.3 but not 11.2.0.1.
    what happens is when i type in sqlplus username/[email protected] sqlplus connects after a while. It takes good 1.25 minutes.
    and sqlplus username/[email protected] connects instantly.
    One interesting thing is when i say sqlplus username/password, sqlplus instantly connects to oracle11.2.0.1. Well,
    this is because i have my windows system variable defined oracle_sid=oracle11.2.0.1
    my question is, does anybody know the reason this cna happen? is anybody familiar? it all started happening one fine evening last week.
    The error messsage i see in alert logs are
    /*  In alert log */
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
        TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
        Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
        Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
      Time: 14-JUN-2013 14:21:20
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12570
    TNS-12570: TNS:packet reader failure
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (6720) as a result of ORA-609
    /* In listener tarce file */
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: 11-JUN-2013 16:51:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=FOD-ORADB-DEV$))(SERVICE_NAME=NETLINKII)) * (ADDRESS=(PROTOCOL=tcp)(HOST=128.146.195.86)(PORT=61592)) * establish * NETLINKII * 12560
    ** DBGRL Error: Text Alert Log
    ** DBGRL Error: SLERC_OERC, 48180
    ** DBGRL Error: OSD-00001: additional error information
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ** DBGRL Error: TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
      64-bit Windows Error: 53: Unknown error
       TNS-12518: TNS:listener could not hand off client connection
        TNS-12571: TNS:packet writer failure
         TNS-12560: TNS:protocol adapter
    Thanks for the help in advance.
    Srinath
    by definition, you have two different ORACLE_HOME folders.
    You should be running a single listener from the V11.2.0.3 directory; which depends upon the content of the PATH variable.
    Are the OS Services for both the database & listener started & running now.
    Unfortunately,  the ORA-12560 is somewhat of a catchall error that results from a handful of different causes.

  • ORA-12528: TNS:listener: networking problem...

    Can someone help???
    I am recieving the following error when trying to connect to my asm instance remotely (using password file)
    10gr2 running under Redhat linux
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    I have tried to modify the listener.ora to include sid_name, global_dbname the changes did not help as I was recieving hte same error.
    please find my configs below...
    Any help would be greatly appreciated...
    Thanks in advance.
    Mike.
    tnsnames.ora
    ASM.NY.PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eos)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = +ASM)
    listener.ora
    SID_LIST_LISTENER_EOS =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
    (SID_NAME = +ASM1)
    lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 07-AUG-2006 16:25:55
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.2.0 - Production
    Start Date 30-JUL-2006 10:21:51
    Uptime 8 days 6 hr. 4 min. 4 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /u01/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=eos)(PORT=7787))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status BLOCKED, has 1 handler(s) for this service...

    Thanks for your help, this is what I found out....
    I checked the remote_login_passwordfile and it was set to = exclusive.
    After reviewing the note that you mentioned I did a bit more digging on metalink and found this one Note: 301099.1.
    I modified my tnsnames.ora file (see below) and it resolved my problem. I am not sure exactly what UR=A does, but I will need to check the docs for that.
    ASM.NY.PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = eos)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = +ASM)
    (SID=+ASM1)
    (UR=A)
    mike

  • Problem: ORA-12514, TNS:listener does not currently know of service request

    When I enter a command for an Oracle 10g Express installation I am getting the following error:
    Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
    (c) Copyright 2006 Oracle Corporation. All rights reserved.
    Running IRCA for all product(s):
    connection="localhost 1521 orcl", -overwrite, orabpelUser=ORABPEL, esbUser=ORAESB, orawsmUser=ORAWSM
    ERROR: Failed to establish database connection due to the following error:
    Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl)))
    Please check your connection parameters and try again.
    Hmm, whats wrong?
    Listener status yields:
    D:\db\install\soa_schemas\irca>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:04:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS des LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Startdate 10-FEB-2008 12:48:44
    Uptime 0 days 0 hours. 15 min. 38 sec.
    Trace-Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Standard-Service XE
    Parameter file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Log file of listener D:\Oracle\app\oracle\product\10.2.0\server\network\log\listener.log
    Summary listener endpoints...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services overview...
    Service "CLRExtProc" hat 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "PLSExtProc" hat 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Service "XEXDB" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "XE_XPT" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Service "xe" hat 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    The command was successfully executed.
    D:\db\install\soa_schemas\irca>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 10-FEB-2008 13:18:59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services _bersicht...
    Service "CLRExtProc" has 1 Instance(s).
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 Instance(s).
    Instance "PLSExtProc", Status UNKNOWN, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "D000" established:0 refused:0 current:0 max:1002 Status:ready
    DISPATCHER <machine: LOCALHOST, pid: 3584>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1049))
    Service "XE_XPT" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    Service "xe" has 1 Instance(s).
    Instance "xe", Status READY, has 1 Handler for this service...
    Handler:
    "DEDICATED" established:1 refused:0 Status:ready
    LOCAL SERVER
    The command was successfully executed.

    Hi,
    no, you got it wrong:
    Oracle uses network services which are a logical representation of the database to resolve network requests.
    in your ntsnames.ora file you have the following:
    network_alias = my_alias -- here you can write anything you just need to resolve it correctly
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (host=hostname or IP)
    (port=listener adapter port)
    ) -- this a complete socket information of the listener adapter!!
    (CONNECT_DATA=
    (SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
    In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
    A connect decriptor consists of the address part + the connect_data part.
    The address part is used to reach the listener.
    The connect_data part is the information you hand over to the listener.
    So the listener must know the service name.
    The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
    The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
    If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
    Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
    Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
    Hope it helps a little-.
    =;-)
    If you have further questions pls do not hesitate to ask. O.K.?

  • Listener problems: TNS-12500, TNS-12560, TNS-00530

    Dear All,
    On a laptop (name: aspire3000, 1G RAM, 2GHz, Windows XP) I have installed Oracle 9i release 2 database (name=HOMEDB, sid=SIDHOMEDB). I "played" for a while trying to configure Oracle Shared Server but I think I've ruined the listener.
    I execute the following steps:
    1. start the PC
    2. start the listener and database services in Control Panel (because they are set on manual)
    3. in order to test the listener is functioning properly I execute:
    lsnrctl> stop
    lsnrctl> start
    the listener starts, everything is ok
    4. using sqlplus connected as sysadmin
    4.1. sql> shutdown
    it shuts down the database
    4.2. sql> startup
    Now, I receive:
    ORA-12500: TNS: listener failed to start a dedicated server process
    I check the sqlnet.log file:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 21-FEB-2006 16:24:07
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    In the listener.log I see:
    21-FEB-2006 16:38:41 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=HOMEDB)(CID=(PROGRAM=C:\oracle\ora90\bin\sqlplusw.exe)(HOST=ASPIRE3000)(USER=dsandu))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.14.101.51)(PORT=1605)) * establish * HOMEDB * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    My listener.ora looks like this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = aspire3000)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oracle\ora90)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = HOMEDB)
    (ORACLE_HOME = c:\oracle\ora90)
    (SID_NAME = HOMEDB)
    TRACE_LEVEL_LISTENER = ADMIN
    What's wrong?
    If I shut down the PC, restart the PC, restart Oracle services (listener and db) I can connect using sqlplus. If I shutdown down the database it won't restart.
    Thank you very much for the help!
    Daniela

    hi,
    take another look at your listener.ora file, esp this line:
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST = aspire3000)(PORT = 1521))
    ... perhaps a typo.
    here is my file:
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORADELL)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ora920)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = ora920)
    Dear All,
    On a laptop (name: aspire3000, 1G RAM, 2GHz, Windows
    XP) I have installed Oracle 9i release 2 database
    (name=HOMEDB, sid=SIDHOMEDB). I "played" for a while
    trying to configure Oracle Shared Server but I think
    I've ruined the listener.
    I execute the following steps:
    1. start the PC
    2. start the listener and database services in
    Control Panel (because they are set on manual)
    3. in order to test the listener is functioning
    properly I execute:
    lsnrctl> stop
    lsnrctl> start
    the listener starts, everything is ok
    4. using sqlplus connected as sysadmin
    4.1. sql> shutdown
    it shuts down the database
    4.2. sql> startup
    Now, I receive:
    ORA-12500: TNS: listener failed to start a dedicated
    server process
    I check the sqlnet.log file:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 -
    - Production
    Oracle Bequeath NT Protocol Adapter for 32-bit
    t Windows: Version 9.2.0.1.0 - Production
    Time: 21-FEB-2006 16:24:07
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    In the listener.log I see:
    21-FEB-2006 16:38:41 *
    (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=HOMEDB)(
    CID=(PROGRAM=C:\oracle\ora90\bin\sqlplusw.exe)(HOST=AS
    PIRE3000)(USER=dsandu))) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.14.101.51)(PORT=1605))
    * establish * HOMEDB * 12500
    TNS-12500: TNS:listener failed to start a dedicated
    server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or
    or directory
    My listener.ora looks like this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =
    HOST = aspire3000)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oracle\ora90)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = HOMEDB)
    (ORACLE_HOME = c:\oracle\ora90)
    (SID_NAME = HOMEDB)
    TRACE_LEVEL_LISTENER = ADMIN
    What's wrong?
    If I shut down the PC, restart the PC, restart Oracle
    services (listener and db) I can connect using
    sqlplus. If I shutdown down the database it won't
    restart.
    Thank you very much for the help!
    Daniela

  • TNS  Listener error in Obiee 11g

    Hi folks,
    I am struggling with one in Obiee11g . whenever login into the presentation services(http://localhost:9704/analytics), im getting ,username and password nt authenticated . i saw error msg in the server.log file.
    Error msg is :
    Received exception while creating connection for pool "mds-owsm": Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    Could u guys resolve this problem.
    Regards
    C'nu

    check with this:
    Cannot connect to Database from the OBIEE 11g upgraded RPD

  • TNS Listener: Entry Point Not Found

    First I installed 8.1.6 Personal edition
    on my laptop (NT4 SP5):
    Folder: d:\orant.
    Oracle Home: DEFAULT_HOME
    That went fine. I could connect to the database with SQLPLUS, DBA etc.
    Then I tried to install Portal using:
    Folder: d:\9iAS
    Oracle Home: iSuites
    Spent three days trying to get Portal to install ok. Have finally got through the installation of 9iAS (HTTP Server Only), which the Universal Installer claims to be successfull.
    Started the Apache Server and tried to connect to the portal. I get the following error message:
    Proxy log On failed.
    Please verify that you have specified correct connectivity information i.e.username, password & connect-string in the Database Access Descriptor
    Error-Code:12154
    Error TimeStamp:Tue, 23 Jan 2001 23:20:00 GMT
    Database Log In Failed
    TNS could not resolve service name
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
    I can access the admin page:
    http://<machine>:80/pls/admin_/
    To debug this I tried to connect to the database with SQLPLUS and I got this error message:
    I:\>sqlplus
    SQL*Plus: Release 8.1.7.0.0 - Production on Tue Jan 23 16:08:58 2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Enter user-name: system
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    Checked my Services and found that the TNS listener was not started. When I try to start the OracleDEFAULT_HOMETNSListener in my Services I get the following error message:
    TNSLSNR.exe - Entry Point Not Found
    The procedure entry point snlpcgtsrvbynm could not be located in the dynamic link library oranl8.dll.
    I have tried swicthing my primary Oracle Home using the Home Selector. Did not help.
    Shouldn't the TNS listener be started, or?
    Any ideas what to check?

    I have found the solution of my problem from Oracle9i Portal's Configuration Guide , the troubleshooting part. The document can be found in the Oralce9i Documentation web site.
    The problem is that I set the incorrect information in my tnsnames.ora file when installing Oracle9i Portal.
    The solution is set the host name, port number and SID in the tnsnames.ora file. This file is located at
    \Oracle_Home\network\admin\
    Here is the example of the content in that file:
    PORTALDB_MyHost =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521))
    (CONNECT_DATA = (SID = PortalDB)(SERVER = DEDICATED))
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyHost)(PORT = 1521))
    (CONNECT_DATA = (SERVER = SHARED)(SERVICE_NAME = PortalDB)(PRESENTATION = http://admin))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))
    ---------------------------------------------

  • TNS Listener -ORA-12514 error following database shutdown - Oracle 11g

    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    Thanks

    user633278 wrote:
    Hi
    I have hit a problem with my oracle development database.
    When in sqlplus I executed the shutdown command, but nothing happened for several minutes and it was just hanging. No messages were displayed to the screen. The only thing was to close the command window. When I open sqlplus again and enter in the user name password as sysdba I am getting ORA 12514 TNS Listener could not resolve service in descriptor. This is odd as I could log on before and use the database. So I thought that the services were still shutting down I waited, and using the Windows snap on tool for Oracle 11g, I restarted the services on the database, but this has had no effect.
    Even using EM made no difference because I couldn't log on to perform a startup or recovery.
    So, please does anyone know how I can fix this?
    open Command Window & do EXACTLY as below; line for line
    sqlplus
    / as sysdba
    shutdown abort
    startup
    exit
    COPY command & results from above then PASTE all back here

  • ORA-12505 on Oracle Database 10g Express Edition: TNS:listene

    Hi all,
    I am aware that there has been several posts about this subject but i still cant seem to be able to resolve my problem.
    I am new to this but I did read through all information I could find and nothing helps.
    I am trying to connect to oracle database from sqldeveloper and i am getting that error.
    I am just following the tutorials on the net and they simply say to connect using SID: orcl but that does not seem to work for me.
    Can someone please explain to me how to find out how to change the paths (i suspect the problem lies there) so i can connect?
    Natalia

    Oracle XE SID is ... XE and not orcl.
    Did you also check:
    $ oerr ora 12505
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.

  • ORA-12518: TNS:listener could not hand off client connection

    guys,
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connection
    i had learned about this error here before, and i toke some notes as follows:
    h2. listener.log
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:23:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is C:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_2\network\log\listener_bkp_1.log
    Trace information written to C:\oracle\product\10.2.0\db_2\network\trace\listener_bkp_1.trc
    Trace level is currently 0
    Started with pid=2212
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WINXP)(PORT=1523)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    25-SEP-2009 01:24:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    25-SEP-2009 01:24:49 * (CONNECT_DATA=(SERVICE_NAME=financeira.winxp)(CID=(PROGRAM=C:\ORACLE?instantclient_10_2\sqlplus.exe)(HOST=PAULO_NOTEBOOK)(USER=ORACLE_DBA))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.100)(PORT=51649)) * establish * financeira.winxp * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    25-SEP-2009 01:24:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=PAULO))(COMMAND=services)(ARGUMENTS=64)(SERVICE=listener_bkp_1)(VERSION=169869568)) * services * 0
    h2. lsnrctl services
    C:\>lsnrctl services listener_bkp_1
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-SEP-2009 01:33:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=WINXP)(PORT=1523)))
    Services Summary...
    Service "FINANCEIRA.WINXP" has 1 instance(s).
    Instance "FINANCEI", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:1
    LOCAL SERVER
    The command completed successfully
    h2. listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1521))
    SID_LIST_LISTENER_BKP_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = FINANCEIRA.WINXP)
    (SID_NAME = FINANCEI)
    LISTENER_BKP_1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WINXP)(PORT = 1523))
    h2. v$resource_limit
    RESOURCE_NAME ; CURRENT_UTILIZATION ; MAX_UTILIZATION ; INITIAL_ALLOCATION ; LIMIT_VALUE
    processes ; 26 ; 30 ; 150; 150
    sessions ; 30 ; 35 ; 170 ; 170
    2 rows selected
    this means that it didn't reach the resource limites yet. What i can do to solve the problem ???
    another important information is that connecting by the default listener LISTENER instead of the LISTENER_BKP_1 listener, the connection is completed successfully. There's enough SGA memory space too.
    Tks,

    Paulo_BR wrote:
    i have a problem here with the connection between a client host and a server database, using a new non-default listener LISTENER_BKP_1. The error showed is:
    ORA-12518: TNS:listener could not hand off client connectionDon't do Oracle on Windows, so I'm not sure how the following relates to the Listener dealing with a dedicated server connection request on Linux/Unix.
    On Linux/Unix, a dedicated server request means just that - a dedicated process has to be started to service that client. The Listener does it by using the parameters of the configured listener.ora service to execute +$ORACLE_HOME/bin/oracle+. This process then starts up, and the Listener hands off the client connection for this process for servicing.
    If there is a failure somewhere on this series of steps fail, the Listener throws the ORA-12518 exception. For example, the +$ORACLE_HOME+ has been incorrectly configured in listener.ora and it fails to execute and startup a dedicated server process.
    And this relates to the underlying error you are seeing:
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directoryI think that the Listener on Windows uses the CreateRemoteThread() Win32 call to start up the server process thread. However, it needs a valid process identifier (of the existing Oracle instance) for this call - and thus needs to first identify the Oracle instance process. Could be that this step uses a ORACLE_HOME reference. And if that directory path is not valid, it is unable to identify the process id of the Oracle instance and thus unable to spawn a dedicated thread to service that client.

  • TNS:listener could not hand off client connection

    while trying to select from dblink I got ORA-12518: TNS:listener could not hand off client connection
    What should I do?
    here is the listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = disater)(PORT = 1521))
    )

    What is the operating system and database version for remote and local machines.
    Are you using dedicated or threaded server on the remoted DB. More information is needed.
    output from error message search:-
    12518, 00000, "TNS:listener could not hand off client connection"
    // *Cause: The process of handing off a client connection to another process
    // failed.
    // *Action: Turn on listener tracing and re-execute the operation. Verify
    // that the listener and database instance are properly configured for
    // direct handoff. If problem persists, call Oracle Support.
    // *Comment: The problem can be worked around by configuring dispatcher(s)
    // to specifically handle the desired presentation(s), and connecting
    // directly to the dispatcher, bypassing the listener.

  • Port of the TNS Listener for the second SAP system

    Hello!
    I had problems during the installation of the second SAP system with second Oracle DB on the same host (OP is SOLARIS).
    The error occurs was faced with TNS Listener.
    (> error: TNS Listener is started)
    Which settings are applied for the TNS Listener per default in SAPINST?
    (e.g. on the same port)
    Which settings should I apply in SAPINST for TNS Listener, e.g. configure an another port?
    Thank you very much!
    regards
    Thom

    Hello!
    Thank you very much!
    Even that is the question.
    1) If I have selected "ok" during the installation and no further values selected, will SAPINST check whether the Port 1527 is allocated by the first SAP System and create the second Port 1528?
    2) Do I have one TNS Listener with two file entries or two TNS Listener?
    Thank you very much!
    regards
    Thom

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

  • TNS:listener does not currently know of SID given in connect descriptor

    Hi
    I have installed 11g on Windows 7, the startup & shutdown of DB is normal.
    But connecting to a particular DB is giving a problem:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    in the listener.ora following entry is made:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $ORACLE_HOME)
    (SID_NAME = orcl_test)
    LIST1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Also tried using ALTER SYSTEM REGISTER;
    still there is no connection being established.
    following outputs i am getting while connecting:
    SQL> connect test_db@tns_test
    Enter password:
    ERROR:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    Warning: You are no longer connected to ORACLE.
    While running lsnrctl status command, following error is appearing:
    C:\Windows\system32> lsnrctl status list1
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-SEP-2012 10:35
    :38
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias list1
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 28-SEP-2012 10:29:40
    Uptime 0 days 0 hr. 5 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File XXXXXXXXXXXXXXXXXXXXXXXXXXXX\listener.ora
    Listener Log File XXXXXXXXXXXXXXXXXXXXX\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    Please help...!!!

    Hi Niket,
    Thanks for the reply, i tried following as well in the listener file (still the error persistes):
    list1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $Oracle_home)
    (SID_NAME = sid_test)
    The tnsnames.ora entry:
    tns_test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sid_test)
    )

Maybe you are looking for