Today one of my client was facing ora-12528 TNS:listener: all appropriate instances are blocking new connections.
ORA-12528
![Solve ORA-12528 8 ORA-12528](https://i0.wp.com/oraclerider.com/wp-content/uploads/2022/03/image.png?resize=899%2C96&ssl=1)
We checked the listener status and found the instance is also blocked in the listener which means the normal user cannot be able to establish a connection from the application side.
$lsnrctl status
![Solve ORA-12528 9 ORA-12528 in listener](https://i0.wp.com/oraclerider.com/wp-content/uploads/2022/03/image-2.png?resize=831%2C148&ssl=1)
Solve ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Here is the solution for ORA-12528: TNS:listener: all appropriate instances are blocking new connections. We need to add UR=A in tnsnames.ora file. This is the connection descriptor to lift the restriction, for more details check the below screenshot.
$ vi $ORACLE_HOME/network/admin/tnsnames.ora
![Solve ORA-12528 10 ORA-12528](https://i0.wp.com/oraclerider.com/wp-content/uploads/2022/03/image-3.png?resize=900%2C246&ssl=1)
Now try to connect with the database as a sys user, and you will be able to connect.
$sqlplus sys/password@ocp as sysdba
...
Connected.
SQL> startup mount;
SQL> alter database open;
Now the error has been resolved successfully.
- How to check when last stats was gathered in Oracle?
- Oracle RMAN Tutorial
- Install Linux in Oracle VirtualBox
- Resolve error in invoking target agent nmhs of makefile
- Purge RECYCLEBIN in Oracle
- How to get tablespace DDL in oracle
1 thought on “Solve ORA-12528”