Frustrating ORA-12500 error

Hi all,
HELP!!!
I'm using Oracle7.3 database server on Windows NT4.0 and workstation is Chinese Windows98. My PB6.5 application make two connections whenever login. The first connection always success (retrieve application general data) and the second connection (retrieve specific data) always have the ORA-12500 error msg after ~1min24s waiting. However the 2nd connection always success on second/third attempt.
Anybody know why???
I've already checked the server's listener.ora and workstations's tnsnames.ora files, they seems normal to me.
When I run OEM, I got the ORA-12500 error msg also no matter how many times I try. But it is very normal when I use INSTANCE manager, SCHEMA manager, SECURITY manager, STORAGE manager.
Please help!!!

Generally speaking one only sets the processes parameter, the sessions parameter will be automatically derive from the processes parameter.
However: each process constitutes a Windows thread.
You may be hitting the maximum number of threads for a Windows process (There is one Oracle process, and each dedicated server process is a thread).
What the maximum number of threads is I don't know, but I have never managed to have more than 200 processes.
You should investigate to convert to shared server.
Open_cursors refers to the number of SQL statements which can be opened by an individual session.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • ORA-12500 Error

    What is the Solution for ORA-12500 ERROR?
    ORA-12500TNS:listener failed to start a dedicated server process.
    Thanks in Advance.

    Generally speaking one only sets the processes parameter, the sessions parameter will be automatically derive from the processes parameter.
    However: each process constitutes a Windows thread.
    You may be hitting the maximum number of threads for a Windows process (There is one Oracle process, and each dedicated server process is a thread).
    What the maximum number of threads is I don't know, but I have never managed to have more than 200 processes.
    You should investigate to convert to shared server.
    Open_cursors refers to the number of SQL statements which can be opened by an individual session.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-12500 error while refreshing webi report

    Hi All,
    The problem looks simple, but i am struck with this. I am trying to refresh a webi report in BO XI R3.1, it throws the error "DBD: ORA-12500: TNS:listener failed to start a dedicated server process". It looks like there is no issue with the tnsnames.ora and sqlnet.ora.whar could be the other cause for this issue ? Any input will be appreciated.  Thanks in advance.
    Thanks
    Raj

    Hi,
       You need to fix up the issue on the Oracle D/B side first prior to testing on WebI.
       Try this link, it explains the error encountered in more details.
                 http://ora-12500.ora-code.com/
       Simply put, can you use client tool (e.g. TOAD) to log into Oracle D/B using the same machine?
       Fix up the connection then WebI will work.
    Regards,
    Ken

  • ORA-12500 error message, help me

    Oracel 8.1.7 on Windows 2k server
    run:
    connect system/manager
    in SQLPLUS, ok
    but run:
    connect system/[email protected]
    in SQLPLUS,got
    ORA-12500 TNS: listener failed to start a dedicated server
    process
    oradb1 is the SID of the only one database.
    cosp.local is domain name.
    oradb1.cosp.local is the service name.
    all required services have been started already.
    Please help to fix it.
    Thanks a lot

    It is a 3 party proprietary programming language, SQL-like in nature.
    I used a Oracle driver replacing the Microsoft driver. This time I did not get any error but no values were inserted in the table for CLOB. But if I change the datatype to LONG, values are getting inserted.
    Thanks!

  • Need Urgent Help. ORA-12500 with no reason

    I need urgent help.
    I have 8.1.7.2.1 on Win2K.
    I get ORA-12500 error when trying to connect oracle instance. This problem begin to arise only when number of sessions reach a number about 200. At the same time there is no definite boundary for it. Once it happened when there were 216 session, then 196, then 206.
    There rarely (1/100) I get ORA-12514 and after again ORA-12500. Once I got ORA-12600.
    What it might be you think? It can't be a problem in listener.ora or in tnsnames.ora because it works fine if number of sessions is about 100. It tried to restart tnslistener (from lsnrctl and the service) and restarted database (but not the service). I did it different in sequences, but didn't help. What should I do? Is it a known bug?

    I need urgent help.
    I have 8.1.7.2.1 on Win2K.
    I get ORA-12500 error when trying to connect oracle instance. This problem begin to arise only when number of sessions reach a number about 200. At the same time there is no definite boundary for it. Once it happened when there were 216 session, then 196, then 206.
    There rarely (1/100) I get ORA-12514 and after again ORA-12500. Once I got ORA-12600.
    What it might be you think? It can't be a problem in listener.ora or in tnsnames.ora because it works fine if number of sessions is about 100. It tried to restart tnslistener (from lsnrctl and the service) and restarted database (but not the service). I did it different in sequences, but didn't help. What should I do? Is it a known bug? bash-2.03$ oerr ora 12500
    12500, 00000, "TNS:listener failed to start a dedicated server process"
    // *Cause:  The process of starting up a dedicated server process failed.
    // The executable could not be found or the environment may be set up
    // incorrectly.
    // *Action: Turn on tracing at the ADMIN level and reexecute the operation.
    // Verify that the ORACLE Server executable is present and has execute
    // permissions enabled. Ensure that the ORACLE environment is specified
    // correctly in LISTENER.ORA. The Oracle Protocol Adapter that is being
    // called may not be installed on the local hard drive. Please check that
    // the correct Protocol Adapter are successfully linked.
    // If error persists, contact Oracle Customer Support.
    There is not enough info to go on but the problem seems to be either in the listener.ora
    or tnsnames.ora. Did you make any changes before this started occurring?
    William

  • Help! ORA-12500

    We have Oracle 7.2 (HP Unix).
    Oracle are crashed with the error message ora-12500, when the number of oracle users exceed 140.
    Initora parameters are the following:
    processes = 400
    sessions =300
    We also set the kernel (Unix) parameter “max semaphores” to 400 but it doesn’t help too.
    How can we solve this?
    Thanks in advance.
    Alex.

    I need urgent help.
    I have 8.1.7.2.1 on Win2K.
    I get ORA-12500 error when trying to connect oracle instance. This problem begin to arise only when number of sessions reach a number about 200. At the same time there is no definite boundary for it. Once it happened when there were 216 session, then 196, then 206.
    There rarely (1/100) I get ORA-12514 and after again ORA-12500. Once I got ORA-12600.
    What it might be you think? It can't be a problem in listener.ora or in tnsnames.ora because it works fine if number of sessions is about 100. It tried to restart tnslistener (from lsnrctl and the service) and restarted database (but not the service). I did it different in sequences, but didn't help. What should I do? Is it a known bug? bash-2.03$ oerr ora 12500
    12500, 00000, "TNS:listener failed to start a dedicated server process"
    // *Cause:  The process of starting up a dedicated server process failed.
    // The executable could not be found or the environment may be set up
    // incorrectly.
    // *Action: Turn on tracing at the ADMIN level and reexecute the operation.
    // Verify that the ORACLE Server executable is present and has execute
    // permissions enabled. Ensure that the ORACLE environment is specified
    // correctly in LISTENER.ORA. The Oracle Protocol Adapter that is being
    // called may not be installed on the local hard drive. Please check that
    // the correct Protocol Adapter are successfully linked.
    // If error persists, contact Oracle Customer Support.
    There is not enough info to go on but the problem seems to be either in the listener.ora
    or tnsnames.ora. Did you make any changes before this started occurring?
    William

  • Error Ora-12500 when using dblink

    Hi all,
    I have a database that I can connect directly with no problem, but there's error when I try to connect to that db from another db by using dblink
    (Select * from someTab@link_name)
    The error is Ora-12500
    (Sure that tnsname.ora file is OK, I meant SID that using in dblink)
    What can I do to deal with this prob?
    Thank you!

    Mr_what wrote:
    Thank you guys! Of course I've known what Ora-12500 means, google is always the first thing I do when have to deal with any prob.Then you should have run across the cause of the problem..?
    The client (in this case, the PL/SQL code using the db-link) uses a TNS alias to connect to an Oracle Listener. Part of the TNS alias is specifying the database the client wants to connect to (e.g. using SID or SERVICE_NAME).
    The Listener confirms that it services this SID or service (it needs to be registered with the Listener). It then "+hands off+" the connection to that database. It can do this either as a dedicated or shared server process.
    In your case, your TNS connection does not request a shared server connection. So the Listener needs to provide a dedicated server to service your client connection. It does so by executing +$ORACLE_HOME/bin/oracle+ - using the settings for that registered database (which includes the +$ORACLE_HOME+ dir). It passes command line parameters to this process (typically +(LOCAL=NO)+ ), and other data via the call (such as the socket handle this oracle executable needs to use to communicate with your client session).
    This is the step that fails. The Listener fails to create this dedicated process. It uses a specific kernel call (differs from o/s to o/s) to create this dedicated server (a process on Linux/Unix, or thread on Windows). This call is usually what fails and results in the error you see on the client side.
    There can be a number of reasons why this failed. The usual two suspects are:
    - the kernel not allowing the Oracle o/s user to create more processes as it has reached it resource quota
    - invalid +$ORACLE_HOME+ and the call fails to load the bin/oracle executable process
    I would first eliminate these two as the cause of the problem. If it is not caused by these, then I would enable listener tracing and troubleshoot a connection that results in this error. There are various levels of diagnostics that can be enabled for tracing. At the lowest level one can trace the actual calls made by the listener, including the parameters values passed.

  • Get error ORA-12500 : TNS Listener

    I keep getting this ORA-12500 ODBC error, TNS listener could not be resolved.
    What does it mean?
    What is causing it?
    The error comes and goes by itself within a few seconds.
    Any help is appreciated.
    Thanks.

    I'm using Oracle 8i (8.1.6)

  • Error: ORCL-002: CreateConnInternal olog(): ORA-12500:

    Hello,
    I'm sometimes getting this error error: ORCL-002: CreateConnInternal olog(): ORA-12500:
    TNS:listener failed to start a dedicated server process
    in the nas logs after which the NAS server hangs.
    I'm using NAS 4.0 sp5 on HPUX and connecting to an Oracle 8 database using ORACLE_OCI. Anybody has
    come across this error. What could be the possible
    solution ?
    Thanks for your help,
    Amit

    I guess this problem is from the Oracle Server,
    One of these steps might work,
    1. Stop and start the listener. (May be not a good idea.)
    2. May be you are not using the same user/password to start the listener as the database instance.
    You may use, system/manager.
    Please get back for any further assistance.
    Thanks,
    Rakesh,
    Developer-Support Team,
    Sun ONE Application Server.

  • ERROR ORA-12500

    Hi everybody,
    To run WebDB2.0.5.6.1/oracle 8.0.5 on Linux/RH6.0
    I obtain the following error message. This, results when
    I prompted: $ sqlplus WEBDB@ORCL (ORCL is my database).
    "ERROR:
    ORA-12500: TNS:listener failed to start a dedicated server
    process"
    HELP: when I type : $ oerr ora 12500, I obtain the
    following:
    12500, 00000, "TNS:listener failed to start a dedicated
    server process"
    // *Cause: The process of starting up a dedicated server
    process failed.
    // The executable could not be found or the environment may
    be set up
    // incorrectly.
    // *Action: Turn on tracing at the ADMIN level and
    reexecute the operation.
    // Verify that the ORACLE Server executable is present and
    has execute
    // permissions enabled. Ensure that the ORACLE environment
    is specified
    // correctly in LISTENER.ORA. The Oracle Protocol Adapter
    that is being
    // called may not be installed on the local hard drive.
    Please check that
    // the correct Protocol Adapter are successfully linked.
    // If error persists, contact Oracle Customer Support.
    Please help to solve this problem.
    Regards,
    Mohamed
    null

    Hi Rob,
    Thank you for your reply.
    I follow your step
    1. LSRNR STOP
    message : "Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) The command completed successfully
    2. LSRNR STOP
    message : "Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) The command completed successfully
    3. LSRNR EXIT
    4. TNSPING TEGUH
    message : "Attemping to contact (ADDRESS=(PROTOCOL=TCP)(HOST=teguhs_nt)(PORT=1521)) OK (220 msec)"
    I do all your suggestion but error still exist.
    I still need help. thank you.
    regards
    teguh

  • Listener refused the connection with the following error: ORA-12500

    Hi,
    We had had some difficulties with our portal lately. All of a sudden portlets failed and started givin error messages all over our webpages.
    I tried to login to EM Console to try and restart Portal OC4J and got this error
    An error was encountered while loading page. An error occurred when attempting to connect to the Database.
    Resolution:
    Make sure that the database and listener are up.
    If the database is up, make sure that the OracleAS Repository API files ias.properties and iasschema.xml are correctly configured.
    If necessary, use the EM Console to reconfigure the host, user name and password associated with the database
    Base Exception:
    java.sql.SQLException
    Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    . Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    In ..INF/network/sqlnet.log
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=portal.mss.edus.si)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=asdb.mss.edus.si)(CID=(PROGRAM=I:\Oracle\INF\Apache\Apache\Apache.exe)(HOST=CLUSTER1)(USER=SYSTEM))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.4.0 - Production
    Time: 11-JUN-2007 13:00:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    After restart everything works as normal. Any ideas what went wrong, or where to look for some additional answers?

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • Newbie ORA-12500  Connection Error

    I am attempting to connect to the Oracle 10g database with JDeveloper, and whenever I attempt to connect, I receive this message:
    Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    192.168.0.101:1521:ORCL
    I have tried using the computer name, localhost, 127.0.0.1, I get either an error saying that the network adapter can not resolve the connection, or the error message above. When connecting, I use Net Manager to configure the addresses. Any help would be greatly appreciated since I am a complete newbie to Oracle tecnologies.
    Thank you in advance
    Ryan

    I am logged into SQLPLUS with no problem as the SYSTEM account, (I only receive the problem when trying to log in through JDeveloper) and I altered the spfile processes to 200, however...
    bounce the database.I do not know how to do this, what command do you use to bounce the database and what does it do, also...
    Then just restart the Listener from the command prompt
    lsnrctl stop
    lsnrctl startWhen I attempt to do any lsnrctl functions, including help, I receive this error in SQLPLUS: SP2-0734: "unknown command beginning "lsnrctrl s..." - rest of line ignored."
    Any suggestions?
    Check if the problem is solved.The problem is still the same after altering the spfile, hopefully after I bounce the database and reset the Listener, this will be fixed.
    Thank you for all your help so far
    Ryan

  • Listener refused the connection with the following error: ORA-12500, TNS:li

    I got this error when I use EM, or sqlplus:
    Listener refused the connection with the following error: ORA-12500, TNS:listener failed to start a dedicated server process
    when I do
    $lsnrctl status:
    here is the result
    Service "abc.def.com" has 3 instance(s).
    Instance "dbtest", status UNKNOWN, has 1 handler(s) for this service...
    Instance "dbtest", status BLOCKED, has 1 handler(s) for this service...
    Instance "dbtest", status READY, has 1 handler(s) for this service...
    please help. Thanks.

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • ORA-31061 error while creating XMLType table with virtual column

    I'm not calling it frustration ;)
    but still... what about this one :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
    Table created.Now, on the latest version :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
          passing object_value returning content)
    ERROR at line 7:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-31061: XDB error: dbms_xdbutil_int.get_tablespace_tab
    ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 1002Is there something I should be aware of?
    Right now, I'm just evaluating the version so I can't submit any SR.
    Thanks for anyone trying to reproduce the issue.

    Just tested again on a new installation (64-bit server).
    It works :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL>
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7                 passing object_value returning content)
      8        as number
      9      )
    10    )
    11  );
    Table created
    Now I'll try to see what are the differences between the two installations.
    Thanks Dan and Marco for looking into this.
    Edited by: odie_63 on 2 mai 2012 15:51

  • ORA-12500 and Memory limited

    This is list of environment
    - Oracle 8.1.7
    - OS is AIX
    - RAM = 2GB
    - 3 instances
    when user try to connect too much that will show ORA-12500 and I select this statement in a problem instance
    "select count(1) from v$session" the result estimate is 502.
    "select count(1) from v$process" the result estimate is 504
    and another instance 10 sessions and 20 sessions.
    This's folloing a part of parameters.
    bitmap_merge_area_size integer 1048576
    create_bitmap_area_size integer 8388608
    db_block_buffers integer 10000
    db_block_lru_latches integer 2
    db_block_max_dirty_target integer 10000
    db_block_size integer 8192
    distributed_transactions integer 243
    hash_area_size integer 16777216
    hash_multiblock_io_count integer 32
    java_pool_size string 20000K
    large_pool_size string 0
    processes integer 800
    sessions integer 885
    shared_pool_reserved_size string 15000000
    shared_pool_size string 300000000
    sort_area_retained_size integer 1048576
    sort_area_size integer 4194304
    sort_multiblock_read_count integer 32
    transactions integer 973
    transactions_per_rollback_segment integer 5
    How to modify or change some parameter for fix this problem?

    I think you need to give more description about problem.
    You might review the following Oracle Metalink Document:
    SQL*Net (oracle Networking) Common Errors & Diagnostic Worksheet: Doc ID: Note:45878.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5712140308577577466::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,45878.1,1,0,1,helvetica
    If possible also upgrade your database.
    Adith

Maybe you are looking for