Enable archivelog mode while datbase is open
Hi everybody
Kindly I need to ask if possible to enable archivelog mode while database in open status for oracle 11g? and if yes .. what is the statment?
Thanks in advance
Edited by: user11254543 on Jun 8, 2011 11:51 PM
You cant enable the archivelog mode when the database is in nomount state because the archive log information is kept in Control file like db in archivelog mode or not,log sequence number,SCNs,logfiles members,etc.. When we start the database in nomount state then only the pfile/spfile is read and sga is allocated and background processes are started but no controlfile is read ..to read the controlfile the database must be started in mount state..Why we require a controlfile is because it stores critical information about the database...If we start the database in mount state then it recognizes whether database is in archivelog mode or not , If it is in archivelog mode then it sees whether an instance recovery is needed or not by verifying the log sequence numbers in controlfile,redologfile & the datafile ..If an instance recovery is required then it performs the instance recovery by calling smon background process or if a datafile header is not up to date then we have to perform the media recovery using the redo logfiles...
For open state you have to post the reply..it will help you to explore yourself...Good Luck!
Similar Messages
-
Unable to enable archivelog mode and flashback mode
Hi,
I have oracle10g installed on Linux machine.
Everytime i try to enable ARCHIVELOG mode and FLASHBACK through the DB EM console and during the restart of the database, the database just startup and gets mounted, but does not get open. and not able to get the database to archive log mode.
and when i startup the database through the sqlplus i get this following error:
ORA-32004: obsolete and/or deprecated parameter(s) specified
i am not able to enable successfully archive log mode and flashback mode.
in sqlplus i did the following and got the following:
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 13585
Current log sequence 13587
so i was thinking maybe it is the archive log start sequence that is creating error.
because long back i had the database in archive log mode and because the archive log files got filled up, i disabled the archive mode and had to delete the archive log files.
Can someone help me bring the database in archive log mode which i am not able to successfully execute.
Thanks in advance,
Philip.Hi,
yes i looked in to the init.ora file and i got this
orcl.__db_cache_size=1308622848
orcl.__java_pool_size=167772160
orcl.__large_pool_size=16777216
orcl.__shared_pool_size=167772160
orcl.__streams_pool_size=16777216
*.audit_file_dest='/home/oracle/oracle/admin/orcl/adump'
*.background_dump_dest='/home/oracle/oracle/admin/orcl/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/u01/oradata/orcl/control01.ctl','/u01/oradata/orcl/control02.ctl','/u01/oradata/orcl/control03.ctl'
*.core_dump_dest='/home/oracle/oracle/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain='mslabs.noaa.gov'
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_recovery_file_dest='/u02/flash_recovery_area'
*.db_recovery_file_dest_size=64424509440
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.java_pool_size=159383552
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=562036736
*.processes=150
*.log_archive_start=FALSE
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=1687158784
*.shared_pool_size=157286400
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/oracle/admin/orcl/udump'
and there is a
*.log_archive_start=false
so do i have to delete it?
Thanks,
Philip. -
Enable Archivelog Mode On 2 Node RAC DATABASE
hi,
We are having 2 Node Rac 10g Database Installed on Windows.
Currently the Database is in Non Archivelog Mode.
I want to convert it to Archivelog Mode.
I come to know the steps to convert cluster database to Archivelog mode.
i.e.
set archive parameters like Disk Location and Archivelog File format.
then Convert the database in Exclusive Mode
ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
then
C:\> srvctl stop database -d <Global_DB_SID>
then enable Archivelog Mode.
SQL> STARTUP MOUNT;
SQL> ARCHIVE LOG START;
SQL> ALTER DATABASE ARCHIVELOG;
SQL> ALTER DATABASE SET cluster_database=TRUE SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE
C:\> srvctl start database -d <Global_DB_SID>
But I am confuse with Do i need to RUN this commands in both the nodes seperatly or only on any one node.
Please Reply,comments embeddedf
Node 1: OSERP1
Log on to OSERP1 Server
C:\> sqlplus sys/oracle@racdb2 as sysdba
SQL> ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile ; -- this needs to be database wide
SQL > ALTER SYSTEM SET log_archive_dest_1='location=\\OSERP1\archive$\ERP1 ' SCOPE=spfile sid ='ERP1'; -- required quotes added
-- not required
SQL> ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
not required to connect to other node
-- not required
SQL> ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile sid =ERP2;
SQL > ALTER SYSTEM SET log_archive_dest_1='location=\\OSERP2\archive$\ERP2 ' SCOPE=spfile sid ='ERP2'; -- quotes added
-- not required, and database wide setting
SQL> ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
Then following commands will be run connecting any of the instance
-- database has to be stopped first, if you stick to switching it to a non-cluster database
C:\> set ORACLE_SID=<local_instance_id>
C:\> sqlplus / as sysdba
SQL> STARTUP MOUNT;
-- wrong sequence of commands
SQL> ARCHIVE LOG START;
SQL> ALTER DATABASE ARCHIVELOG;
-- not required (see previous steps)
SQL> ALTER DATABASE SET cluster_database=TRUE SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE;
6. Start the cluster database.
C:\> srvctl start database -d <Global_DB_SID>
-- There is no such thing as a <Global_DB_SID>. There is a database name.
Please note your tnsnames.ora, in a standard install, needs to have the following service names.
ERP
ERP1
ERP2
I'm not sure why you have the non-standard service_name racdb2.
Somehow it looks like you both don't understand the RAC concept, and didn't understand my answer. I had to correct several things I already corrected in my previous response. I'm not sure why I'm not getting through.
Sybrand Bakker
Senior Oracle DBA -
Error while enabling Archivelog mode
There occurs an error while performing startup mount for enabling archive log mode in Windows.
Below are the steps followed:
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 20 16:49:14 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> disconnect;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> connect sys@epm11 as sysdba;
Enter password: ********
Connected.
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination D:\oracle\product\10.2.0\flash_recovery_area
Oldest online log sequence 9
Current log sequence 11
SQL> show parameter recovery_file_dest;
NAME TYPE VALUE
db_recovery_file_dest string D:\oracle\product\10.2.0/flash
recoveryarea
db_recovery_file_dest_size big integer 2G
SQL> alter system set log_archive_dest_1='location=D:\oracle\product\10.2.0\flash_recovery_area' sco
pe=spfile;
System altered.
SQL> show parameter log_archive_dest_1;
NAME TYPE VALUE
log_archive_dest_1 string location=D:\oracle\product\10.
2.0\flash_recovery_area
log_archive_dest_10 string
SQL> alter system set log_archive_start=true scope=spfile;
System altered.
SQL> show parameter LOG_ARCHIVE_START;
NAME TYPE VALUE
log_archive_start boolean TRUE
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Oracle version information is
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 – Production
Please let me know how to resolve this error.
Regards
Swathi.Hi,
Add archive log_archive_dest_1 D:\oracle\product\10.2.0\flash_recovery_area in pfile and then try to start the database.
Also check alert_log for more information.
Added the below info in pfile
log_archive_dest_1='location=D:\oracle\product\10.2.0\flash_recovery_area'
log_archive_start=TRUE
and then performed the process but the same error is giving.
SQL> startup mount;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
And i have checked the alert log which is at location D:\oracle\product\10.2.0\admin\EPM11\bdump
Below information is displayed in the alert log:
Tue Dec 21 12:07:15 2010
Starting background process EMN0
EMN0 started with pid=19, OS id=7500
Tue Dec 21 12:07:15 2010
Shutting down instance: further logons disabled
Tue Dec 21 12:07:15 2010
Stopping background process QMNC
Tue Dec 21 12:07:16 2010
Stopping background process CJQ0
Tue Dec 21 12:07:17 2010
Stopping background process MMNL
Tue Dec 21 12:07:18 2010
Stopping background process MMON
Tue Dec 21 12:07:19 2010
Shutting down instance (immediate)
License high water mark = 16
Tue Dec 21 12:07:19 2010
Stopping Job queue slave processes
Tue Dec 21 12:07:19 2010
Job queue slave processes stopped
All dispatchers and shared servers shutdown
Tue Dec 21 12:07:27 2010
ALTER DATABASE CLOSE NORMAL
Tue Dec 21 12:07:28 2010
SMON: disabling tx recovery
SMON: disabling cache recovery
Tue Dec 21 12:07:28 2010
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 12
Successful close of redo thread 1
Tue Dec 21 12:07:29 2010
Completed: ALTER DATABASE CLOSE NORMAL
Tue Dec 21 12:07:29 2010
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Dump file d:\oracle\product\10.2.0/admin/epm11/bdump\alert_epm11.log
Tue Dec 21 12:20:46 2010
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1439M/3062M, Ph+PgF:5441M/6994M, VA:1940M/2047M
Tue Dec 21 12:20:46 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 201326592
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEEPM11.ORA
sga_target = 612368384
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 394264576
compatible = 10.2.0.1.0
log_archive_start = TRUE
log_archive_dest_1 = location=D:\oracle\product\10.2.0\flash_recovery_area
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=EPM11XDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\CDUMP
db_name = EPM11
open_cursors = 300
pga_aggregate_target = 203423744
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing
PMON started with pid=2, OS id=1188
PSP0 started with pid=3, OS id=5800
MMAN started with pid=4, OS id=6212
DBW0 started with pid=5, OS id=3920
LGWR started with pid=6, OS id=496
CKPT started with pid=7, OS id=5008
SMON started with pid=8, OS id=692
RECO started with pid=9, OS id=2924
CJQ0 started with pid=10, OS id=1840
MMON started with pid=11, OS id=5520
MMNL started with pid=12, OS id=5212
Tue Dec 21 12:20:47 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Dec 21 12:20:47 2010
alter database mount exclusive
Tue Dec 21 12:20:51 2010
Setting recovery target incarnation to 2
Tue Dec 21 12:20:51 2010
Successful mount of redo thread 1, with mount id 3057552735
Tue Dec 21 12:20:51 2010
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Tue Dec 21 12:20:51 2010
alter database open
Tue Dec 21 12:20:51 2010
Thread 1 opened at log sequence 12
Current log# 2 seq# 12 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\REDO02.LOG
Successful open of redo thread 1
Tue Dec 21 12:20:51 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue Dec 21 12:20:52 2010
SMON: enabling cache recovery
Tue Dec 21 12:20:52 2010
Successfully onlined Undo Tablespace 1.
Tue Dec 21 12:20:52 2010
SMON: enabling tx recovery
Tue Dec 21 12:20:52 2010
Database Characterset is WE8MSWIN1252
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=6268
Tue Dec 21 12:21:00 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Tue Dec 21 12:21:00 2010
Completed: alter database open
Please provide me solution.
Regards
Swathi. -
How to enable archivelog mode in 10g?
It seems it's difference from 9i
C:\>set oracle_sid=ora101g
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Mar 14 06:39:17 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 109051904 bytes
Fixed Size 787688 bytes
Variable Size 87030552 bytes
Database Buffers 20971520 bytes
Redo Buffers 262144 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
SQL> -
Do I need to enable archivelog mode on a repository database?
The sabj.
I'll greatly appreciate any suggestions on it. As of right now I cannot find any intelligible information about it. Please, share your knowledge.
Thanks a lot beforehand,
Maria.Thanks a lot for reply!
I'll put it in archive log mode. I just wanted to make sure, that there is no difference in managing rep. database and targets/agents.
Thanks a lot! -
Why we need oracle database reboot to put database in archivelog mode?
I know how to enable archivelog mode, but what is the reason that to enable archive log we need database restart. which process forces to do that.
SantoshGanjure wrote:
Thanks a lot EdStevens for ur prompt response...I need something that satisfies my managers query.
If the question has originated with the PHB, then my flippant answer is even more relevant ...
PHB's are incapable of understanding the technical details, so I prefer to give them the 'executive summary':
"Because that's the way Oracle is written. We can argue over the technical merits of such a requirement 'till the cows come home. But at the end of the day, we have to shut down the database because the 'alter database archivelog' command will only succeed when the database is in mount (not open) mode. Now, let's work out how we can achieve our objective of putting the database in archivelog mode with minimal and appropriately scheduled down time."
As for the actual down time, it's about as minimal as you can get. How long does it take your database to complete a shutdown once the command is given? How long does it take you to type "startup mount"? How long does it take you to type "alter database archivelog"? to type "alter database open;"? For the database to complete the 'open' process? You could even script it so as to eliminate the keyboard typing time. -
I am curious if anyone knows of any software out there that can backup a database that is in no archivelog mode while it is running?
I don't want to do this....but I am curious to see if there is any that I have not heard of for a writeup I am doing.
Regards
Tim BolesHello,
I've never heard about it.
RMAN which is (on my point of view) the best tool to Backup Oracle database needs to set the database
in mount state for Cold Backup.
Else, about mirror or "business copy", they cannot manage dirty blocks in the buffer. They just manage
the files on the disk but, while a database is open the datafiles have no reason to be consistent.
We make clone with Business Copy (HP) for our Backup and we need to have the database in archivelog mode
and the Tablespaces in Backup mode.
Best regards,
Jean-Valentin -
Hello dear friends,
I want to enable archivelog mode in oracle 10.2 in RAC environment.
who can help me in its steps ?Step how to convert noarchive log database in to archive log on ASM
First take out the one instance from cluster to perform d maintenance tasks
1) SQL> alter system set cluster_database=true scope=spfile sid='approd1';
2) SQL> shutdown immediate
3) Start the single instance database which we took out from cluster pair
4) SQL> startup mount;
5) Check the log_archive_dest ,if its blank , which is good for us , otherwise we have to clear it values actually log_archive_dest is making archive log in local file system and log_archive_log_n , we can use it for both local , remote and ASM locations,so we will use log_archive_dest_1 instead of log_archive_dest
6) SQL >Show parameter log_archive_dest
NAME TYPE VALUE
7) Log_archive_dest string D:\oracle\DB10g\admin\ORCL\arc
Here in my environment the values of log_archive_dest is not NULL , so I have to reset the current values and put the null values
8) SQL> alter system set log_archive_dest='' scope=spfile;
Any destination changes that you make take effect at the next log switch(automatic or manual) so restart the database and logon again
9) SQL> shutdown immediate
10) Again start the database in mount mode ( maintenance mode)
11) Startup mount
12)
13) Check the values of t again and make sure log_archive_dest should be blank or unset .We can’t use log_archive_dest or log_archive_dublex with db_recover file parameter , so that why I m using logarchive_log_1 parameter
14) SQL> alter system set log_archive_dest_1='LOCATION=+DATA/';
15) SQL> alter system set cluster_database=true scope=spfile sid='approd1'
16) Start the database
17) Startup -
I have enabled "standalone" mode in the CICM utility and now cant connect to KVM
Hello. I am VERY new to the UCS environment, and while trying to configure RAID on one of my servers (a racked c240, managed through UCS), I enabled "standalone" mode while kvm'd into the server I was working on. And of course, I can now no longer access the server. Is there some way in which I can undo this via the UCS Manager console, or would a keyboard and monitor need to be physically connected? The server is in another state.
The UCS Manager does seem to be aware of the server still, but the "overall state" shows as "inaccessible." Any help would be GREATLY appreciated.
Thank you,
ToddI have never seen that! The server is marked as inaccessible cause you need to set it to factory defaults... attach the monitor and keyboard and try to move it back, but I am not sure that is possible (again, I have never seen this before)... you might need to remove the cables going to the fabric Interconnects and then reboot> F8 > Factory default and cable it again.
Let me know what you see... I am interested in confirming what other issue you may face now, hopefully none :)
-Kenny -
Enable the archivelog mode?
Hi,
I've tuned on the archive log mode already. However, the value of "log_archive_start" is FALSE. After than I edit init.ora change it to TRUE and shutdown DB, startup mount and then alter database open. But the value of "log_archive_start" still "FALSE". What I have done wrong? And what is consequence if the value "FALSE"?Hmm, looks like an issue. I hope you followed the steps mentioned below to enable archiving.
1. Shutdown db
2. Edit init.ora and set log_archive_start=TRUE
3. Startup mount pfile=init.ora
4. ALTER DATABASE ARCHIVELOG;
5. ALTER DATABASE OPEN
The "ALTER SYSTEM ARCHIVE LOG START;" command will also start the archiving without having to re-start the db. However the archiving will not persists on restarting the db. Hence the 5-steps mentioned above is the way to go.
Which method did you follow ? Also are you using spfile? In that case you have to enable log_archive_start in spfile using the following command
alter system set log_archive_start=true scope=spfile
Execute the following command in order to test whether archiving is happening or not :-
SQL>archive log all; -
How to enable private mode from commandline, with an URL.
I am a software dev and I wish to have my application open links in Firefox.
Using ShellExecute(), i can do with with commandlines like:
firefox.exe http://support.mozilla.org
But I also want the option to open the link in private mode.
I am able to start firefox in private mode by doing this:
firefox.exe -private
However, if I add a link to the command line
firefox.exe -private http://support.mozilla.org
I get strange results.
If firefox is not running, it launches 2 copies of the application.
One that opens in private mode and the other opens in normal mode and goes to the URL specified.
If firefox is already running, it just opens the URL in a new tab.
No private mode instance is launched.
Am I using the command-line syntax incorrectly?It will never work if Firefox is already running as Firefox will use the already opened Firefox instance.<br />
In that case only using a separate profile will work.
You can try to specify the -url switch as well.
*firefox.exe -private -url http://support.mozilla<i></i>.org
You can also look at the -new-tab switch.
*firefox.exe -private -new-tab http://support.mozilla<i></i>.org
*https://developer.mozilla.org/en/Command_Line_Options -
Error while enabling maintenance mode
Hi,
while enabling maintenance mode, the following error arises
sqlplus -s &un_apps/***** @/d01/oracle/visappl/ad/11.5.0/patch/115/sql/adsetmmd.sql ENABLE
An error occured while running adsetmmd.sql.
Continue as if it were successfull [No] :
charan[oracle@oraapps VIS_oraapps]$ sqlplus system/manager @$ORACLE_HOME/rdbms/admin/utlrp.sql
SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:15:06 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
unknown SET option beginning "SQLPLUSCOM..."
PL/SQL procedure successfully completed.
Table created.
Table created.
Table created.
Index created.
Table created.
Table created.
SELECT o.obj#, o.type#, o.owner# FROM obj$ o
ERROR at line 2:
ORA-00942: table or view does not exist
SELECT o.obj#, o.type#, u.name AS owner FROM utl_recomp_all_inv o, user$ u
ERROR at line 2:
ORA-00942: table or view does not exist
Package created.
No errors.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY UTL_RECOMP:
LINE/COL ERROR
60/10 PL/SQL: SQL Statement ignored
61/29 PL/SQL: ORA-00942: table or view does not exist
64/10 PL/SQL: SQL Statement ignored
64/17 PL/SQL: ORA-00942: table or view does not exist
104/7 PL/SQL: SQL Statement ignored
104/14 PL/SQL: ORA-00942: table or view does not exist
183/13 PL/SQL: SQL Statement ignored
184/35 PL/SQL: ORA-00942: table or view does not exist
188/13 PL/SQL: SQL Statement ignored
189/35 PL/SQL: ORA-00942: table or view does not exist
196/13 PL/SQL: SQL Statement ignored
LINE/COL ERROR
197/35 PL/SQL: ORA-00942: table or view does not exist
202/13 PL/SQL: SQL Statement ignored
203/35 PL/SQL: ORA-00942: table or view does not exist
267/10 PL/SQL: SQL Statement ignored
268/42 PL/SQL: ORA-00942: table or view does not exist
361/10 PL/SQL: SQL Statement ignored
420/15 PL/SQL: ORA-00942: table or view does not exist
538/11 PL/SQL: SQL Statement ignored
539/19 PL/SQL: ORA-00942: table or view does not exist
BEGIN utl_recomp.recomp_serial(); END;
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYSTEM.UTL_RECOMP" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
DECLARE
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_REGISTRY_SYS.VALIDATE_COMPONENTS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
ORA-06512: at line 8
=======================================
[oracle@oraapps VIS_oraapps]$ sqlplus system/manager
SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:17:49 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
unknown SET option beginning "SQLPLUSCOM..."
SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFCORLGS.pls
DOC> | Copyright (c) 2005 Oracle USA, Inc., Redwood Shores, California, USA |
DOC> | All rights reserved. |
DOC> +=======================================================================+
DOC> | FILENAME
DOC> | AFCORLGS.pls
DOC> |
DOC> | DESCRIPTION
DOC> | PL/SQL specification for package: FND_CORE_LOG
DOC> |
DOC> | Core Logging Diagnostic Tool
DOC> |
DOC> |
DOC> | HISTORY
DOC> | 03/22/2005 PDELUNA Created
DOC> |
DOC> *=======================================================================*/
Package created.
Commit complete.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
[oracle@oraapps VIS_oraapps]$ sqlplus system/manager
SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:19:49 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
unknown SET option beginning "SQLPLUSCOM..."
SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFCORLGB.pls
DOC> | Copyright (c) 2005 Oracle USA, Inc., Redwood Shores, California, USA |
DOC> | All rights reserved. |
DOC> +=======================================================================+
DOC> | FILENAME
DOC> | AFCORLGB.pls
DOC> |
DOC> | DESCRIPTION
DOC> | PL/SQL body for package: FND_CORE_LOG
DOC> |
DOC> | Core Logging Diagnostic Tool
DOC> |
DOC> |
DOC> | HISTORY
DOC> | 03/22/2005 PDELUNA Created
DOC> |
DOC> *=======================================================================*/
Warning: Package Body created with compilation errors.
Commit complete.
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
[oracle@oraapps VIS_oraapps]$ sqlplus system/manager
SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:20:21 2008
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
unknown SET option beginning "SQLPLUSCOM..."
SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFPFPROB.pls
DOC> | Copyright (c) 1993 Oracle Corporation Redwood Shores, California, USA |
DOC> | All rights reserved. |
DOC> +===========================================================================+
DOC> | FILENAME
DOC> | AFPFPROB.pls
DOC> |
DOC> | DESCRIPTION
DOC> | PL/SQL body for package: FND_PROFILE
DOC> |
DOC> | Maintains the server side cache of profile options.
DOC> |
DOC> | NOTES
DOC> | This module is called by AutoInstall (afprof.drv) on install and
DOC> | upgrade. The WHENEVER SQLERROR and EXIT (at bottom) are required.
DOC> |
DOC> | HISTORY
DOC> | 3/23/93 T Morrow Created
DOC> | 5/27/93 G Buzsaki Updated to 10.X spec
DOC> | 8/25/93 G Buzsaki Added GET_ANY procedure
DOC> | 2/17/94 S Stratton Added security profiles to initialize
DOC> | 4/30/96 T Morrow Added SAVE and SAVE_USER procedures.
DOC> | 03/20/99 S Sung Replaced != with <>
DOC> | 09/18/00 R Tse Added GET_TABLE_VALUE and
DOC> | GET_ALL_TABLE_VALUES functions.
DOC> | 01/03/01 J Cordes Rewrote get_specific() to minimize
DOC> | logical reads. (Bug 1563556)
DOC> | 05/08/01 G Khoury Rewrote find, put, get, get_all_table_values
DOC> | to implement hash_table for caching of
DOC> | fnd_profile_option_values. (Bug 1663264)
DOC> | 11/13/01 R Tse Implemented multiple caches for storing
DOC> | profile values at the 4 different levels.
DOC> *===========================================================================*/
Warning: Package Body created with compilation errors.
Commit complete.
Input truncated to 6 characters
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
[oracle@oraapps VIS_oraapps]$ -
Archivelog mode during Database upgrade
I have database that needs to be upgraded (from 8.1.7 to 10.2.0.4) and this database runs in ARCHIVELOG MODE. My question should I turn archivelog mode off during upgrade? Do you see any benefits or issues with that?
Better option to put database in no archivelog mode. Take a backup and then put database in noarchivelog mode.
Log_archive_format will be different in 10g so while enable you may need to change this parameter. -
Switched Database to ARCHIVELOG Mode, Then it Hung
Hi everyone,
This db is 9.2 on Windows.
**After switching my database to Archivelog mode and reopening, it hung forever.**
(I had to use Shutdown abort to bring it down - these steps worked to get it back online:
shutdown abort; --startup mount;
alter system archive log all;
alter database noarchivelog;
alter database open;)
The Alert.log shows "Cannot allocate new log" immediately after I switched to Archivelog mode. So it hung at that point. Had I known why it hung, maybe running 'Alter system archive log all' would have fixed everything. But I've never had to run that when I've switched other databases to Archivelog mode.
Does this indicate another problem with this database? I'm leery of it now and feel lucky that I was able to get it up again.
Thanks, John
entries from Alert.log when I switched to Archivelog mode:
ALTER DATABASE MOUNT
Wed Aug 06 11:44:19 2008
Successful mount of redo thread 1, with mount id 1689013583
Wed Aug 06 11:44:19 2008
Database mounted in Exclusive Mode.
Completed: ALTER DATABASE MOUNT
Wed Aug 06 11:44:45 2008
alter database archivelog
Wed Aug 06 11:44:45 2008
Starting control autobackup
Control autobackup written to DISK device
handle 'F:\ORACLE\ORA92\DATABASE\C-1602026732-20080806-00'
Completed: alter database archivelog
Wed Aug 06 11:45:17 2008
alter database open
Wed Aug 06 11:45:17 2008
Thread 1 opened at log sequence 9014
Current log# 1 seq# 9014 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO01.LOG
Successful open of redo thread 1
Wed Aug 06 11:45:17 2008
SMON: enabling cache recovery
Wed Aug 06 11:45:17 2008
Undo Segment 1 Onlined
Undo Segment 2 Onlined
Undo Segment 3 Onlined
Undo Segment 4 Onlined
Undo Segment 5 Onlined
Undo Segment 6 Onlined
Undo Segment 7 Onlined
Undo Segment 8 Onlined
Undo Segment 9 Onlined
Undo Segment 10 Onlined
Successfully onlined Undo Tablespace 1.
Wed Aug 06 11:45:17 2008
SMON: enabling tx recovery
Wed Aug 06 11:45:17 2008
Database Characterset is WE8MSWIN1252
replication_dependency_tracking turned off (no async multimaster replication found)
Completed: alter database open
Wed Aug 06 11:59:58 2008
Thread 1 advanced to log sequence 9015
Current log# 2 seq# 9015 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO02.LOG
Wed Aug 06 12:01:03 2008
Thread 1 advanced to log sequence 9016
Current log# 3 seq# 9016 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO03.LOG
Wed Aug 06 12:09:16 2008
Thread 1 cannot allocate new log, sequence 9017
All online logs needed archiving
Current log# 3 seq# 9016 mem# 0: F:\ORACLE\ORADATA\PBSMEM\REDO03.LOG
**** PrefBid App locked up at this point – hung – users cannot do anything -- Note the gap in log entry time – no further entries until my Shutdown requestHi,
We can enable automatic archiving after instance startup.
In order to enable automatic archiving without shutting down the current instance, use the SQL command ALTER SYSTEM with the ARCHIVE LOG START parameter.
ALTER SYSTEM ARCHIVE LOG START;
When using this option, the instance does not have to be shut down to enable automatic archiving.
However, if an instance is shutdown and restarted after automatic archiving is enabled using this option, the instance is reinitialized using the settings of the parameter file ("LOG_ARCHIVE_START"), which may or may not enable automatic archiving.
NOTE: On 9i, you can use an SPFILE instead of the standard pfile. The LOG_ARCHIVE_START parmaeter is deprecated with 10g.
alter system set log_archive_start=true scope=spfile;
Did you read the Metalink Note I gave you? These information was there...
Thanks,
Marcello M.
Maybe you are looking for
-
I moved my project and I can't get it back
I'm sure I'm missing something. I moved the folder that my project was in to back it up. I tried to put it back but Premier Pro CS3 doesn't "see" any of the clips/files. It asks me for several locations...I Select them...and the project opens with th
-
Can't see 'Local Variables' while debugging in Sun Studio 11
I am debugging a C/C++ application built with Sun Studio 11 running on Solaris 10. I load the application as always, set a breakpoint and run. The debugger stops at the assigned breakpoint as expected. The issue is that at this point there are no loc
-
New features of itunes 11.0.3 not there after download
new features of itunes 11.0.3 not there after download
-
Output verbose to file and console?
Hello all, I'm running my PowerShell script from a batch file, and I'm trying to output the verbose statements to a log file as well as to the console. In the batch file I have: powershell.exe -command ".\Script.ps1 -verbose 4> ScriptLOG.txt" What I
-
Error loading template 0BROADCASTING_TEMPLATE
Hello Everybody, When i go to Business Explorer - Web Application Designer - Publish and click on In BEx Broadcaster ,an error message is displayed when this is loaded saying : Error loading template 0BROADCASTING_TEMPLATE Can somebody plz tell why B