ORA-12519, causes and solutions of ORA-00020 anomalies

Source: Internet
Author: User

The following two exceptions were encountered in the recent project process using Oracle:

ORA-12519, tns:no appropriate service handler found;

Ora-00020:maximum number of processes (exceeded).

Let's look at the causes and workarounds for this problem.

Cause Analysis:

The number of processes for the database exceeds the maximum, only after the resource is opened, there is no timely shutdown, or the resource opened after the unhealthy shutdown interface causes the process in the database to be inactive, is not released, need to modify the database processing data.

Workaround:

With SYS, you can log on with SYSDBA permissions, and you may be able to connect to the database by Sqlplus or plsql to modify it by command line. First use show parameter SPFile; See if the SPFile file exists if the SPFile file exists, that is, the corresponding value is/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora, and the corresponding maximum number of processes is modified:

Sql> Show parameter processes;// View processes connections settings Sql// View sessions Connections settings Sqlalter system set processes =3000 scope =spfile; // set processes connections Sqlshutdown immediate; Sql> Startupsql > Show parameter processes; //view processes number of connections settings           

If the SPFile file does not exist, that is, if the corresponding value is a null value, the corresponding maximum number of processes is modified as follows:

Sql> Show parameter processes;//View processes connections Setting SQL>Create SPFileFrom Pfile=‘U01/app/oracle/product/11.2.0/dbhome_1/dbs/initdevdb.ora‘//Switch to SPFile startup sql>ShutdownImmediate Sql> Show parameter SPFile;// in the display SPFile file, you can see that value is not NULL for SQL> alter system SET processes= The=spfile scope; // Set number of processes connections SQL> shutdown Immediate; SQL> startupsql> show parameter processes; // View processes connection number settings, you can see that the successful SQL> show parameter Sessions has been started;      

You can also use

Sql> Show parameter processes;

Sql> alter system set PROCESSES=500 scope = SPFile;

Sql> create Pfile from SPFile;

Then restart the database, show again, has been modified to 500.

Note:

Installation of 11g, prompted not to find the file E:\app\xxj\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear Workaround: Copy the \win64_11gr2_database_2of2\database\stage\components\* from Win64_11gr2_database_2of2 to \win64_11gr2_database _1of2\database\stage\components directory.

ORA-12519, causes and solutions of ORA-00020 anomalies

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.