Cannot Connect with dbsnmp; ORA-01031 on another user's stored proc
Hi, DBAs
This is Enterprise Manager 12.1.0.4 on Linux x86_64. I've just struggled to register a five-instance, 11.2.0.4 cluster database, and find that seeded user dbsnmp cannot connect to the new, open database. It's also Linux x86_64. System and sys can connect.
The dbsnmp account returns these errors when I try to connect with Toad and Enterprise Manager:
ORA-00604: error occurred at recursive SQL level 1
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SESSION", line 114
ORA-06512: at "MFIVE.MAINT_CONTEXT_PKG", line 33
ORA-06512: at line 2
The MFIVE schema is part of an application installed on the databases. The package MAINT_CONTEXT_PKG does use DBMS_SESSION.SET_CONTEXT on line 33. The package spec and body are valid.