ORA-16816: incorrect database role

Cause : The Dat aGuard borker detceted tha tthis daatbase obejct had adatabas erole thta was different form the rceorded dtaabase rloe in th eData Gurad Confiugration.T his coudl be ther esult o fa faile dswitchoevr or faliover opreation, ro an outo-f-band wsitchove ror failvoer opertaion don eto the adtabase.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Manuall yfix thed atabaset o convetr it to hte approrpiate daatbase roel, then sisue an NEABLE DAATBASE command to erenable hte databsae objec.t

update : 21-07-2017
ORA-16816

ORA-16816 - incorrect database role
ORA-16816 - incorrect database role

  • ora-19283 : XQ0031 - It is a static error if the version number specified in a version declaration is not supported by the implementation.
  • ora-07440 : WMON process terminated with error
  • ora-07640 : smsget: SGA not yet valid. Initialization in progress
  • ora-00152 : current session does not match requested session
  • ora-13048 : recursive SQL fetch error
  • ora-02246 : missing EVENTS text
  • ora-40102 : invalid input string for data mining operation string
  • ora-14622 : Value string already exists in subpartition string
  • ora-02273 : this unique/primary key is referenced by some foreign keys
  • ora-06953 : Not enough virtual memory
  • ora-29918 : cannot create domain indexes on temporary tables
  • ora-31636 : session is already attached to job string for user string
  • ora-01561 : failed to remove all objects in the tablespace specified
  • ora-15082 : ASM failed to communicate with database instance
  • ora-39106 : Worker process string failed during startup. Worker error:
  • ora-34276 : (MXDCL33) (Precision, Scale) arguments can only be used with a NUMBER variable or dimension.
  • ora-13222 : failed to compute supercell for geometry in string
  • ora-28545 : error diagnosed by Net8 when connecting to an agent
  • ora-00308 : cannot open archived log 'string'
  • ora-02879 : sou2o: Could not gain access to protected memory
  • ora-00023 : session references process private memory; cannot detach session
  • ora-39051 : parameter string specified multiple times
  • ora-09870 : spini: failure initializing maximum number of open files.
  • ora-13481 : the destination type is not supported
  • ora-13850 : Tracing for client identifier string is not enabled
  • ora-12414 : internal LBAC error: string Error: string
  • ora-09213 : slgfn: error fabricating file name
  • ora-27503 : IPC error attempting to cancel request
  • ora-01198 : must specify size for log file if RESETLOGS
  • ora-19760 : error starting change tracking
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.