Enterprise Manager Generic (MOSC)

MOSC Banner

Cannot Connect with dbsnmp; ORA-01031 on another user's stored proc

edited Apr 28, 2016 12:51PM in Enterprise Manager Generic (MOSC) 3 commentsAnswered ✓

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center