Resolve Oracle prompt failed to connect to database instance:ora-12519 error

Source: Internet
Author: User
Tags oracle database


Oracle database installed on the Ali Cloud, one day received the following alerts:
Name=atabasename
Type=database Instance
Host=izw2519p6r9uzeee
Metric=status
Timestamp=nov, 2014 4:16:37 AM CST
Severity=critical
message=failed to connect to database Instance:ora-12519:tns:no appropriate service handler found (DBD Error:ociservera Ttach).
Rule name=database availability and Critical States
Rule Owner=sysman

The reason for this problem is that the number of processes exceeds the limit and is queried by the following methods:

# su-oracle

$ sqlplus/as sysdba;

To view the current number of connections:


Sql> Select COUNT (*) from v$process;

View the current number of connections to 299

To view the maximum number of connections allowed for a database:

Sql> Select value from v$parameter where name = ' processes ';

View the maximum number of connections allowed is 300

It seems that the number of connections is not enough to make the following modifications:
Modify the maximum number of connections to 500:

Sql> alter system set processes = Scope = SPFile;

To restart the database:

sql> shutdown immediate;
Sql> startup;

Related Article

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.