ORA-12547 when upgrade database (from 10.1.0.4 to 10.2.0.4) using dbua
Hi,
I got error when doing the database upgrade using dbua from 10.2.0.4 home.
It is in 15% progress of "Upgrading Oracle Server". It shows ORA-12547: TNS: lost contact.
You can either ignore or abort.
Any suggestion?
Thanks in advance.
milic
You can almost never ignore an error message ... unless you want a failure.
Did you read the upgrade instructions with respect to the database, listener, and oem dbconsole?
Similar Messages
-
RMAN 11gr2 ORA-00308 when dulplicate database from active
Hi,
I'm trying to clone a production database (Oracle 11.2.0.3) from HP-UX IA64 to Solaris 10 (Sparc 64) (source on Filesystem, target on ASM)
the previous steps was done (same oracle software installation, same patches, sqlnet comunication, etc.)
but the RMAN fails at end of the process:
Recovery Manager: Release 11.2.0.3.0 - Production on Wed Aug 22 09:44:34 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: SIN (DBID=634625013)
connected to recovery catalog database
connected to auxiliary database: SIN (not mounted)
RMAN> run
+2> {+
+3> allocate channel c1 type disk;+
+4> allocate channel c2 type disk;+
+5> allocate channel c3 type disk;+
+6> allocate channel c4 type disk;+
+7> allocate auxiliary channel a1 type disk;+
+8> allocate auxiliary channel a2 type disk;+
+9> set newname for datafile 1 to '+DG_DATA';+
+10> set newname for datafile 2 to '+DG_DATA';+
+11> set newname for datafile 3 to '+DG_DATA';+
+12> set newname for datafile 4 to '+DG_DATA';+
+13> set newname for datafile 5 to '+DG_DATA';+
+14> set newname for datafile 6 to '+DG_DATA';+
+15> set newname for datafile 7 to '+DG_DATA';+
+16> set newname for datafile 8 to '+DG_DATA';+
+17> set newname for datafile 9 to '+DG_DATA';+
+18> set newname for datafile 10 to '+DG_DATA';+
+... to...+
+398> set newname for datafile 390 to '+DG_DATA';+
+399> set newname for datafile 391 to '+DG_DATA';+
+400> duplicate target database to "sin" from active database nofilenamecheck+
+401> DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','+DG_DATA/',+
+402> '/u11/oradata/sin/','+DG_DATA/',+
+403> '/u07/oradata/sin/','+DG_DATA/',+
+404> '/u08/oradata/sin/','+DG_DATA/',+
+405> '/u09/oradata/sin/','+DG_DATA/');+
+406> }+
+407>+
starting full resync of recovery catalog
full resync complete
allocated channel: c1
channel c1: SID=1787 device type=DISK
allocated channel: c2
channel c2: SID=2406 device type=DISK
allocated channel: c3
channel c3: SID=850 device type=DISK
allocated channel: c4
channel c4: SID=1146 device type=DISK
allocated channel: a1
channel a1: SID=1325 device type=DISK
allocated channel: a2
channel a2: SID=1514 device type=DISK
executing command: SET NEWNAME
executing command: SET NEWNAME
+...+
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 22-AUG-12
contents of Memory Script:
+{+
sql clone "create spfile from memory";
+}+
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
+{+
shutdown clone immediate;
startup clone nomount;
+}+
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 7317790720 bytes
Fixed Size 2173456 bytes
Variable Size 3808433648 bytes
Database Buffers 3489660928 bytes
Redo Buffers 17522688 bytes
allocated channel: a1
channel a1: SID=1325 device type=DISK
allocated channel: a2
channel a2: SID=758 device type=DISK
contents of Memory Script:
+{+
sql clone "alter system set control_files =
+''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/current.562.791978153'' comment=+
+''Set by RMAN'' scope=spfile";+
+''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/current.562.791978153'' comment=+
+''Set by RMAN'' scope=spfile";+
sql clone "alter system set db_name =
+''SIN'' comment=+
+''Modified by RMAN duplicate'' scope=spfile";+
+sql clone "alter system set db_unique_name =+
+''SIN'' comment=+
+''Modified by RMAN duplicate'' scope=spfile";+
+shutdown clone immediate;+
+startup clone force nomount+
+backup as copy current controlfile auxiliary format '+DG_DATA/sin/controlfile/current.512.791978153';+
+restore clone controlfile to '+DG_DATA/sin/controlfile/current.625.791978153' from+
+'+DG_DATA/sin/controlfile/current.512.791978153';+
+sql clone "alter system set control_files =+
+''+DG_DATA/sin/controlfile/current.512.791978153'', ''+DG_DATA/sin/controlfile/current.625.791978153'' comment=+
+''Set by RMAN'' scope=spfile";+
+shutdown clone immediate;+
+startup clone nomount;+
+alter clone database mount;+
+}+
+executing Memory Script+
+sql statement: alter system set control_files = ''+DG_DATA/sin/controlfile/current.511.791978153'', ''+DG_DATA/sin/controlfile/cu+
+rrent.562.791978153'' comment= ''Set by RMAN'' scope=spfile+
+sql statement: alter system set db_name = ''SIN'' comment= ''Modified by RMAN duplicate'' scope=spfile+
+sql statement: alter system set db_unique_name = ''SIN'' comment= ''Modified by RMAN duplicate'' scope=spfile+
+Oracle instance shut down+
+Oracle instance started+
+Total System Global Area 7317790720 bytes+
+Fixed Size 2173456 bytes+
+Variable Size 3808433648 bytes+
+Database Buffers 3489660928 bytes+
+Redo Buffers 17522688 bytes+
+allocated channel: a1+
+channel a1: SID=1514 device type=DISK+
+allocated channel: a2+
+channel a2: SID=2081 device type=DISK+
+Starting backup at 22-AUG-12+
+channel c1: starting datafile copy+
+copying current control file+
+output file name=/u06/tmpapp/rmanbkps/snapcf_sin.f tag=TAG20120822T094657 RECID=49 STAMP=791977621+
+channel c1: datafile copy complete, elapsed time: 00:00:01+
+Finished backup at 22-AUG-12+
+Starting restore at 22-AUG-12+
+channel a2: skipped, AUTOBACKUP already found+
+channel a1: copied control file copy+
+Finished restore at 22-AUG-12+
+sql statement: alter system set control_files = ''+DG_DATA/sin/controlfile/current.512.791978153'', ''+DG_DATA/sin/controlfile/cu+
+rrent.625.791978153'' comment= ''Set by RMAN'' scope=spfile+
+Oracle instance shut down+
+connected to auxiliary database (not started)+
+Oracle instance started+
+Total System Global Area 7317790720 bytes+
+Fixed Size 2173456 bytes+
+Variable Size 3808433648 bytes+
+Database Buffers 3489660928 bytes+
+Redo Buffers 17522688 bytes+
+allocated channel: a1+
+channel a1: SID=1514 device type=DISK+
+allocated channel: a2+
+channel a2: SID=2081 device type=DISK+
+database mounted+
+Using previous duplicated file +DG_DATA/sin/datafile/system.666.791914845 for datafile 1 with checkpoint SCN of 46164275052+
+Using previous duplicated file +DG_DATA/sin/datafile/undotbs1.678.791913821 for datafile 2 with checkpoint SCN of 46164227408+
+...+
+Using previous duplicated file +DG_DATA/sin/datafile/med_dat.498.791939115 for datafile 389 with checkpoint SCN of 46165353395+
+Using previous duplicated file +DG_DATA/sin/datafile/mytablespace.674.791914359 for datafile 390 with checkpoint SCN of 46164253329+
+Using previous duplicated file +DG_DATA/sin/datafile/med_dat.499.791939115 for datafile 391 with checkpoint SCN of 46165353396+
+contents of Memory Script:+
+{+
+sql 'alter system archive log current';+
+}+
+executing Memory Script+
+sql statement: alter system archive log current+
+contents of Memory Script:+
+{+
+backup as copy reuse+
+archivelog like "/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065832.ARC" auxiliary format+
+"+DG_DATA" archivelog like+
+"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065833.ARC" auxiliary format+
+"+DG_DATA" archivelog like+
+"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065834.ARC" auxiliary format+
+"+DG_DATA" archivelog like+
+"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065835.ARC" auxiliary format+
+"+DG_DATA" archivelog like+
+"/u06/app/oracle/admin/sin/arch/SIN_0544862197_0001_0000065836.ARC" auxiliary format+
+"+DG_DATA" ;+
+catalog clone start with "+DG_DATA";+
+catalog clone datafilecopy "+DG_DATA/sin/datafile/system.666.791914845",+
+"+DG_DATA/sin/datafile/undotbs1.678.791913821",+
+"+DG_DATA/sin/datafile/undotbs1.679.791913821",+
+"+DG_DATA/sin/datafile/undotbs1.689.791913821",+
+"+DG_DATA/sin/datafile/undotbs1.690.791913821",+
+"+DG_DATA/sin/datafile/undotbs1.677.791914357",+
+"+DG_DATA/sin/datafile/drsys.621.791939555",+
+"+DG_DATA/sin/datafile/high_idx.663.791914889",+
+"+DG_DATA/sin/datafile/tools.507.791939555",+
+...+
+"+DG_DATA/sin/datafile/bkptemp.497.791939113",+
+"+DG_DATA/sin/datafile/med_dat.498.791939115",+
+"+DG_DATA/sin/datafile/mytablespace.674.791914359",+
+"+DG_DATA/sin/datafile/med_dat.499.791939115";+
+switch clone datafile 1 to datafilecopy+
+"+DG_DATA/sin/datafile/system.666.791914845";+
+switch clone datafile 2 to datafilecopy+
+"+DG_DATA/sin/datafile/undotbs1.678.791913821";+
+switch clone datafile 3 to datafilecopy+
+...+
+"+DG_DATA/sin/datafile/med_dat.498.791939115";+
+switch clone datafile 390 to datafilecopy+
+"+DG_DATA/sin/datafile/mytablespace.674.791914359";+
+switch clone datafile 391 to datafilecopy+
+"+DG_DATA/sin/datafile/med_dat.499.791939115";+
+}+
+executing Memory Script+
+Starting backup at 22-AUG-12+
+channel c1: starting archived log copy+
+input archived log thread=1 sequence=65832 RECID=48339 STAMP=791913640+
+channel c2: starting archived log copy+
+input archived log thread=1 sequence=65833 RECID=48340 STAMP=791933223+
+channel c3: starting archived log copy+
+input archived log thread=1 sequence=65834 RECID=48341 STAMP=791939052+
+channel c4: starting archived log copy+
+input archived log thread=1 sequence=65835 RECID=48342 STAMP=791962351+
+output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65834.515.791978259 RECID=0 STAMP=0+
+channel c3: archived log copy complete, elapsed time: 00:00:35+
+channel c3: starting archived log copy+
+input archived log thread=1 sequence=65836 RECID=48343 STAMP=791977692+
+output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259 RECID=0 STAMP=0+
+channel c1: archived log copy complete, elapsed time: 00:00:51+
+output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65833.514.791978259 RECID=0 STAMP=0+
+channel c2: archived log copy complete, elapsed time: 00:01:41+
+output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65836.581.791978295 RECID=0 STAMP=0+
+channel c3: archived log copy complete, elapsed time: 00:01:06+
+output file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65835.516.791978259 RECID=0 STAMP=0+
+channel c4: archived log copy complete, elapsed time: 00:01:41+
+Finished backup at 22-AUG-12+
+searching for all files that match the pattern +DG_DATA+
+List of Files Unknown to the Database+
+=====================================+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65832.513.791978259+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65833.514.791978259+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65834.515.791978259+
+...+
+File Name: +dg_data/SIN/DATAFILE/XDB.508.791939555+
+File Name: +dg_data/SIN/DATAFILE/DRSYS.621.791939555+
+File Name: +dg_data/SIN/CONTROLFILE/Current.691.791913737+
+File Name: +dg_data/SIN/CONTROLFILE/Current.692.791913737+
+File Name: +dg_data/SIN/CONTROLFILE/Current.703.791913737+
+File Name: +dg_data/SIN/CONTROLFILE/Current.704.791913737+
+File Name: +dg_data/SIN/CONTROLFILE/Current.511.791978153+
+File Name: +dg_data/SIN/CONTROLFILE/Current.562.791978153+
+File Name: +dg_data/ASM/ASMPARAMETERFILE/REGISTRY.253.790861037+
+cataloging files...+
+cataloging done+
+List of Cataloged Files+
+=======================+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65832.513.791978259+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65833.514.791978259+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65834.515.791978259+
+File Name: +dg_data/SIN/ARCHIVELOG/2012_08_22/thread_1_seq_65835.516.791978259+
+...+
+File Name: +dg_data/SIN/DATAFILE/XDB.508.791939555+
+File Name: +dg_data/SIN/DATAFILE/DRSYS.621.791939555+
+File Name: +dg_data/SIN/CONTROLFILE/Current.703.791913737+
+File Name: +dg_data/SIN/CONTROLFILE/Current.704.791913737+
+List of Files Which Where Not Cataloged+
+=======================================+
+File Name: +dg_data/SIN/CONTROLFILE/Current.691.791913737+
+RMAN-07517: Reason: The file header is corrupted+
+File Name: +dg_data/SIN/CONTROLFILE/Current.692.791913737+
+RMAN-07517: Reason: The file header is corrupted+
+File Name: +dg_data/SIN/CONTROLFILE/Current.511.791978153+
+RMAN-07517: Reason: The file header is corrupted+
+File Name: +dg_data/SIN/CONTROLFILE/Current.562.791978153+
+RMAN-07517: Reason: The file header is corrupted+
+File Name: +dg_data/ASM/ASMPARAMETERFILE/REGISTRY.253.790861037+
+RMAN-07518: Reason: Foreign database file DBID: 0 Database Name:+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/system.666.791914845 RECID=442 STAMP=791978374+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/undotbs1.678.791913821 RECID=443 STAMP=791978375+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/undotbs1.679.791913821 RECID=444 STAMP=791978375+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/undotbs1.689.791913821 RECID=445 STAMP=791978375+
+cataloged datafile copy+
+...+
+datafile copy file name=+DG_DATA/sin/datafile/med_dat.498.791939115 RECID=830 STAMP=791978408+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/mytablespace.674.791914359 RECID=831 STAMP=791978408+
+cataloged datafile copy+
+datafile copy file name=+DG_DATA/sin/datafile/med_dat.499.791939115 RECID=832 STAMP=791978408+
+datafile 1 switched to datafile copy+
+input datafile copy RECID=442 STAMP=791978374 file name=+DG_DATA/sin/datafile/system.666.791914845+
+datafile 2 switched to datafile copy+
+input datafile copy RECID=443 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.678.791913821+
+datafile 3 switched to datafile copy+
+input datafile copy RECID=444 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.679.791913821+
+datafile 4 switched to datafile copy+
+input datafile copy RECID=445 STAMP=791978375 file name=+DG_DATA/sin/datafile/undotbs1.689.791913821+
+...+
+datafile 389 switched to datafile copy+
+input datafile copy RECID=830 STAMP=791978408 file name=+DG_DATA/sin/datafile/med_dat.498.791939115+
+datafile 390 switched to datafile copy+
+input datafile copy RECID=831 STAMP=791978408 file name=+DG_DATA/sin/datafile/mytablespace.674.791914359+
+datafile 391 switched to datafile copy+
+input datafile copy RECID=832 STAMP=791978408 file name=+DG_DATA/sin/datafile/med_dat.499.791939115+
+contents of Memory Script:+
+{+
+set until scn 46167049411;+
+recover+
+clone database+
+delete archivelog+
+;+
+}+
+executing Memory Script+
+executing command: SET until clause+
+Starting recover at 22-AUG-12+
+starting media recovery+
+archived log for thread 1 with sequence 65832 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.7+
+91978259+
+archived log for thread 1 with sequence 65833 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65833.514.7+
+91978259+
+archived log for thread 1 with sequence 65834 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65834.515.7+
+91978259+
+archived log for thread 1 with sequence 65835 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65835.516.7+
+91978259+
+archived log for thread 1 with sequence 65836 is already on disk as file +DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65836.581.7+
+91978295+
+archived log file name=+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259 thread=1 sequence=65832+
+released channel: c1+
+released channel: c2+
+released channel: c3+
+released channel: c4+
+Oracle Error:+
+ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below+
+ORA-01194: file 1 needs more recovery to be consistent+
+ORA-01110: data file 1: '+DG_DATA/sin/datafile/system.666.791914845'+
*+released channel: a1+*
*+released channel: a2+*
*+RMAN-00571: ===========================================================+*
*+RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============+*
*+RMAN-00571: ===========================================================+*
*+RMAN-03002: failure of Duplicate Db command at 08/22/2012 09:52:27+*
*+RMAN-05501: aborting duplication of target database+*
*+RMAN-03015: error occurred in stored script Memory Script+*
*+RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '+DG_DATA/sin/archivelog/2012_08_22/thre+*
*+ad_1_seq_65832.513.791978259'+*
*+ORA-00308: cannot open archived log '+DG_DATA/sin/archivelog/2012_08_22/thread_1_seq_65832.513.791978259'+*
+Recovery Manager complete.+
the error is always the same, a previous backup with RMAN was taken on tape on the source database (production).
Please help me to find what is wrong here!!Hi mseberg
that's exactly i'm doing:
1. Create an Oracle Password File for the Auxiliary Database
a. done, passwd file created*
2. Create the Directory Structure on the remote server
a. done, all the admin structure wa created.*
3. Oracle Net Setup ( you need an entry for the CLONE in your TNSNAMES.ORA on both servers ) ( I use SID_LIST_LISTENER entry for static )
a. done, i have the entries working on my tnsnames.ora (source and target with static listeners)*
4. Create an Initialization Parameter File for the Auxiliary Instance ( I use Parameters DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT to change locations)
a. done, this is my initialization file:*
*.audit_file_dest='/u01/app/oracle/admin/sin/adump'*
*.audit_trail='db'*
*.compatible='11.2.0.0.0'*
*.db_block_size=8192*
*.db_create_file_dest='DG_DATA'+*
*.db_domain=''*
*.db_files=2048*
*.db_name='sin'*
*.db_recovery_file_dest='DG_DATA'+*
*.db_recovery_file_dest_size=20G*
*.diagnostic_dest='/u01/app/oracle'*
*.dispatchers='(PROTOCOL=TCP) (SERVICE=sinXDB)'*
*.log_archive_format='%t_%s_%r.dbf'*
*.memory_target=7340032000*
*.open_cursors=300*
*.processes=2000*
*.remote_login_passwordfile='EXCLUSIVE'*
*.sessions=2205*
*.undo_tablespace='UNDOTBS1'*
DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','DG_DATA/',+*
+'/u11/oradata/sin/','+DG_DATA/',+
+'/u07/oradata/sin/','+DG_DATA/',+
+'/u08/oradata/sin/','+DG_DATA/',+
+'/u09/oradata/sin/','+DG_DATA/')+
LOG_FILE_NAME_CONVERT=('/u04/oradata/sin/','DG_DATA/',+*
+'/u05/oradata/sin/','+DG_DATA/',+
+'/u03/oradata/sin/','+DG_DATA/',+
+'/u02/oradata/sin/','+DG_DATA/')+
and this is my command from RMAN:
run*
*+{+*
allocate channel c1 type disk;*
allocate channel c2 type disk;*
allocate channel c3 type disk;*
allocate channel c4 type disk;*
allocate auxiliary channel a1 type disk;*
allocate auxiliary channel a2 type disk;*
set newname for datafile 1 to 'DG_DATA';+*
set newname for datafile 2 to 'DG_DATA';+*
set newname for datafile 3 to 'DG_DATA';+*
set newname for datafile 4 to 'DG_DATA';+*
set newname for datafile 5 to 'DG_DATA';+*
set newname for datafile 6 to 'DG_DATA';+*
set newname for datafile 7 to 'DG_DATA';+*
set newname for datafile 8 to 'DG_DATA';+*
set newname for datafile 9 to 'DG_DATA';+*
set newname for datafile 10 to 'DG_DATA';+*
+...+
set newname for datafile 390 to 'DG_DATA';+*
set newname for datafile 391 to 'DG_DATA';+*
duplicate target database to "sin" from active database nofilenamecheck*
DB_FILE_NAME_CONVERT=('/u10/oradata/sin/','DG_DATA/',+*
+'/u11/oradata/sin/','+DG_DATA/',+
+'/u07/oradata/sin/','+DG_DATA/',+
+'/u08/oradata/sin/','+DG_DATA/',+
+'/u09/oradata/sin/','+DG_DATA/');+
+}+
do you think the problem may be in the name of the database?, I am using the same name in the auxiliary
and when I get the error, I have the same dbid in both databases (source and destination)
Thanks
MM -
Hello there,
Previously, I had posted a thread on how to upgrade database from 10.2.0.5.0 to 11.2.0.3.0 through the wizards provided (GUI-based) and had successfully upgraded the database. Now, I am attempting to upgrade the database from 10.2.0.5.0 to 11.2.0.3.0 once more but this time, in silent mode (console-based). Unfortunately, I am lack of knowledge regarding the installation of the software and upgrading the database in silent mode.
I managed to figure out this much so far:
1 . Traverse through the installation directory to the directory shown below:
11.2.0.3 > Extracted > database > response
2 . Fill up the blanks of db_install.rsp file:
oracle.install.option=INSTALL_DB_SWONLY
SELECTED_LANGUAGES=en
ORACLE_HOME=C:\Oracle\11g\DBSwLoc
ORACLE_BASE=C:\Oracle\11g
oracle.install.db.InstallEdition=EE
oracle.install.db.EEOptionsSelection=false
oracle.install.db.isRACOneInstall=false
oracle.install.db.config.starterdb.memoryOption=true
oracle.install.db.config.starterdb.installExampleSchemas=false
oracle.install.db.config.starterdb.enableSecuritySettings=true
oracle.install.db.config.starterdb.control=DB_CONTROL
oracle.install.db.config.starterdb.automatedBackup.enable=false
oracle.installer.autoupdates.option=SKIP_UPDATES
3 . Save new db_install.rsp file to a new location (shorter path name without spacing will be best recommended)
4 . Traverse through the installation directory to where the setup file is located.
5 . Execute the following command:
setup.exe -silent -waitforcompletion -responseFile C:\db_install_updated.rspThe result I received is as shown below:
Starting Oracle Universal Installer...
Preparing to launch Oracle Universal Installer from C:\Users\...\Temp\OraInstall2012-12-13_03-16-43PM. Please wait ... [WARNING] - My Oracle Support Username/Email Address Not Specified
[SEVERE] - Provide the My Oracle Support password.
Please press Enter to exit...
Previously in the db_install_updated.rsp response file, I had set autoupdate option to SKIP_UPDATES but why does it still prompt me for the Oracle Support account?
Edited by: Maxwell T on Dec 13, 2012 4:05 PMAfter running the command below to upgrade the current database (Oracle 10.2.0.5.0):
dbua -silent -sid DB01 -oracleHome C:\Oracle\10g\DBSwLoc -oracleBase C:\Oracle\10g -diagnosticDest C:\Oracle\11g -sysDBAUserName sys -sysDBAPassword password -autoextendFiles -upgradeTimezone -commonFileLocation C:\Oracle\11g\DBSwLoc\oradata\database -recompile_invalid_objects true -degree_of_parallelism 7 -dbsnmpPassword DefaultPassword1 -sysmanPassword DefaultPassword1 This is the result:
Oracle recommends gathering dictionary statistics prior to upgrading the database. Refer to the Upgrade Guide for Performing Pre Upgrade
UPGRADE_PROGRESS : 0%
UPGRADE_PROGRESS : 4%
Upgrading Oracle Server
UPGRADE_PROGRESS : 5%
UPGRADE_PROGRESS : 6%
UPGRADE_PROGRESS : 7%
UPGRADE_PROGRESS : 8%
UPGRADE_PROGRESS : 9%
UPGRADE_PROGRESS : 10%
UPGRADE_PROGRESS : 11%
UPGRADE_PROGRESS : 12%
UPGRADE_PROGRESS : 13%
UPGRADE_PROGRESS : 14%
UPGRADE_PROGRESS : 15%
UPGRADE_PROGRESS : 16%
UPGRADE_PROGRESS : 17%
UPGRADE_PROGRESS : 18%
UPGRADE_PROGRESS : 19%
UPGRADE_PROGRESS : 20%
UPGRADE_PROGRESS : 20%
UPGRADE_PROGRESS : 21%
UPGRADE_PROGRESS : 22%
UPGRADE_PROGRESS : 23%
UPGRADE_PROGRESS : 24%
UPGRADE_PROGRESS : 25%
UPGRADE_PROGRESS : 26%
UPGRADE_PROGRESS : 27%
UPGRADE_PROGRESS : 28%
UPGRADE_PROGRESS : 29%
UPGRADE_PROGRESS : 30%
Collecting information from database
UPGRADE_PROGRESS : 31%
UPGRADE_PROGRESS : 32%
UPGRADE_PROGRESS : 53%
Modifying and starting Oracle instance
UPGRADE_PROGRESS : 58%
Copying database files
UPGRADE_PROGRESS : 60%
Switching database files
UPGRADE_PROGRESS : 62%
UPGRADE_PROGRESS : 63%
ORA-01167: two files are the same file/group number or the same fileORA-00202: control file: 'C:\ORACLE\11G\FULLCLIENT\ORADATA\DATABASE\LV01\CTRLLV01.ORA'Any suggestions for this error?
Thank you in advance. -
Customer is looking to upgrade from DOT 8.0.3 to 8.1.4/8.2.3 (7-mode). There are no real API changes between these upgrades other than additional functionality being added. Howver, are the return codes from APIs any different when upgrading DOT from 8.0.3 to 8.1.4/8.2.3 (7-mode only)? Any help on this to help confirm would be greatly appreciated. Many Thanks in advance. Luke
Thanks. I had the Portal 3.0.6/3.0.7/3.0.8 to Portal 3.0.9 upgrade scripts and instructions, but thought that was my last step. I hesitated on running the Portal Configuration Assistant. None of the instructions told me what to do at this point.
Anyways, it looks that by running the Portal Configuration Assitant at the end of the 1.0.2.2 9iAS install, it created a new repository for Portal 3.0.9 in my database. Since I gave it a different schema name, I now have two portal repositories. The old Portal 3.0.6 repository (jvac_portal30) and the new Portal 3.0.9 repository (j_portal30).
So, I assume I have to perform the upgrade scripts on the Portal 3.0.6 repository to get it to 3.0.9. Since we really did not have very much in the repository, we may just manually recreate everything in the new 3.0.9 repository. I have ssen several discussion threads about the upgrade and problems, so I am very leary to do it.
In regards to our J Server propblem, we left for lunch. Came back and rebooted several more times, double checked all our configuration files (made no changes), stopped and restarted Apache several more times, and then by some miracle everything started working.
null -
Facing Parse Errors after upgrading database from 10g to 11g
Hi,
We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
Kindly look into below parse errors.
********************************** Parse Error *****************************************************
Tue Aug 13 14:13:08 2013
kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
PARSE ERROR: ospid=15598, error=1446 for statement:
SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
Tue Aug 13 14:13:10 2013
kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
PARSE ERROR: ospid=29813, error=942 for statement:
Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
PARSE ERROR: ospid=29813, error=942 for statement:
SELECT password
FROM SYS.USER$
WHERE 0=1
kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
319e277050 30 anonymous block
319e277050 57 anonymous block
PARSE ERROR: ospid=29813, error=6550 for statement:
BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
319e277050 67 anonymous block
PARSE ERROR: ospid=29813, error=942 for statement:
SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
Please help.
Regards
SureshHi Suresh,
Apologies for misunderstanding..
Tue Aug 13 14:13:08 2013
kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
PARSE ERROR: ospid=15598, error=1446 for statement:
SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
1 Get the 'ospid' value from the error
2. Issue the below command:
SQL> select request_id,ORACLE_PROCESS_ID
2 from fnd_concurrent_requests
3 where request_id = 15598;
3. After obtaining the request_id
4, Query it from the front-end using SYSADMIN responsibility
Hopefully this should get you the respective concurrent report/program.
Thanks &
Best Regards, -
Upgrade database from 10.0.2 to 11.2.0.2 .
I want to upgrade database from 10.0.2 to 11.2.0.2 . Can i go for direct upgrade?
Or i need to apply the patch bring the database to 10.2.0.2 and then upgrade to 11.2.0.2.
Please suggest me on this ...Are you sure about that minor release number? Possibly 10.1? Release 10.2.0.2 is the minimum R2 version that can be upgraded directly to 11gR2, if its 10.1, that requires 10.1.0.5 or higher.
The upgrade forum may offer better help, see Database Upgrade -
Utlrp.sql takes very long (8 hours) while upgrade database from 9i to 10g
1) Follow the note of 369693.1 ; and 362203.1 to upgrade database from 9.2.0.6 to 10.2.0.4 for e-business suite 11i (11.5.10.2)
2) utlrp.sql takes very long (8 hours), even the job_queue_processes > 20.
This is not acceptable for the upgrade in production environment which will take a long down time.
Appreciate that any one can share tips on this, our database is about 400 GB, 4 CPU on production.in which our database has about 40,000 packages and 28,000 Virews. With this number of invalid objects, it is ok that utlrp.sql takes this time.
using parallel worker of 4 for 2 CPUMake this 8 (4 * No. of CPUs). -
Error ORA-03113 when upgrading from 11.2.0.1 to 11.2.0.3
I keep on getting this error when upgrading from 11.2.0.1 to 11.2.0.3
[Thread-57] [ 2012-04-20 13:18:28.207 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Pre Upgrade ,status is:=Successful
[Thread-57] [ 2012-04-20 13:18:28.208 CEST ] [SummarizableStep.genSummary:409] Generating Summary for:=Oracle Server ,status is:=Failed
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [SummarizableStep.executeImpl:212] Throwing exception e from SummarizableStep
[Thread-57] [ 2012-04-20 13:18:28.209 CEST ] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@4805e9f1
oracle.sysman.assistants.util.step.StepExecutionException: ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeSubStepImpl(SubComponent.java:738)
at oracle.sysman.assistants.dbma.backend.component.SubComponent.executeStepImpl(SubComponent.java:585)
at oracle.sysman.assistants.dbma.backend.component.Component.executeStepImpl(Component.java:317)
at oracle.sysman.assistants.dbma.backend.SummarizableStep.executeImpl(SummarizableStep.java:183)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
at java.lang.Thread.run(Thread.java:637)
[Thread-57] [ 2012-04-20 13:18:31.000 CEST ] [CompManager.isModeSet:9822] DB Upgrade Mode Setting := 1
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [CompManager.isModeSet:9823] Mode := 1 is set
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [SQLEngine.done:2189] Done called
[Thread-57] [ 2012-04-20 13:18:31.001 CEST ] [Database.getStepSQLInterface:787] OH in database: /app/oracle/product/11.2.0.3/db_1Any clues about what could be wrong? I am planning to upgrade with the manual steps if it does not work :(Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]
HTH
Srini -
ORA-00955 when upgrading from Content Server 5.0.2 to Publisher?
I am upgrading Content Server 5.0.2 to Publisher.
After running the sw installation and having imported the publisher.pte file, I am starting the Publisher and receiving an Oracle error "ORA-00955: name is already used by an existing object". From the messages logged, it looks like the error is encountered when recreating the object PCSACTIVE.PK_PCSACTIVE (first SQL statement with "Recreating ...", all others before where "Adding ...".
My questions:
1. has somebody else encounteered the same error?
2. does anybody know how to trap the SQL being executed?As the upgrade is done automatically by the Publisher when starting, I have found so far no way of checking the SQL or knowing which SQL statements are executed against the DB) when "Recreating" an object.
Thanks in advance for your help.
P.S. Customer Support has also been contacted, but it looks like noone else has reported this kind of problems.Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]
HTH
Srini -
ORA-28150 when accessing data from a remote database
Portal Version: Portal 3.0.9.8.0
RDBMS Version: 8.1.6.3.0
OS/Vers. Where Portal is Installed:: Solaris 2.6
Error Number(s):: ORA-28150
I have a problem with using a database link to access a table in
a remote database. So long as the dblink uses explicit logins
then everything works correctly. When the dblink does not have a
username then I get the ORA-28150 message. The database link is
always public. A synonym is created locally that points to a
synonym in the remote database. I am using the same Oracle user
in both databases. The Oracle portal lightweight user has this
same Oracle user as its default schema. The contents of the
remote table are always visible to sqlplus, both when the link
has a username and when it doesn't have a username.
All the databases involved are on the same version of Oracle.
I'm not sure which Oracle login is being used to access the
remote database, if my lightweight user has a database schema
of 'xyz' then does portal use 'xyz' to access the remote
database? I would be very grateful for any help or pointers that
might help to solve this problem.
James
To further clarify this, both my local and remote databases
schemas are owned by the same login.
The remote table has a public synonym.
The link is public but uses default rather than explicit logins.
The local table has a public synonym that points to the remote
synonym via the database link.
If I change the link to have an explicit login then everything
works correctly.
I can view the data in the remote database with TOAD and with
sqlplus even when the database link has default login rather
than explicit login.
This seems to point to Portal as being the culprit. Can anyone
tell me whether default logins can be used across database links
with portal?
TIA
James832019 wrote:
One way to do this is by creating a database link and joining the two tables directly. But this option is ruled out. So please suggest me some way of doing this.Thus you MUST use two connection strings.
Thus you are going to be either constructing some intricate SQL dynamically or you are going to be dragging a lot of data over the wire and doing an in memory search.
Although realistically that is what the database link table would have done as well.
Might be better to look at moving the table data from one database to the other. Depends on size of course. -
Hi ,
Am getting ORA-01092 error while upgrading database to 10.2.0.1 from 9.2.0.6
I executed the catupgrd.sql successfully and recompiled invaild objects.
After that i tried to startup the database,but am getting the error:
sql>startup
oracle instance started
database mounted
ORA-01092 : Oracle instance terminated. Disconnection forced
I checked alert log file.
I am getting the following errors
Errors in file /u01/......./udump/VIS_ora/7179.trc
ORA-00604: error occurred at recursive SQL level 1
ORA-00607: internal error occurred while making change to a datablock
ORA-00600: internal error code, arguments [4194],[70] ,[39] [ ] []
Error 604 happened during database open . Shutting down database
instance terminated by USER pid =7179
ORA-01092 error Signaled during alter database open
Is there any block corruption? could u please share the solution for these errors?Hi;
You are hitting ORA-00600: error which mean you may need to work oracle support for your issue.Pelase check below note if its not help i suggest rise sr
Troubleshoot an ORA-600 or ORA-7445 Error Using the Error Lookup Tool [ID 153788.1]
Regard
Helios -
Hello,
We are working in our test environment on our upgrade process from 10.2.0.4 to 11.2.0.1. I have cloned a copy of our Production database to support this effort. During the upgrade process using DBUA, we consistently receive an error. The error is encountered when DBUA is at 79% and the exact error information is:
ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SQL", line 1053
ORA-06512: at line 6
I'm given the option to Ignore or Abort in DBUA.
From the upgrade log file the error is the same:
[Thread-104] [ 2010-11-12 13:25:07.012 PST ] [BasicStep.handleNonIgnorableError:431] ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SQL", line 1053
ORA-06512: at line 6
:msg
The PUBLIC role has EXECUTE permissions on DBMS_SQL so it should have privileges.
Here's our environment:
$ showrev
Hostname: hyperion
Hostid: 846ecb2e
Release: 5.10
Kernel architecture: sun4v
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:=20
Kernel version: SunOS 5.10 Generic_142909-17
I've gone through metalink, google and some listservs that are particular to my industry and have tried many ways to solve this but still haven't been able to overcome this problem.
Does anyone have any ideas what might be causing this?Thank you for the warm welcome as well as your response Srini :-) I have entered an SR with Oracle but to date they haven't been able to help so I thought I would try the community to see if anyone else has seen this problem.
Here's the last 50 lines of output from the upgrade log:
12 abcd
13 abcd
14 abcd
15 abcd
16 abcd
17 abcd
18 abcd
19 b
20 29d 217
21 JNEJU4P9KpbgnzrkHXKCHLQVXhkwg2PMLq7hfy+BR2R1BLdVLsjphqEVa/Vb3ophLgWUV3kv
22 K2yXgHALzjphTMp1ME5LLJD+GUc06ul9gkLmBIV+ngeVHtd++VxIJJrZQ0VIfx1iqTioTQEJ
23 pmKgYDgMY1gOWfNIZ4xioKYLKhfUrOCerbZ1Ne9EUPGMyq0VmbP1otIQ5FDNn7dBHVvO26Jq
24 m3uApMb3xTlusxYv0fwCNaRJxvxpJ3Bvx7ibtMqAJ2p2BCdY1jULaGFjZHU2U4nFTdFFQlLG
25 hsZAFsLdHg3skNY+KK3Kd//zBAKJ84fTlwv+3RTBn+V8rUSoGM+pq2WgTccbcRtfRVbcea7O
26 C5pzUj/cqI+ASb//p403VVOB6MKspYtXHGtg3fT2eUZHUGSzQBYy/qcrB0WjljPEIJjXxSdq
27 s99n9VQQO/5zHtBFGSLo3lcy39pJJntO18Uy/rmBkGo/UqRsUL/aU+MTEfl2IRPqKcBzTM38
28 tfA6lFO1boT+ZAosQsTYGg==
29
30 /
Package body created.
grant execute on xdb.xdb$acl_pkg_int to public;
Grant succeeded.
alter session set events='31150 trace name context forever, level 0x04';
Session altered.
declare
2 cur integer;
3 rc integer;
4 begin
5 cur := dbms_sql.open_cursor;
6 dbms_sql.parse(cur,
7 'create index xdb.xdb$acl_xidx on xdb.xdb$acl(object_value) '||
8 'indextype is xdb.xmlindex '||
9 'parameters(''PATH TABLE XDBACL_PATH_TAB VALUE INDEX XDBACL_PATH_TAB_VALUE_IDX'') ',
10 dbms_sql.native);
11 rc := dbms_sql.execute(cur);
12 dbms_sql.close_cursor(cur);
13 end;
14 /
declare
ERROR at line 1:
ORA-29958: fatal error occurred in the execution of ODCIINDEXCREATE routine
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SQL", line 1053
ORA-06512: at line 6
And here's the output of utlu112i.sql. I did the purging of the recycle bin but planned on resolving the time zone and ACL information post-upgrade, as per the Oracle documentation.
SYS@TEST11>@utlu112i
Oracle Database 11.2 Pre-Upgrade Information Tool 11-18-2010 08:48:30
Database:
--> name: TEST11
--> version: 10.2.0.4.0
--> compatible: 10.2.0.4.0
--> blocksize: 8192
--> platform: Solaris[tm] OE (64-bit)
--> timezone file: V4
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 1632 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 310 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 1277 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
--> BANAQ tablespace is adequate for the upgrade.
.... minimum required size: 13 MB
Flashback: OFF
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
-- No update parameter changes are required.
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
--> background_dump_dest 11.1 DEPRECATED replaced by
"diagnostic_dest"
--> user_dump_dest 11.1 DEPRECATED replaced by
"diagnostic_dest"
--> core_dump_dest 11.1 DEPRECATED replaced by
"diagnostic_dest"
Components: [The following database components will be upgraded or installed]
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Database is using a timezone file older than version 11.
.... After the release migration, it is recommended that DBMS_DST package
.... be used to upgrade the 10.2.0.4.0 database timezone version
.... to the latest version which comes with the new release.
WARNING: --> Database contains schemas with stale optimizer statistics.
.... Refer to the Upgrade Guide for instructions to update
.... schema statistics prior to upgrading the database.
.... Component Schemas with stale statistics:
.... SYS
.... SYSMAN
WARNING: --> Database contains INVALID objects prior to upgrade.
.... The list of invalid SYS/SYSTEM objects was written to
.... registry$sys_inv_objs.
.... The list of non-SYS/SYSTEM objects was written to
.... registry$nonsys_inv_objs.
.... Use utluiobj.sql after the upgrade to identify any new invalid
.... objects due to the upgrade.
.... USER PUBLIC has 2 INVALID objects.
.... USER FAPROD has 1 INVALID objects.
.... USER SIPROD has 1 INVALID objects.
.... USER SYS has 2 INVALID objects.
.... USER USF_ADV has 2 INVALID objects.
WARNING: --> Database contains schemas with objects dependent on network
packages.
.... Refer to the Upgrade Guide for instructions to configure Network ACLs.
.... USER BANINST1 has dependent objects.
.... USER SIPROD has dependent objects.
.... USER SCTCVT06 has dependent objects.
.... USER GEPROD has dependent objects.
.... USER USF_FIN has dependent objects.
.... USER WTAILOR has dependent objects.
.... USER WFBANNER has dependent objects.
.... USER BANSSO has dependent objects.
.... USER ADPROD has dependent objects.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... Upgrade Guide for instructions to save the EM data prior to upgrade.
WARNING:--> recycle bin in use.
.... Your recycle bin is turned on and it contains
.... 449 object(s). It is REQUIRED
.... that the recycle bin is empty prior to upgrading
.... your database.
.... The command: PURGE DBA_RECYCLEBIN
.... must be executed immediately prior to executing your upgrade.
PL/SQL procedure successfully completed.
SYS@TEST11>exit -
SQL> spool on
SQL> spool 'preupgrade1.log'
SQL> startup upgrade;
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 602619904 bytes
Fixed Size 1348956 bytes
Variable Size 226495140 bytes
Database Buffers 369098752 bytes
Redo Buffers 5677056 bytes
Database mounted.
Database opened.
SQL> @E:\ORACLE11G\PRODUCT\11.1.0\product\11.1.0\db_1\RDBMS\ADMIN\utlu111i.sql;
ERROR:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
DECLARE
ERROR at line 1:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
ERROR:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
SQL> select count(*) from obj$ where owner#=0 AND type#=2 and name='PUIU$DBUA;
ERROR:
ORA-01756: quoted string not properly terminated
SQL> select count(*) from obj$ where owner#=0 AND type#=2 and name='PUIU$DBUA';
COUNT(*)
0
SQL> @/home/oracle/u01/app/oracle/product/11.1.0/db_1/rdbms/admin/utlrp.sql
SP2-0310: unable to open file "/home/oracle/u01/app/oracle/product/11.1.0/db_1/r
dbms/admin/utlrp.sql"
SQL>
SQL> @E:\ORACLE11G\product\11.1.0\product\11.1.0\db_1\rdbms\admin\utlrp.sql;
SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
ERROR at line 1:
ORA-04023: Object SYS.DBMS_REGISTRY_SYS could not be validated or authorized
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
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>#
DECLARE
ERROR at line 1:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
ERROR at line 1:
ORA-04023: Object SYS.DBMS_REGISTRY_SYS could not be validated or authorized
DECLARE
ERROR at line 1:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
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>#
OBJECTS WITH ERRORS
0
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERRORS DURING RECOMPILATION
0
ERROR:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
DECLARE
ERROR at line 1:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
BEGIN dbms_registry_sys.validate_components; END;
ERROR at line 1:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
ERROR:
ORA-04023: Object SYS.STANDARD could not be validated or authorized
SQL>
Edited by: user11958935 on Aug 12, 2010 2:21 AM
In this issue what happened their? and what is the actual issue ? Pls provide the answer in step by step wiseYou need to run this script while using the 10g binaries. See http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#UPGRD12395
HTH
Srini -
Steps to upgrade database from 9i to 10g on 11.5.9
Hi Guys,
I hope you are all doing ok.
please I need to upgrade my database from 9.2.0.6 to
10G (version 10.2.0.2)
platform is : 11.5.9
OS: Solaris
Please what are the steps to do this and is there a
documentation or metalink note for this upgrade?
Thanks in advanceFollow the latest 10gR2/11i Interoperability Notes (362203.1)
Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)
http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=362203.1
10.2.0.3 is the latest certified release. On Solaris, there will be many new ORA-00600 errors if you do not apply the following 2 patches (5871314 & 5892355) from this note:
ORA-600 [22635] and ORA-600 [KOKEIIX1] Reported While Upgrading Or Patching Databases To 10.2.0.3
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=412271.1 -
Hi,
I have been using a Oracle database server 10.1.0.3.0 installed quite a few years ago on Solaris 10 x86. Now an Oracle application server I am going to install requires a database that is 10.1.0.5.0 and higher, or 10.2.0.2.0 and higher. I haven't touched database server installation for so long and would like someone to give a quick guide as to:
- Where to download the necessary software for the upgrade?
- Will this be just an upgrade or a new installation? What are the main steps involved?
- How much is the risk that the existing 10.1.0.3.0 be rendered unusable because of the upgrade attempt?
I am asking these questions because I need to use the existing database from day to day and can not afford to lose it, and I haven't been doing database server installation for years, and picking it up again will take quite an amount of time. I only did new installations before and have never done upgrading.
Many thanks for your help!
NewmanHi, Srini,
You are right. I found the patch by the patch number you provided. But I can not download. The download button is dimmed, which pretty obviously means that the license we have does not include extended support. The only choice left is the path you outlined in you first answet to my question. To me that is a major effort for which I do not have the time right away, but have to postpone until the application development project on hand is completed.
The information you provided is precious and I will refer back to this page when I undertake the upgrade.
Many thanks for showing me the way when i am fumbling.
Regards,
Newman
Maybe you are looking for
-
Sending emails from the JSP application
hi, I am trying to send emails from my jsp application using JavaMail API's. I am using my own mailserver. Iam able to send emails from my applications to the ids of my own mailserver but not the yahoo,gmail and rediff ids. Is it because of blocking
-
ABAP Function Module to perform validation
Hi Developers, I'm am trying to create a function module to be later used by a Web Dynpro application. The function module should be structured as followed: Importing USER_ID : User ID to be searched that is entered by user. TENANT: Tenant ID that is
-
Migration Assistant From MacBook Pro 10.4.11 to iMac 10.6.3
Hope somebody can help me, I just bought an iMac to use at home and I want to transfer some of my files from my MacBook Pro running 10.4.11 to my iMac 10.6.3, is this possible using a FireWire cable and if so what kind of FireWire cable do I need to
-
Hi, I'm new to adjustment layers. I'm able to make such layers now, but when selecting gradient and selecting "align with layer" option, it actually aligns with the whole document, not just the layer. When I click between the adjustment layer and t
-
Hi all, I am using ODP.NET for database connectivity with oracle and ODBC.NET for SQL server. webservice build in C#.NET hangs up if I leave my application Idle for 5 secs only or minimizes for a while. Prior to this I was using ODBC api for both dbs