Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Running catalog.sql and catproc.sql a second time
There is no harm done by running catalog and catproc again, but I really
doubt that this will solve your problem.
You are probably not having a corruption (this would be signalled by other
errors than ORA-942), so in order to
locate the problem I suggest you consider setting the following event in
init.ora:
event="942 trace name errorstack forever, level 1"
This will create a tracefile in user_dump_dest each time an ORA-942 is raised. In this trace you will see the current SQL statement and determine if any wrong SQL is in fact issued.
HTH,
Gollum
"Mark Patterson" <mpatterson_at_iel.ie> wrote in message
news:3A9F9088.C586E303_at_iel.ie...
> Hi,
>
> I have a database that seems to occasionally display unwarranted error
> messages.
> For instance - our application will receive an "ORA-00942 table or view
> does not exist" error message when the table in question does in fact
> exist and the user has the correct privileges.
>
> This only occurs very infrequently, and most often the same statement
> works fine. It probably only fails on about one in a hundred executions.
>
> After exhaustively examining the database (fruitlessly!) I'm beginning
> to think there may be a corruption or error in the system views and/or
> tables. I would like to recreate these if possible.
>
> Is it possible to run catalog.sql and catproc.sql a second time without
> damaging the existing schema and stored procedures or can theses scripts
> only be run at database creation?
>
> Thanks,
> Mark.
>
Received on Fri Mar 02 2001 - 07:21:58 CST
![]() |
![]() |