Shared Database Link Failing With ORA-00022 and ORA-02063 After Database Upgrade.
(Doc ID 1951983.1)
Last updated on FEBRUARY 19, 2020
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Database link stops working after upgrading the database to at least 188.8.131.52, either local, remote or both.
Database alert log file shows following errors when using the database link:
Error 22 trapped in 2PC on transaction 44.11.158430. Cleaning up.
Error stack returned to user:
ORA-00022: invalid session ID; access denied
ORA-02063: preceding line from TEST
It may possible to see error ORA-02048: "attempt to begin distributed transaction without logging on" as well.
Using shared database link and one of the involved databases get upgraded.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document