My Oracle Support Banner

Datapatch fails with Error: 'ORA-04063: package body "SYS.DBMS_SMB_INTERNAL" has errors' (Doc ID 3002740.1)

Last updated on FEBRUARY 08, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Datapatch fails with the following error:

'validating logfiles...done
Patch NNNNN rollback: WITH ERRORS
logfile: $ORALCE_BASE/cfgtoollogs/sqlpatch/PatchNNNNN/XXXXX/PatchNNNNN_rollback_ORCL_<timestamp>.log (errors)
-> Error at line 20702: script rdbms/admin/execsmb.sql
- ORA-04063: package body "SYS.DBMS_SMB_INTERNAL" has errors
- ORA-06508: PL/SQL: could not find program unit being called:
- "SYS.DBMS_SMB_INTERNAL"
- ORA-06512: at line 1

PatchNNNNN_rollback_ORCL_<timestamp>.log shows:

SQL> exec dbms_smb_internal.init_smb();
BEGIN dbms_smb_internal.init_smb(); END;
*
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_SMB_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_SMB_INTERNAL"
ORA-06512: at line 1

 

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.