All objects invalid in ORACLE

Posted on 2005-05-10
Last Modified: 2008-01-09
All the stored procedures, functions etc in the Oracle is now invalid. Not sure why...

Whenever I logged on there is this error

ORA-06533: PLS-213: package STANDARD not accessible
Error accessing package DBMS_APPLICATION_INFO

When I do a compile on the object, like alter procedure xxx compile, it gives me the following.

ORA-06554: package DBMS_STANDARD must be created before using PL/SQL

I read about running some scripts in the ADMIN directory. So farm I have tried standard.sql and a few others using the SYS user but its still the same.

Any help is much appreciated. Thanks.
Question by:davidnlt
    LVL 25

    Expert Comment

    Was the DB working before?  What version are you on?
    LVL 2

    Author Comment

    It was working before this. I have loaded 4 schemas insides. Not sure why its invalid now.

    Version :
    LVL 12

    Accepted Solution


    Did you run catproc.sql after you build your database?

    You can rebuild all the packages by running catproc.sql while logging in as internal or sys. The catproc.sql is under $ORACLE_HOME/rdbms/admin.

    LVL 2

    Author Comment

    Its okay now after I run standard.sql and dbmsstd.sql (as recommended from Oracle). It did not work previously because there was 2 version of Oracle on the server and I ran the wrong scripts.

    Anyway, thanks for the reply.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
    Creating and Managing Databases with phpMyAdmin in cPanel.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now