Connecting to PDB fails with ORA-44787: Service cannot be switched into

 If we try to connect PDB getting below error

SQL> alter session set container="dev2";


ERROR:

ORA-03114: not connected to ORACLE


Solution:

Check listener is working normally

Below action plan no need application bounce  

Close and reopen the PDB


SQL> alter pluggable database "dev2" close;

Pluggable database altered.


SQL> alter pluggable database "dev2" open;

Pluggable database altered.


SQL> alter session set container="dev2";

Session altered.

If “alter pluggable database "dev2" close” command taking time Please check how many users connected database

ps -ef |grep -i local=no

If more user connected open duplicate session connect sqlplus and startup force command. But startup force command is not recommended based on the scenarios we can use it. 

Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2