ORA-25401 – “Cannot continue fetches”
Tonight I had a customer call me requesting help. When asked what the problem was, they did not really know. All they knew was that production was having a problem and it needed to be fixed. Customer suggested that I contact the on-site support; so after tracking down a phone number I was able to get in touch with the support hat was on-site.
After spending a few minutes talking with support, I had an idea of what the issue was. I then ask if there were any associated error messages. The message that was sent over was: “ORA-25401: Cannot continue fetches”. As most DBAs would be saying is: “Another random error message”. Sure it is random, but that is what makes this interesting.
The customer is running a 2-node RAC system; where we (customer and myself) took down the second node in the RAC to work on another problem. When the second node came down all the sessions failed over to the first node; however, the sessions didn’t connect as expected. So, when the session tries to continue processing it receives an “ORA-25401: Cannot continue fetches” error.
How did we resolve this? I had to disable TAF on the client side through the TNSNames.ora file. (items marked with an asterisk (*) were removed).
Before:
PRODDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =hostname-vip)(PORT = 1521))
* (ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
*(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORASID)
*(FAILOVER_MODE=(TYPE=select)(METHOD=basic)(RETRIES=120)(DELAY=5))
)
)
After:
PRODDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORASID)
)
)
Once the TNSNames.ora file was updated, the connections were reset and worked as expect from the applications view.
Now, this is not the desired solution with a RAC environment since we are always trying to keep high-availability. In some cases, it will due, especially on a two-node RAC configuration.
Feel free to comment. Always good to see how other solves similar problems.
Thanks
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!
can you buy priligy in usa Slather it on a death dog loaded with carcinogenic nitrites, and you ve got a perfectly unregulated cancer promoter consumed by millions of people every day
how to buy priligy in usa Phenytoin interferes directly with renal action of Dimazon 5