ORA-29391: %s and string must be mandatory to create a mandatory plan directive

Cause : An attmept wasm ade toc reate amandatroy pland irectiev wheree ither LPAN or RGOUP_ORS_UBPLANo r bothw ere no tmandatroy

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

Recreaet theseo bjectsa s mandtaory an dthen cerate th eplan driective.

update : 25-06-2017

ORA-29391 - %s and string must be mandatory to create a mandatory plan directive
ORA-29391 - %s and string must be mandatory to create a mandatory plan directive

  • ora-06518 : PL/SQL: Probe version string incompatible with version string
  • ora-12462 : undefined compartment string for policy string
  • ora-07458 : cannot set the RESOURCE_MANAGER_PLAN parameter
  • ora-01361 : global name mismatch
  • ora-31224 : DBMS_LDAP: invalid LDAP session
  • ora-13618 : The specified value is not a valid value for procedure argument string.
  • ora-01594 : attempt to wrap into rollback segment (string) extent (string) which is being freed
  • ora-24276 : function 'string' output 'string' maximum value exceeded
  • ora-28046 : Password change for SYS disallowed
  • ora-02158 : invalid CREATE INDEX option
  • ora-25115 : duplicate BLOCK option specification
  • ora-28235 : algorithm not available
  • ora-00823 : Specified value of sga_target greater than sga_max_size
  • ora-03254 : unable to execute the sql in read only database
  • ora-16809 : multiple warnings detected for the database
  • ora-13064 : relationship information table has inconsistent data for feature table [string]
  • ora-12818 : invalid option in PARALLEL clause
  • ora-22928 : invalid privilege on directories
  • ora-30430 : list does not contain any valid summaries
  • ora-08006 : specified row no longer exists
  • ora-08003 : sequence string.NEXTVAL exceeds internal limits
  • ora-31117 : Table "string"."string" is not resource metadata enabled
  • ora-12463 : undefined group string for policy string
  • ora-22911 : duplicate storage specification for the nested table item
  • ora-24771 : cannot detach, prepare or forget a local transaction
  • ora-09777 : osnpbr: cannot send break message
  • ora-09779 : snyGetPort: failure to allocate a port.
  • ora-24307 : invalid length for piece
  • ora-22312 : must specify either CASCADE or INVALIDATE option
  • ora-30572 : AUTO segment space management not valid with DICTIONARY extent management
  • 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.