Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Hosing of Data Dict by "catalog.sql"
I would try to just re-run catalog.sql first.
>>> jadam_at_nhes.state.nh.us 10/30/01 09:15AM >>> Greetings fellow DBAs,
I have one small Oracle8i (8.1.6) database (noarchivelog mode) installation on a Windows/NT 4 box to which I believe I have done some serious damage. Long story short - I inadvertently kicked off the build script for the database which lives there.
The first thing the script did was an "oradim", trying to recreate the service which was already running. I don't think that caused any problems but I haven't been able to locate any log of the event to indicate one way or the other.
The second thing it did was try to "startup nomount" and "create database" which of course outright failed - no problem.
But, the third script which fired caused the problem. After a series of "create tablespace" and etc. failures, the "catalog.sql" script started up. It was in the process of reading in the first "create package" statement (consisting of about 2500 text lines) in preparation for executing when I cut it off. I thought I had gotten it before it even had read through to the end of that "create package". But apparantly not so. It must have executed some of the statements within that definition (e.g. "create package body", etc.), because though everything looked fine thereafter, I tried to do a full database export and received the following result:
0 rows exported
ORA-06552: PL/SQL: Compilation unit analysis terminated ORA-06553: PLS-905: object SYS.AQ$_SUBSCRIBERS is invalid ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_SYS_SQL", line 1076 ORA-06512: at "SYS.DBMS_SQL", line 316 ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 84 ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 135 ORA-06512: at line 1 EXP-00000: Export terminated unsuccessfully =============================================
In my mind, I have the following options:
(1) Try to just execute the full "catalog.sql" script again and
see if that clears up the problem.
(2) Export just the users, their schemas and data, recreate
the database and import the users again.
(3) Restore the datafiles from a week-old cold backup,
drop the users, then import the same kind of export I mentioned in #2.
Any thoughts or opinions would be greatly appreciated. Thanks in advance.
Jim Damiano
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: James Damiano INET: jadam_at_nhes.state.nh.us Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Richard Ji INET: rji_at_exenet.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Oct 30 2001 - 08:40:39 CST
![]() |
![]() |