Fail running @/oracle/product/infra/rdbms/admin/utlrp.sql in Oracle RAC DB
Dear Expert,
I have issue when running recompile db by using below statement in Oracle RAC db.
SELECT dbms_registry.time_stamp('utlrp_bgn') as timestamp from dual
ERROR at line 1:
ORA-00904: "DBMS_REGISTRY"."TIME_STAMP": invalid identifier
Regard
Liang
timestamp not found below
SQL> desc dbms_registry
PROCEDURE CHECK_SERVER_INSTANCE
FUNCTION COMP_NAME RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE DELETE_PROGRESS_ACTION
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
PROCEDURE DOWNGRADED
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
OLD_VERSION VARCHAR2 IN
PROCEDURE DOWNGRADING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
OLD_NAME VARCHAR2 IN DEFAULT
OLD_PROC VARCHAR2 IN DEFAULT
OLD_SCHEMA VARCHAR2 IN DEFAULT
OLD_PARENT VARCHAR2 IN DEFAULT
FUNCTION GET_DEPENDENT_COMPS RETURNS COMP_DEPEND_LIST_T
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION GET_DEPENDENT_COMPS_REC RETURNS TABLE OF RECORD
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION GET_PROGRESS_STEP RETURNS NUMBER
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
FUNCTION GET_PROGRESS_VALUE RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
FUNCTION GET_REQUIRED_COMPS RETURNS COMP_DEPEND_LIST_T
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION GET_REQUIRED_COMPS_REC RETURNS TABLE OF RECORD
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE INVALID
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION IS_COMPONENT RETURNS BOOLEAN
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION IS_IN_REGISTRY RETURNS BOOLEAN
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION IS_LOADED RETURNS NUMBER
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
VERSION VARCHAR2 IN DEFAULT
FUNCTION IS_STARTUP_REQUIRED RETURNS NUMBER
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION IS_VALID RETURNS NUMBER
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
VERSION VARCHAR2 IN DEFAULT
PROCEDURE LOADED
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_VERSION VARCHAR2 IN DEFAULT
COMP_BANNER VARCHAR2 IN DEFAULT
PROCEDURE LOADING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_NAME VARCHAR2 IN
COMP_PROC VARCHAR2 IN DEFAULT
COMP_SCHEMA VARCHAR2 IN DEFAULT
COMP_PARENT VARCHAR2 IN DEFAULT
PROCEDURE LOADING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_NAME VARCHAR2 IN
COMP_PROC VARCHAR2 IN
COMP_SCHEMA VARCHAR2 IN
COMP_SCHEMAS SCHEMA_LIST_T IN
COMP_PARENT VARCHAR2 IN DEFAULT
FUNCTION NOTHING_SCRIPT RETURNS VARCHAR2
FUNCTION PREV_VERSION RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE REMOVED
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE REMOVING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE RESET_VERSION
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SCHEMA RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SCHEMA_LIST RETURNS SCHEMA_LIST_T
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SCHEMA_LIST_STRING RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SCRIPT RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
SCRIPT_NAME VARCHAR2 IN
FUNCTION SCRIPT_PATH RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SCRIPT_PREFIX RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION SESSION_NAMESPACE RETURNS VARCHAR2
PROCEDURE SET_COMP_NAMESPACE
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
NAMESPACE VARCHAR2 IN
PROCEDURE SET_PROGRESS_ACTION
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
VALUE VARCHAR2 IN DEFAULT
STEP NUMBER IN DEFAULT
PROCEDURE SET_PROGRESS_STEP
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
STEP NUMBER IN
PROCEDURE SET_PROGRESS_VALUE
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
ACTION VARCHAR2 IN
VALUE VARCHAR2 IN
PROCEDURE SET_REQUIRED_COMPS
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_DEPEND_LIST COMP_DEPEND_LIST_T IN
PROCEDURE SET_REQUIRED_COMPS
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_DEPEND_LIST TABLE OF RECORD IN
PROCEDURE SET_SESSION_NAMESPACE
Argument Name Type In/Out Default?
NAMESPACE VARCHAR2 IN
PROCEDURE STARTUP_COMPLETE
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
PROCEDURE STARTUP_REQUIRED
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION STATUS RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION STATUS_NAME RETURNS VARCHAR2
Argument Name Type In/Out Default?
STATUS NUMBER IN
FUNCTION SUBCOMPONENTS RETURNS TABLE OF VARCHAR2(30)
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_OPTION NUMBER IN DEFAULT
PROCEDURE UPDATE_SCHEMA_LIST
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
COMP_SCHEMAS SCHEMA_LIST_T IN
PROCEDURE UPGRADED
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
NEW_VERSION VARCHAR2 IN DEFAULT
NEW_BANNER VARCHAR2 IN DEFAULT
PROCEDURE UPGRADING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
NEW_NAME VARCHAR2 IN DEFAULT
NEW_PROC VARCHAR2 IN DEFAULT
NEW_SCHEMA VARCHAR2 IN DEFAULT
NEW_PARENT VARCHAR2 IN DEFAULT
PROCEDURE UPGRADING
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
NEW_NAME VARCHAR2 IN
NEW_PROC VARCHAR2 IN
NEW_SCHEMA VARCHAR2 IN
NEW_SCHEMAS SCHEMA_LIST_T IN
NEW_PARENT VARCHAR2 IN DEFAULT
PROCEDURE VALID
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
FUNCTION VERSION RETURNS VARCHAR2
Argument Name Type In/Out Default?
COMP_ID VARCHAR2 IN
SQL>
Similar Messages
-
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, -
Hi All,
We are in process of CU&UC during the unicode process , we have exported the DB and during Import during create database phase we are facing this problem..
Please suggest.....
@@/oracle/RSS/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
Thanks,
Subhash.GSome more errors:
Below error from sapinst.log for reference .
INFO 2007-11-03 06:19:35 Removing file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/ora_query3_tmp0_1.sql. INFO 2007-11-03 06:19:35 Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/CENTRAL/AS-ABAP/ora_query3_tmp0_1.sql. ERROR 2007-11-03 06:43:42 CJS-00084 SQL statement or script failed.
DIAGNOSIS: Error message: ORA-955 for defaultdest ERROR 2007-11-03 06:43:45 MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined. ERROR 2007-11-03 06:43:47 FCO-00011 The step runCatprocSql with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql was executed with status ERROR . INFO 2007-11-03 06:53:37 An error occured and the user decide to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql"
Error from ora_sql.log
@@/oracle/RSS/102_64/rdbms/admin/catproc.sql exit; Executed with error.
Thanks -
How to run @?/rdbms/admin/utlrp.sql remotely
After running patch set assistant against MDS schema using jython script, I need to run the sql file utlrp to recompile the db objects and the db machine is remote and I would like to run remotely. Any suggestions.
ThanksYou can execute remote scripts via SQL*Plus - provided that there is a network access path to that remote script.
From the SQL*Plus command line help:
SQL> help @
@ ("at" sign)
Runs the SQL*Plus statements in the specified script. The script can be
called from the local file system or a web server.
@ {url|file_name[.ext]} [arg ...]
where url supports HTTP and FTP protocols in the form:
http://host.domain/script.sql
@@ (double "at" sign)
Runs the specified script. This command is almost identical to
the @ command. It is useful for running nested scripts because it
has the additional functionality of looking for the nested script
in the same url or path as the calling script.
@@ {url|file_name[.ext]} [arg ...]Both HTTP and FTP access to remote scripts are supported. If you do not have either, then you need to copy that remote script to a local location and execute it, via SQL*Plus, from there. -
$ORACLE_HOME/rdbms/admin/utlrp.sql
Hi,
can i use this script to compile all my invalids objects without auther effects on my product DB?
Thanks.Are there invalid objects on your DB at this time.
Normally this may happen at the time of migrating or upgrading a application and the script could be used to compile all invalid objects to save on recompile steps at runtime.
Note this from the comments in the file:
<quote>
Rem * There should be no other DDL on the database while running the
Rem script. Not following this recommendation may lead to deadlocks.
</quote> -
Hello all,
When using brtools, the following error pops up. Appreciate if you could share some hints. thanks.
> brtools
BR0651I BRTOOLS 7.00 (43)
BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
BR0253E errno 13: Permission denied
BR0273E Determination of file status for /oracle/QAA/102_64/rdbms/admin/log failed
BR0280I BRTOOLS time stamp: 2010-05-07 14.20.41
BR0654I BRTOOLS terminated with errors
Kind regards
Raymond>
Raymond Yuan wrote:
> BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
> BR0253E errno 13: Permission denied
>
Hello,
now this message is pretty obvious. So the needed information would be:
ls -ld /oracle/QAA/102_64/rdbms/admin
ls -ld /oracle/QAA/102_64/rdbms/admin/log
ls -ld brtools
id
and then compare if the user executing brtools has appropiate rights.
Most likely you did not run saproot.sh so brtools might not be set suid to oraqaa
and you are executing as qaaadm.
Best regards
Volker -
Ello,
I create a base manually
when I execute the command
sqlplus /nolog
connect /as sysdba
@Oracle_express\app\oracle\product\11.2.0\server\rdbms\admin\catalog.sql
a the end I have the error
Comment created.
Comment created.
Grant succeeded.
DOC>######################################################################
DOC>######################################################################
DOC> The following PL/SQL block will cause an ORA-20000 error and
DOC> terminate the current SQLPLUS session if the user is not SYS.
DOC> Disconnect and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
DECLARE
ERROR at line 1:
ORA-06553: PLS-213: package STANDARD not accessible
Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
Somebody have an idea for resolve my issue please ??
ThankTRy this may help u
CLASSY DBA: ORA-06553: PLS-213: package STANDARD not accessible -
@/vobs/oracle/rdbms/admin/catproc.sql error message
After setting up 9i DB manually when i ran this script all went well with few errors , i am wondering these errors are ignoreable ....
@/vobs/oracle/rdbms/admin/catproc.sql
Grant succeeded.
drop package body sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
drop package sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
Package created.
Package body created.
drop package body sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
drop package sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
Package created.
ERROR at line 1:
ORA-04043: object PSTUBT does not exist
Procedure created.
Grant succeeded.
drop procedure sys.pstub
ERROR at line 1:
ERROR at line 1:
ORA-04043: object SUBPTXT2 does not exist
Procedure created.
drop procedure sys.subptxt
ERROR at line 1:
ORA-04043: object SUBPTXT does not exist
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE_TABLE does not exist
drop type dbms_xplan_type
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE does not exist
Type created.
ERROR at line 1:
ORA-00942: table or view does not exist
DROP TABLE ODCI_WARNINGS$
ERROR at line 1:
ORA-00942: table or view does not exist
Type created.
Table truncated.
drop sequence dbms_lock_id
ERROR at line 1:
ORA-02289: sequence does not exist
Sequence created.
drop table SYSTEM.AQ$_Internet_Agent_Privs
ERROR at line 1:
ORA-00942: table or view does not exist
drop table SYSTEM.AQ$_Internet_Agents
ERROR at line 1:
ORA-00942: table or view does not exist
Table created.
DROP SYNONYM def$_tran
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_call
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_defaultdest
ERROR at line 1:
DROP TYPE SYS.ExplainMVMessage FORCE
ERROR at line 1:
ORA-04043: object EXPLAINMVMESSAGE does not exist
Type created.
drop view sys.transport_set_violations
ERROR at line 1:
ORA-00942: table or view does not exist
PL/SQL procedure successfully completed.
drop table sys.transts_error$
ERROR at line 1:
ORA-00942: table or view does not exist
drop operator XMLSequence
ERROR at line 1:
ORA-29807: specified operator does not exist
drop function XMLSequenceFromXMLType
ERROR at line 1:
ORA-04043: object XMLSEQUENCEFROMXMLTYPE does not exist
drop function XMLSequenceFromRefCursor
ERROR at line 1:
drop function XMLSequenceFromRefCursor2
ERROR at line 1:
ORA-04043: object XMLSEQUENCEFROMREFCURSOR2 does not exist
drop type XMLSeq_Imp_t
ERROR at line 1:
ORA-04043: object XMLSEQ_IMP_T does not exist
drop type XMLSeqCur_Imp_t
ERROR at line 1:
ORA-04043: object KU$_IND_PART_T does not exist
drop type ku$_ind_part_list_t force
ERROR at line 1:
ORA-04043: object KU$_IND_PART_LIST_T does not exist
drop type ku$_piot_part_t force
ERROR at line 1:
Grant succeeded.
Synonym created.
Grant succeeded.
Package altered.
Package altered.
PL/SQL procedure successfully completed.These errors are ignorable, Oracle just trying to drop the package before creating them. If this is the first time you run catproc.sql, the errors are expected.
-
Utlrp.sql script job schedule from OEM
Any users on how to create grid control job for recompiling object via below script:
@?/rdbms/admin/utlrp.sql
I tried few testing but all failing at
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
(creating job as SQL script)
Thanks,Hi Users,
Thanks for all responses.
Thanks Absorbine, it was really funny l laughed on that.
OrionNet, I am trying to run this on atleast 5 db instances and also not real expert in procedures.
Basically I am trying to create OEM job to run utlrp.sql or UTL_RECOMP pacakages on 5 different db instances.
Tried below:
1. created job with utlrp.sql:
@?.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
2. Created job with UTL_RECOMP:
SQL Script:
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
cheers,
Rapchik -
Hi
When I run the following script to recompile all invalid objects:
@$ORACLE_HOME/rdbms/admin/utlrp.sql
I notice that new tables, indexes,views,packagaes are created !!
What is the reason for this?
Oracle 9.2.0.8.0No I didnt upgrade.
I just want to test this script.
SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
PL/SQL procedure successfully completed.
Table created.
Table created.
Table created.
Index created.
Table created.
Table created.
View created.
View created.
Package created.
No errors.
Package body created.
No errors.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed. -
Utlrp.sql script from OEM
Any users on how to create grid control job for recompiling object via below script:
@?/rdbms/admin/utlrp.sql
I tried few testing but all failing at
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
Thanks,i recreated sysaux because one of our developer add datafile (for sysaux) in home location not in +ASM, that is also only for prod1 not at both
the location then after some days i was getting ora-600 then i found that wrongly add datafile sysaux.
then i copied that datafile to other location also.after that ora-600 gone...but after some days i restarted database
that time it was asking for recovery of sysaux,as we dont have any and any kind of backup and archivelog
i made offline to that sysaux tablespace,after making offline we are facing problem at very activity so we recreated
sysaux . . . .. -
Hi,
I have a database we've been using on Oracle 806. I am using dbca to create it in Oracle v9.2
In our database creation scripts, we run the following oracle admin sql scripts. We may run more, but these are what I've found so far:
catalog.sql
catproc.sql
dbmspool.sql
prvtpool.plb
utlexcpt.sql
Is there a need for me to run these scripts when creating a database using dbca in v9.2, or does dbca run them?
Thanks much
-BobThanks you guys.
I checked the creation scripts, and it ran these:
connect SYS/change_on_install as SYSDBA
set echo on
spool /occ/cots/oracle9i/assistants/dbca/logs/CreateDBCatalog.log
@/occ/cots/oracle9i/rdbms/admin/catalog.sql;
@/occ/cots/oracle9i/rdbms/admin/catexp7.sql;
@/occ/cots/oracle9i/rdbms/admin/catblock.sql;
@/occ/cots/oracle9i/rdbms/admin/catproc.sql;
@/occ/cots/oracle9i/rdbms/admin/catoctk.sql;
@/occ/cots/oracle9i/rdbms/admin/catobtk.sql;
@/occ/cots/oracle9i/rdbms/admin/caths.sql;
@/occ/cots/oracle9i/rdbms/admin/owminst.plb;
connect SYSTEM/manager
@/occ/cots/oracle9i/sqlplus/admin/pupbld.sql;
connect SYSTEM/manager
set echo on
spool /occ/cots/oracle9i/assistants/dbca/logs/sqlPlusHelp.log
@/occ/cots/oracle9i/sqlplus/admin/help/hlpbld.sql helpus.sql;
spool off
spool off
exit;
So, I only need prvtpool.plb, dbmspool.sql, and utlexcpt.sql for my needs.
I need the exceptions table for sure.
And dmbspool.sql for memory efficiency and keeping an eye on object sizes - dbmspool.sql also calls prvtpool.plb, so it's two birds with one stone. So I'm set.
Thanks again all
-Bob -
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 -
Portal development with open source and without any of the Oracle products
Hi would like to know whether is there is any portal framework (pure java) available to develop portal application where I can integrate JSF, RICHFACES, GWT and .NET applications. I dont want to use any of the oracle products. Please help
You come to an Oracle specific forum and ask whether or not you someone can recommend you a portal product without needing oracle technology...
Sorry but that does not exist because java is also oracle so if you want a portal without wanting to use oracle than you will have to go for .net or php or something like that because java is oracle...
Don't you think it's a bit odd asking such a question on the official Oracle forums? It's like going into a BMW garage and asking if you can have a free car that has nothing of the BMW technology inside...
oh wait... 1 April, damn...
Edited by: Yannick Ongena on Apr 1, 2011 10:46 AM -
hello,
I have one year experience in struts and hibernate. And I want to move to oracle product. So which is the best oracle product for Enterprise Solution that I can easily learn within 2-3 months?
regards,
Kush Patelkush wrote:
... product for Enterprise Solution that I can easily learn within 2-3 months? Sorry, but with "easily learn" and "2-3 months", I don't believe such a product exist.
At least not without a lot of prerequisite knowledge and/or clearer problem description than that.
Maybe you are looking for
-
Unable to upgrade or uninstall iTunes
Whenever I try to upgrade to the new version of iTunes, I get an error message. When I decided to try uninstalling the program to start over, I get the same message. It says "The feature you are trying to use is on a network resource that is unavaila
-
Problem with digital output and microph
Hello! I recently bought a new motherboard MSI K8N SLI Platinum that have onboard Sounblaster Li've 24bit, with coaxial and spdif and also the standard outputs. I ve connected via a fiber optical cable to my amplifier and i checked the digital output
-
How do you shuffle genre with iOS7 on iPhone5?
How do you shuffle genre with iOS7 on iPhone5?
-
Hi there, sorry about the big post but I am wondering if someone could help me with this. I dont seem to be able to figure out what I am doing wrong here: I've created a function that merges a number of lines of text into one row, the function works
-
So the other day I thought I might go ahead and try to make a few simple programs to see if anything I have learned is soaking in. I did a few math ones, which were easy enough, but then I tried to do a password program. It was easy enough to write,