ORA-12522: TNS:listener could not find available instance with given INSTANCE_ROLE

Cause : There are not any available and appropriate database instances registered with the listener, that are part of the service identified by SERVICE_NAME given in the connect descriptor and that have the specified INSTANCE_ROLE (and INSTANCE_NAME, if specified).

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Check to make sure that the INSTANCE_ROLE specified is correct. Run "lsnrctl services" to ensure that the instance(s) have registered with the listener and that they are ready to accept connections.

update : 28-05-2017

ORA-12522 - TNS:listener could not find available instance with given INSTANCE_ROLE
ORA-12522 - TNS:listener could not find available instance with given INSTANCE_ROLE

  • ora-01912 : ROW keyword expected
  • ora-12598 : TNS:banner registration failed
  • ora-23335 : priority group string already exists
  • ora-24790 : cannot mix OCI_TRANS_RESUME and transaction isolation flags
  • ora-40271 : no statistically significant features were found
  • ora-19652 : cannot apply offline-range record to datafile string: file is fuzzy
  • ora-09918 : Unable to get user privileges from SQL*Net
  • ora-30061 : Internal Event for Savepoint Tracing
  • ora-30109 : could not open parameter file 'string'
  • ora-16554 : translation not valid
  • ora-06312 : IPA: Incorrect outgoing service name supplied
  • ora-30384 : specified column name does not exist in the attribute
  • ora-25186 : INCLUDING clause specified for index-organized table without OVERFLOW
  • ora-08341 : On nCUBE, this command can only be executed from instance 1.
  • ora-13776 : User "string" has not been granted the "SELECT" privilege on the "SQL tuning set" DBA views.
  • ora-34871 : (PERMIT06) Session-only value 'value' of workspace object has been deleted because a PERMIT change has revealed a duplicate value.
  • ora-31602 : parameter string value "string" in function string inconsistent with string
  • ora-02200 : WITH GRANT OPTION not allowed for PUBLIC
  • ora-29832 : cannot drop or replace an indextype with dependent indexes
  • ora-07458 : cannot set the RESOURCE_MANAGER_PLAN parameter
  • ora-06004 : NETASY: dialogue file open failure
  • ora-19643 : datafile string: incremental-start SCN is too recent
  • ora-06519 : active autonomous transaction detected and rolled back
  • ora-16226 : DDL skipped due to lack of support
  • ora-16746 : resource guard encountered errors during database mount
  • ora-30163 : The thread safety initialization failed
  • ora-00076 : dump string not found
  • ora-26505 : unexpected internal null
  • ora-14406 : updated partition key is beyond highest legal partition key
  • ora-07206 : slgtd: gettimeofday error, unable to obtain time.
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.