ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Here is the scenario of getting the error
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
C:\Windows\system32>sqlplus /nolog
SQL*Plus: Release 10.2.0.3.0 – Production on Wed Oct 1 19:40:51 2008
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
SQL> connect sys@dc2soc03 as sysdba
Enter password:
ERROR: ORA-12528: TNS:listener: all appropriate instances are blocking new connection
When do you get this error?
You might get this error if you encounter with Connections via the listener to an instance that is in RESTRICTED status or in NO MOUNT status. The lsnrctl services output will show that the service handler for this instance is in state: BLOCKED or RESTRICTED.
Here is an example:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx.xxx.xx.xx)(PORT=1521)))
STATUS of the LISTENER
——————————-
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 – Production
Start Date 01-OCT-2008 16:38:22
Uptime 0 days 3 hr. 19 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.xx.xx)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
Services Summary…
Service “PLSExtProc” has 1 instance(s).
Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Service “dc2soc03.rnhub.com” has 1 instance(s).
Instance “dc2soc03”, status BLOCKED, has 1 handler(s) for this service…
Service “dc2soc03_XPT.rnhub.com” has 1 instance(s).
Instance “dc2soc03”, status BLOCKED, has 1 handler(s) for this service…
Service “ecentric.rnhub.com” has 1 instance(s).
Instance “ecentric”, status READY, has 1 handler(s) for this service…
Service “ecentricXDB.rnhub.com” has 1 instance(s).
Instance “ecentric”, status READY, has 1 handler(s) for this service…
Service “ecentric_XPT.rnhub.com” has 1 instance(s).
Instance “ecentric”, status READY, has 1 handler(s) for this service…
The command completed successfully
How to overcome this?
Add (UR = A) in the TNSnames.ora
The (UR=A) clause for TNS connect strings has been created as an enhancement request.
example:
DC2SOC03 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xx.xx)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = DC2SOC03.rnhub.com)
(UR = A)
)
)
Then try to connect and see what happens?
SQL> connect sys@dc2soc03 as sysdba
Enter password:
Connected.
May 21, 2011 at 12:54 pm |
Its worked … Thanks
November 7, 2011 at 3:59 am |
I’m facing the same problem, and had tried to add (UR=A) in the tnsnames.ora. The error message is now changed to become “ORA-01033 : ORACLE initialization or shutdown in progress”.
I’ve tried to restarted the Oracle Instance service several times and has completely Start, but why still the error said the database has not been mounted yet ?
Please help and really appreciate it. Thanks in advance.
January 6, 2012 at 9:03 am |
thnx its workng
January 12, 2012 at 10:32 am |
I came across this issue a lot when cloning instances on Linux. I found that adding the instance to the listener.ora file and bouncing the listener resolved this for me.
March 12, 2012 at 3:21 am |
old thread but u are save my life and time!
thank u very much!
March 12, 2012 at 12:13 pm |
thank you very much! it works! but can you explain what does (UR = A) mean?
April 10, 2012 at 2:46 am |
Hi,
I got the same problem and added (UR = A), but now i am getting a new error “ORA-01033 : ORACLE initialization or shutdown in progress”. Please help me out.
July 14, 2014 at 11:52 pm |
Hi jac,
i got same problem here.
Did your matter has been resolved yet?
April 13, 2012 at 4:40 am |
Hi,
I got the same problem and added (UR = A), but now i am getting a new error “ORA-01033 : ORACLE initialization or shutdown in progress”. Please help me out.
July 14, 2014 at 11:51 pm |
Hi jac,
i got same problem here.
Did your matter has been resolved yet?
July 15, 2014 at 6:06 am |
hi prashant.
i’m having same error as yours. Did u solve it?
April 13, 2012 at 5:02 am |
Hi,
With the above solution I have connected but unable to connect to other users means I am unable to work in it
Please help me out.
Thanks & Regards,
Prashant
May 16, 2012 at 11:10 am |
Thx! Who would have know… it works!!
August 4, 2012 at 8:33 am |
It worked..thanks!!!
October 2, 2012 at 5:11 pm |
I couldnt believe this worked after a frustrating day this did the trick
June 19, 2013 at 4:24 am |
Brilliant……..solution worked after 2 days struggle.
Thx a lot…..
June 20, 2013 at 11:15 am |
Hi All,
Iam facing the same issue after setting UR=A , does any one help me to solve this problem. please provide me a solution.
Thanks,
June 20, 2013 at 11:16 am |
AFTER SETTING UR=A
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
September 23, 2013 at 5:38 pm |
Thanks for sharing this…it helped me …to connect to auxilary instance in nomount…
November 26, 2013 at 3:56 am |
Thanks, it helps
June 17, 2014 at 1:01 am |
Worked nicely!! Thank you
June 25, 2014 at 6:45 am |
very nice thanks
September 29, 2014 at 1:54 pm |
what is meaning of (UR=A)?
What it does?
please explain
November 18, 2014 at 9:12 am |
UR=A lets you into the database even when it is in Restricted or Blocked Mode. I think of it as “User Restricted Allow” as a personal mnemonic device.
If they didn’t add this feature in Oracle 10 you could only connect to a database in Restricted mode or No Mount by logging on to the server and going in AS SYSDBA circumventing the listener.
January 28, 2015 at 11:16 am |
i added ur statment but then i got another error” ORA-12518: TNS:listener could not hand off client connection”
April 19, 2015 at 11:22 am |
after adding UR = A, i am getting new error, ORA-01033: ORACLE initialization or shutdown in progress
please help me out with this error
thanks
November 3, 2015 at 2:22 pm |
I think the cause for these ‘ORA-01033: ORACLE initialization or shutdown in progress’ messages is that you did not connect ‘as sysdba’. So the user maus have sysdbab privileges and you must connect ‘sqlplus XXX/YYY@ZZZ as sysdba’
November 13, 2015 at 12:32 pm |
… Thx for tip with UR = A . I found that some instance processes were running in parallel. By stopping database and listener, looked for remaining oracle processes. Killed those and after restart, blocked service was gone…
April 12, 2016 at 1:25 am |
I have included UR=A. But still now showing the error ms :
ORA-12528: TNS:listener: all appropriate instances are blocking new connections….
What can I do ? Plz suggest me…..
April 25, 2016 at 5:44 am |
great..its working.. tnq 🙂
July 25, 2016 at 4:51 am |
@Sky: recreate listener.ora and orapwd files once and then start the listener.
December 1, 2016 at 8:35 am |
Thanks so much bro ! – this trick really helped 😀
August 10, 2021 at 12:07 pm |
After. Setting ur =a i am facing error as listener does not now of service requested pleaase hhelp me with this problem