Ora-12801,Ora-00018,Ora-06512 encountered running utlrp.sql
Hi All ,
I am on oracle version 11.1.0.7.0 and OS is solaris SPARC.
I am applying the CPU April 2011 patch..
I ran the catbundle.sql file and post that , most of views under sys schema got invalid.
So i ran @$ORACLE_HOME/cpu/view_recompile/recompile_precheck_jan2008cpu.sql
and
@$ORACLE_HOME/cpu/view_recompile/view_recompile_jan2008cpu.sql
Inspite of this they were invalid.
So i tried running utlrp.sql query and I facing these errors while running the query :
ERROR at line 1:
ORA-12801: error signaled in parallel query server P051
ORA-00018: maximum number of sessions exceeded
ORA-06512: at "SYS.UTL_RECOMP", line 760
ORA-06512: at line 4I increased the number of processes.. but still I am facing this error... I am searching on metalink also..
Any help would be appreciated..
Regards
Kk
Hi All ,
This issue is resolved.. I checked on Metalink for a similar solution , it was mentioned to do the following steps :
shutdown immediate
startup upgrade
shutdown immediate
startupDid these steps and i ran it again.. its working fine now.. All sys objects have been compiled successfully.
Also , i came across this :
Number of Sessions Exceeded During Database Creation While Executing SYS.UTL_RECOMP [ID 749359.1]
I would have tried to increase the number of sessions to a very high value if the above solution had not worked.
Thanks
Kk
Similar Messages
-
ORA-03113: end-of-file on communication channel while running utlrp.sql
Hi All,
I am getting ORA-03113: end-of-file on communication channel while running utlrp.sql.
Actually I ran utlrp.sql before in my test database and terminated the session in middle after that when ever I am running utlrp.sql i am getting the above error.
how to resolve the issue.
KiranHi,
Check as follows;
select owner,object_name,object_type from dba_objects where object_name like
'UTL%'The objects should only belong to SYS, if they do belong do some other user (example HR, etc). Drop objects belong to other users (not sys).
Then connect as sys as sysdba and rerun the script utlrp.sql.
You can also review Oracle Metalink Document: ORA-03113 Error When Executing Utlrp.sql: Doc ID: Note:413922.1
https://metalink.oracle.com/metalink/plsql/f?p=130:14:5496440446026841247::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,413922.1,1,1,1,helvetica
Adith -
For running utlrp.sql need users termination from the database?
Hai All,
My database jobs terminated in some time. So I want to run utlrp.sql for compiling all invalid objects. Is It needs users termination from the database? or login to restricted session? Please give a correct step for doing this activity..
Please help?
Shijudatabase? or login to restricted session? Please
give a correct step for doing this activity..
It is good , if you run utlrp.sql in restricted mode also set job_queue_processes =0 and check no dbms_job running package ( if package is valid then fine ). Problem only come when package/procedure are locked/in use by session. If invalid package are not used by any session then you can run utlrp.sql without restricted mode also. Well you know better you application.
Since you not altering any dependencies, just want to compile , you can run without restricted mode.
Virag -
How to run @?/rdbms/admin/utlrp.sql from OEM?
After I make database changes I have to run utlrp.sql to compile all the invalid objects. I know how to do it from the host. But now I'm running this release from the OEM as sql jobs.
Is there any equivalent of @?/rdbms/sadmin/utlrp.sql running from OEM?
error msg:
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
utl_recomp.recomp_parallel(threads);
ERROR at line 4:
ORA-06550: line 4, column 4:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
ORA-06550: line 4, column 4:
PL/SQL: Statement ignored
Elapsed: 00:00:00.01
SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
Elapsed: 00:00:00.00
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
ERROR at line 1:
ORA-00942: table or view does not existHi,
How can you create job in OEM to use EXEC UTL_RECOMP.recomp_serial(); inorder to compile all db objects.
I tried few things but all resulting in error.
I am creating OEM job as SQL script and where it ask for SQL script I am giving below code:
1.
WHENEVER SQLERROR EXIT FAILURE;
EXEC UTL_RECOMP.recomp_serial;Error:
SQL> SQL> SQL> SQL> SQL> BEGIN utl_recomp.recomp_serial ; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'UTL_RECOMP.RECOMP_SERIAL' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
2.when trying with using utlrp.sql:
WHENEVER SQLERROR EXIT FAILURE;
@?/rdbms/admin/utlrp.sql;Error:
SQL> SQL> SQL> SQL> SQL> SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
I can run utlrp.sql without any error manually from sql prompt as sys user.
I am login into OEM as SYSTEM user and also with user who has privilege for backup.
thanks, -
Running catpatch.sql hangs
Hi,
After I applied 9.2.0.8 patch set, I ran catpatch.sql. However, I noticed it hangs. I checked the alert<SID>.log , I see the following interesting line below:
Completed: ALTER DATABASE OPEN MIGRATE
Sat Jun 20 00:10:25 2009
Thread 1 cannot allocate new log, sequence 3805
All online logs needed archiving
Current log# 2 seq# 3804 mem# 0: C:\ORACLE\ORADATA\<DB_NAME>\REDO02.LOG
This is a development server. I've just learned that this server has archive mode on and automatic archiving is disabled. The drive free space is around 5 GB. I'm afraid that if I enable automatic archiving , this might eat up a lot of space although nobody is using it at this time except me.
Below are the values of parameters related to this hang:
OPEN_CURSORS = 300
SHARED_POOL_SIZE = 50331648
JAVA_POOL_SIZE = 33554432
JOB_QUEUE_PROCESSES = 0
SBGA_MAX_SIZE = 157818330
My question is What could be the cause of catpatch.sql hanging and what can I do to resolve this?
Edited by: user5470917 on Jun 19, 2009 4:14 PM
Edited by: user5470917 on Jun 19, 2009 4:18 PM
Edited by: user5470917 on Jun 19, 2009 4:34 PMYes, you are right nothing prevents me from deleting those archive log files.
What I did are:
1. Kill the hanging catpatch.sql session
2. shutdown
3. startup
4. Enable auto archiving using 'alter system set archive_log_start=true'
5. shutdown
6. startup migrate
7. Check auto archive using ' archive log list'
7. Run catpatch.sql
8. Run utlrp.sql
I have successfully ran the catpatch.sql and utlrp.sql
Thanks. -
Regarding running catcpu.sql after applying patch
Hi all,
database version: 11.2.0.2 (single instance)
Os: Windows 32-bit
I have applied a bug patch in oracle home 11.2.0.2, but as per the document i didn't run the catcpu.sql after applying the patch in my database.
After 1 month today i run the catcpu.sql in the database (Dev database), it gives the following sys objects invalid: (after running utlrp.sql also this persist)
DBMS_SCHEDULER
DBMS_ISCHED
DBMS_ISCHED_CHAIN_CONDITION
SCHEDULER$_JOB_EVENT_HANDLER
could anyone please help me.
Thanks in advanceuser12133150 wrote:
Hi all,
database version: 11.2.0.2 (single instance)
Os: Windows 32-bit
Pl identify exact OS version
>
I have applied a bug patch in oracle home 11.2.0.2, but as per the document i didn't run the catcpu.sql after applying the patch in my database.
Pl identify the patch number
After 1 month today i run the catcpu.sql in the database (Dev database), it gives the following sys objects invalid: (after running utlrp.sql also this persist)
DBMS_SCHEDULER
DBMS_ISCHED
DBMS_ISCHED_CHAIN_CONDITION
SCHEDULER$_JOB_EVENT_HANDLER
could anyone please help me.
Thanks in advancePl identify why you ran catcpu.sql after 1 month.
Pl compile these objects manually and post the compilation error here
HTH
Srini -
UTLRP.SQL run very long, how to check ?
Hello all
Need your help and advice on my problem that i facing now,
I did to recompile all the object in oracle using
@UTLRP.SQL in $ORACLE_HOME\rdbms\admin
The sql was running about 4 hours but still running, but actually i dont know is it hang or still running
My question is
- is this normal, since that already run for 4 hours
- how to check whether is still running or hang, I did check on the task manager, the oracle.exe keep moving
- Can i cancell it ? any problem later on if i cancel it ?
- Is there any log to check
Sorry so many question, need all of your advice
Thanks in advance
Cheers
SuryaYou can check the decreasing number of invalid objects using below query:
select count(*) from dba_objects where status = 'INVALID'You can also check session waits for that session that is running utlrp.sql
With kind regards
Krystian Zieja
http://www.projectenvision.com -
ORA-12801 error signalled in parallel query with ORA-00018 max # session
Hello,
I've just run dbca to create a new database. On completion I received the following:
ORA-12801 error was signalled in parallel query server
ORA-00018 maximum number of sessions exceeded
ORA-06512 at sys_utl_recomp line 760
ORA-06512 as sys_utl_recomp line 773
ORA-06512 as sys_utl_recomp line 1
The processes are set at 100, sessions is set at 115?
Can you tell how to address this error and resolve the problem? I'm thinking that I should rerun sys_utl_recompHi,
You didn't mention oracle version as well OS.
might be you hit a bug.
check the below link for reference
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:8051847734518941130::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,21564.1,1,1,1,helvetica
Regards,
Taj -
ENCOUNTER ORA-29558 WHILE RUNNING INITJVM.SQL ORA-29558
Hi,
Anyone know, can the below error message be ignore? Can the javavm still function if the NCOMP is not install? Is there any way to do a manual installation rather then using the universal installer?
Thank You.
While running initjvm.sql script, i encountered the below error message.
ERROR at line 1:
ORA-29558: JAccelerator (NCOMP) not installed. Refer to Install Guide for
instructions.
ORA-06512: at "SYS.DBMS_JAVA", line 236loobs,
To avoid error "ORA-29558: JAccelerator (NCOMP) not installed" you must install Oracle 10G Products from Companion CD to the same directory where you installed Oracle DB 10g.
Nicolas. -
ORA-12801 ORA-08103 while running gather schema stats in R12
Hi All,
We have recently upgraded from 11.5.9 to R12.1.1 on RHEL 4.8
Database version is 10.2.0.5
We are running Gather schema stats on R12.1.1 but its Errored out with below messages.
ORA-12801: error signaled in parallel query server P006
GL.GL_JE_LINES
ORA-08103 : object no longer exists
Please advice if anybdy face this issue.
Thanks
RBPlease see (GATHER SCHEMA STATISTICS COMPLETED WITH ERROR WHEN RUNNING FOR GL SCHEMA. [ID 1068541.1]).
Thanks,
Hussein -
ORA-12801 + ORA-08103 + ORA-06512
Hi All,
Sun OS
Oracle 9.2.0.8
Today our statistics job has failed due to the below error, DBMS_STATS package is present in the DB but don’t know about the failure reason. If it’s an oracle bug does anyone know the patch number/metalink doc id ?
MYDB> BEGIN DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'MYSCHEMA'
,degree=>4 ,cascade=>TRUE
,estimate_percent => 5); END;
ERROR at line 1:
ORA-12801: error signaled in parallel query server P004
ORA-08103: object no longer exists
ORA-06512: at "SYS.DBMS_STATS", line 10502
ORA-06512: at "SYS.DBMS_STATS", line 10996
ORA-06512: at "SYS.DBMS_STATS", line 11183
ORA-06512: at "SYS.DBMS_STATS", line 11237
ORA-06512: at "SYS.DBMS_STATS", line 11214
ORA-06512: at line 1
ONDWP> select owner,object_name,object_type,status from dba_objects where object_name='DBMS_STATS';
OWNER OBJECT_NAME OBJECT_TYPE STATUS
SYS DBMS_STATS PACKAGE VALID
PUBLIC DBMS_STATS SYNONYM VALID
SYS DBMS_STATS PACKAGE BODY VALIDThanks sysbrand.
Yes I did googling, still doing :) .. but did not get any suitable result.
You are right 8103 is not related to dbms_package, thanks for currecting me .. any idea which object this package would have refered in these lines ?
I have tried for the trace files but not able to identify the trc files. I also checked the invlid objects in sys schema but did not find anything.
Thanks
Nishant -
Data Load is erroring out with ORA-12801 ORA-01031
Hello,
I am having Oracle 11.1.0.7 on AIX and we are loading data through Informatica.
There are 7 tables in the database that are big and we enabled parallelism with the degree of 2.
When we run the informatica session for loading data the session is failing with the error -
Severity Timestamp Node Thread Message Code Message
ERROR 5/10/2011 4:33:09 PM node01_wpg1pedw001 POST-SESS TM_6159 An error occurred executing the stored procedure.
TM_6159 [4294965496] [
ORA-12801: error signaled in parallel query server P000
ORA-01031: insufficient privileges
ORA-06512: at "POL_ODS.DELETE_LATEST_POLICY_1", line 4
ORA-06512: at line 2
Database driver error...
Function Name : ExecuteSP
Oracle Fatal Error
Database driver error...
Function Name : ExecuteSP
Oracle Fatal Error]Trace file is giving me this output -
=====================
PARSING IN CURSOR #3 len=152 dep=1 uid=73 oct=7 lid=73 tim=2806650507771 hv=2692072913 ad='700000b32b206c0' sqlid='835qyt2h7bjfj'
DELETE FROM LIENHOLDER WHERE LIEN_POLICY_12_SEGMENT_ID IN (SELECT POL_SEG_12_ID FROM POLICY12SEGMENT WHERE POLICY_ID IN (SELECT POLICY_ID FROM DEL_POL))
END OF STMT
PARSE #3:c=20000,e=31779,p=0,cr=181,cu=3,mis=1,r=0,dep=1,og=1,plh=449661848,tim=2806650507771
kxfpgsg
Error 12801 encountered
EXEC #3:c=10000,e=111135,p=0,cr=28,cu=0,mis=0,r=0,dep=1,og=1,plh=449661848,tim=2806650618906
ERROR #3:err=12801 tim=2806650618906
STAT #3 id=1 cnt=0 pid=0 pos=1 obj=0 op='DELETE LIENHOLDER (cr=0 pr=0 pw=0 time=0 us)'
STAT #3 id=2 cnt=0 pid=1 pos=1 obj=0 op='PX COORDINATOR (cr=0 pr=0 pw=0 time=0 us)'
STAT #3 id=3 cnt=0 pid=2 pos=1 obj=0 op='PX SEND QC (RANDOM) :TQ10002 (cr=0 pr=0 pw=0 time=0 us cost=95123 size=6011574 card=117874)'
STAT #3 id=4 cnt=0 pid=3 pos=1 obj=0 op='HASH JOIN RIGHT SEMI (cr=0 pr=0 pw=0 time=0 us cost=95123 size=6011574 card=117874)'
STAT #3 id=5 cnt=0 pid=4 pos=1 obj=0 op='PX RECEIVE (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
STAT #3 id=6 cnt=0 pid=5 pos=1 obj=0 op='PX SEND BROADCAST :TQ10001 (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
STAT #3 id=7 cnt=0 pid=6 pos=1 obj=0 op='VIEW VW_NSO_1 (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1472328 card=113256)'
STAT #3 id=8 cnt=0 pid=7 pos=1 obj=0 op='HASH JOIN (cr=0 pr=0 pw=0 time=0 us cost=88665 size=1925352 card=113256)'
STAT #3 id=9 cnt=0 pid=8 pos=1 obj=0 op='BUFFER SORT (cr=0 pr=0 pw=0 time=0 us)'
STAT #3 id=10 cnt=0 pid=9 pos=1 obj=0 op='PX RECEIVE (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
STAT #3 id=11 cnt=0 pid=10 pos=1 obj=0 op='PX SEND BROADCAST :TQ10000 (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
STAT #3 id=12 cnt=0 pid=11 pos=1 obj=55756 op='TABLE ACCESS FULL DEL_POL (cr=0 pr=0 pw=0 time=0 us cost=27 size=314700 card=62940)'
STAT #3 id=13 cnt=0 pid=8 pos=2 obj=0 op='PX BLOCK ITERATOR (cr=0 pr=0 pw=0 time=0 us cost=88594 size=160428864 card=13369072)'
STAT #3 id=14 cnt=0 pid=13 pos=1 obj=70801 op='TABLE ACCESS FULL POLICY12SEGMENT (cr=0 pr=0 pw=0 time=0 us cost=88594 size=160428864 card=13369072)'
STAT #3 id=15 cnt=0 pid=4 pos=2 obj=0 op='PX BLOCK ITERATOR (cr=0 pr=0 pw=0 time=0 us cost=6434 size=265286208 card=6981216)'
STAT #3 id=16 cnt=0 pid=15 pos=1 obj=70798 op='TABLE ACCESS FULL LIENHOLDER (cr=0 pr=0 pw=0 time=0 us cost=6434 size=265286208 card=6981216)'
CLOSE #3:c=0,e=0,dep=1,type=0,tim=2806650618906
EXEC #2:c=30000,e=142914,p=0,cr=209,cu=3,mis=0,r=0,dep=0,og=1,plh=0,tim=2806650618906
ERROR #2:err=12801 tim=2806650618906
=====================The Table LIENHOLDER is not set for parallelism and is not amount 7 of those tables. But even when we enabled parallelism with degree of 2 on LIENHOLDER, it is still thowing out this error message.
I have granted DBA role to POL_ODS who owns this procedure POL_ODS.DELETE_LATEST_POLICY_1.
Waiting for your inputs and hope to hear from the Oracle & Informatica experts soon.
Thanks!Thanks for your reply Karluk & hoek.
Just to let you know, we are encountering this problem when I enable parallelism on the 7 tables.
TABLE_NAME DEGREE
POLICY30SEGMENT 2
POLICY03SEGMENT 2
POLICY 2
POLICY12SEGMENT 2
POLICY35SEGMENT 2
POLICY45SEGMENT 2
VEHICLECOVERAGE 2Proc DELETE_LATEST_POLICY_1 is owned by POL_ODS and this job is run by POL_ODS itself. This PROC does delete. Yes, LEINHOLDER is owned by POL_ODS only so there is no need to grant DELETE on this table to it's own schema.
As stated in my the trace file, the DELETE statement that it was running was -
DELETE FROM LIENHOLDER WHERE LIEN_POLICY_12_SEGMENT_ID IN (SELECT POL_SEG_12_ID FROM POLICY12SEGMENT WHERE POLICY_ID IN (SELECT POLICY_ID FROM DEL_POL))In this POLICY12SEGMENT is enabled for parallelism but not LIENHOLDER or DEL_POL.
If I don't have parallelism on these 7 tables then the PROC runs fine and it does the delete as expected.
Hope I am clear this time.
Thanks for your time Guys!
Edited by: user608897 on May 10, 2011 6:32 PM -
ORA-12801: error signaled in parallel query server P001 and ORA-01008:
I am trying to refresh a refresh group i am getting the below error. This refresh group is on a database RIO12. All Mviews on this database point to target database - TRIO23 (which has master tables) using database link. The refresh group has 21 Mviews. Mview ACCOUNT is one of them i am getting the below error.
BEGIN dbms_refresh.refresh('PLATS.PLATS_RG'); END;
ERROR at line 1:
ORA-12048: error encountered while refreshing materialized view "PLATS"."ACCOUNT"
ORA-12801: error signaled in parallel query server P001
ORA-01008: not all variables bound
ORA-02063: preceding 2 lines from TRIO23
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2254
ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2460
ORA-06512: at "SYS.DBMS_IREFRESH", line 683
ORA-06512: at "SYS.DBMS_REFRESH", line 195
ORA-06512: at line 1
TRIO23 is oracle version 10.2.0.5.0, RIO12 is oracle version 10.2.0.3.0
Refreshing PLATS_RG refresh group has no problems from last 2 years, other 20 MViews when executed manually they are refreshed. Please help me in resolving this error. Thanks.Do you have cursor_sharing set to force or similar? if so then you may be hitting bug Bug 5863277. Please confirm with Oracle support.
thanks -
ORA-12801: error signaled in parallel query server
Hi all
What are the basic reasons of this error:
ORA-12801: error signaled in parallel query server
I have received this error while running report>>>What are the basic reasons of this error:
ORA-12801: error signaled in parallel query server string
Cause: A parallel query server reached an exception condition.
Action: Check the following error message for the cause, and consult your error manual for the appropriate action. -
Regarding ORA-12801,ORA-01843 error
Hi all,
When I am running the mapping I am getting the
ORA-12801: error signaled in parallel query server P079
ORA-01843: not a valid month error
My mapping was validated and deployed suceesfully.
Please give me the suggestions.
Thanks,
VenkatIs the source field a date field or a varchar? Sounds like you are hitting a source data error.
Try grabbing the insert (or merge, or whatever) statement from the mapping and running it on its own. If that fails with the same error, then try running the select portion of the statement to debug for the error.
Assuming that you are using a to_Date function and if you are having real trouble finding the data error, you at least know which table the field is being sourced from. Run a little test - something like:
declare
cursor curs is select the_source_field from the_source_table;
begin
for rec in curs loop
declare
dateval date
begin
dateval := to_Date(rec.the_source_field,'yyyymmdd'); --or whatever format mask it is you are using
exception
when others then
dbms_output.put_line('FAILED TO_DATE ON SOURCEVAL: '||rec.the_source_field||' with error: '||substr(sqlerrm,1,150));
end;
end loop;
end;Once you know the problems with the data then you can consider how best to deal with them.
Cheers,
Mike
Maybe you are looking for
-
Can NOT get mozilla fire fox browser to close
I am changing over to Google Chrome and I went into my control Panel to delete Mozilla Fire Fox Browser and it Says that I must close the browser first. I HAVE IT CLOSED . I am trying to change browsers because My Adobe Flash Player CRASHED and I can
-
Where is the "allow objects on slide to layer with master" in Keynote 6??
Upgrading to Keynote 6 has broken my presentations. I had borders on the master slides, supposed to appear over any other content. Now the content of the slides systematically goes over the master slide. I searched the web and found that in previous
-
ECCS : custom characteristics into standard report selection screen
Hello guys, I have added a custom characteristic which is also a subasignment to the EC-CS module. This field now appears into the standard report selection screen as expected. I want to define this field as a mandatory selection field, do you know i
-
Calculate Excise amount as per duty rates check box in J1IEX
Hi, In J1IEX Duty rates tab, there is one check box as Calculate excise duty base on duty rates , but thta check box is Disable i How to make it as enable so that we can click to to recalculate the excise rate, also my problem is that i
-
Hi, I want to schedule an ABAP report program, the selection screen inputs are in a Z table, is it possible to change the value of variant so that report gets executed for each record selected from a Z table. Thanks, Sai.