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>

Similar Messages

  • 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

  • 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 c

    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

  • How to enable kiosk mode on windows 7

    hi
    How to enable kiosk mode on windows 7 ?
    i need to a sample that when windows be load Disable below things
     Task Manager
     Driver
     Task Bar
     Combine Keys for example (Alt + Tab , Alt + F4 and ....)
    please help me for solve it 
    it's urgent
    thanks

    Hi vahidbakhtiary,
    As the reply from Monkeyboy, you could modify registry settings on systems to achieve what you want. There are many demo code online which showed us how to modify registry settings.
    hi
    How to enable kiosk mode on windows 7 ?
    i need to a sample that when windows be load Disable below things
     Task Manager
     Driver
     Task Bar
     Combine Keys for example (Alt + Tab , Alt + F4 and ....)
    please help me for solve it 
    it's urgent
    thanks
    These options might be dangerous. If someone who knew nothing about the program with this function and he uses this program, it might hurt his system. Since this, it would be better not to post this code in the forum to avoid someone tried the code and hurt
    his system.
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • 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!

  • 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.

  • How to enable Tasks mode tab in Oralce Depot Repair

    Want to create repair by using tasks.
    Please let me know how to enable Tasks mode tab in Oralce Depot Repair
    Ashish

    Look for a System Profile under CSD... there you should be able to setup the TASK mode for Depot Repair.
    Hope it helps.
    Jose

  • How to enable tasks mode in Depot Repair.

    Want to use task mode tab in oracle.
    How to enable it. Is there any profile option?
    Ashish

    Ashish_Inda_99 wrote:
    Want to use task mode tab in oracle.
    How to enable it. Is there any profile option?
    AshishPlease don't post duplicates -- How to enable Tasks mode tab in Oralce Depot Repair

  • Equium P200D how to enable SATA mode to AHCI so i can install OSx86

    Hi im trying to install OSx86 on my new Equium P200D-139 laptop that i bought this week.
    I need to set SATA mode to AHCI. All other pc's i have used i have been able to do this in the bios but with this laptop the bios is so cut down the option isnt there.
    Does anyone know how to enable AHCI mode so i can get OSx86 to boot.
    Thanks
    Mark

    If I'm not mistaken, you get the famous "Still waiting for root device" message, right?
    Well, I really do not have many experience in Mac operating systems, but this appears because of SATA drives and yes, you are right, AHCI mode works for most notebooks or desktop PCs.
    I think there is no way to enable this option. But maybe you can find help looking for some instructions on osx86project in google.

  • How to enable debug mode?

    Hi
    We are doing some web dynpro development.
    Can anyone tell me ho to enable debug mode in the server
    Thanks
    Vijay

    Hi,
    Check this blog, for some idea how to use configtool to set debug mode:
    NetWeaver Portal Debugging
    How to enable debug mode?
    I see that you are new to this forum, first of all welcome to SDN.
    I see that you have posted alot of questions today, really appreciate your interest in learning new stuff.
    SDN is a great forum to start with but my suggestion is to first search the forum for answers to your questions before posting them, this way you will help yourself instead of waiting for people to help you out.
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • Ask your question here...how to enable legacy mode in e1-510 (Z5WE3).

    how to enable legacy mode in e1-510  (Z5WE3).

    first of all you need to update BIOS at least to 2.11, this is the link for 2.12http://global-download.acer.com/GDFiles/BIOS/BIOS/BIOS_Acer_2.12_A_A.zip?acerid=635677775458144547&Step1=NOTEBOOK&Step2=ASPIRE&Step3=ASPIRE%20E1-510&OS=ALL&LC=en&BC=ACER&SC=PA_6 once you updated to 2.12, you will find an option on BIOS to enable Legacy mode.

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team,
    I come across a strange problem in the ORACLE 10G Server.
    I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
    Now When I execute these following commands through RMAN prompt it works properly as shown below?
    C:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: RAVI (DBID=4025722893, not open)
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database dismounted
    Oracle instance shut down
    RMAN> STARTUP MOUNT;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1247876 bytes
    Variable Size 79693180 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 7139328 bytes
    RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
    sql statement: ALTER DATABASE ARCHIVELOG
    RMAN> ALTER DATABASE OPEN;
    database opened
    RMAN>
    But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
    File backup.ora contains...
    run
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    SQL 'ALTER DATABASE ARCHIVELOG';
    ALTER DATABASE OPEN;
    passed to RMAN as follows...
    C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    then it fails giving the following errors...
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 11/30/2006 18:05:59
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Recovery Manager complete.
    The same thing is working in the Oracle 9i but not in the Oracle 10G.
    Can Anybody plz help me in this?
    Regards,
    S.Tiwari
    .

    export ORACLE_SID=<SID>
    rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    it will connect to the default SID, there's no such thing as a default SID, what do you mean?
    But what if there are more that one SID available & I
    want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
    more over the same string is working with 9i but not
    with 10G.maybe due to a bug?
    to summarize, you have two options it you would like to start up the instance:
    either you specify the SID prior starting rman and use os authentication
    or
    you register the instance statically and use oracle authentication.
    regards,
    -ap

  • How to enable "persistent mode" in Windows failover cluster manager 2012?

    In Windows Server 2008 R2 there was a checkbox named "Enable persistent mode" on a General tab in the Properties of a cluster resource.
    In Windows Server 2012 that seems to have disappeared.
    My cluster resource is a "generic script" resource (not that it makes any difference).
    How do I enable "persistent mode" for a cluster resource in Windows Server 2012?
    Thanks

    Hi Marcus Griley,
    Enabled by default for VM groups Option is hidden from GUI in 2012, you can use the specify the preferred owner of group to realize the same function, positively not come online
    on a node that is not a possible owner.  If no possible owner nodes are up, then the group will still failover to a node that’s not a possible owner, but it will not come online.
    Preferred Owners in a Cluster
    http://blogs.msdn.com/b/clustering/archive/2008/10/14/9000092.aspx
    Specify preferred owners of a group:
    https://technet.microsoft.com/en-us/library/cc759663(v=ws.10).aspx
    Set group FailOver policy:
    https://technet.microsoft.com/en-us/library/cc786993(v=ws.10).aspx
    Set group FailBack policy:
     https://technet.microsoft.com/en-us/library/cc778570(v=ws.10).aspx- This will help the resources to fail back on the preferred owner.
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to enable maintenance mode on SMD?

    I have poked around in the SMD but failed to find the spot to do it.
    Please help. Thanks!

    Hi,
    Follow this Diagnostics Administration > Managed Systems > Agent Administration and click on Enable maintenance mode button thats all.
    regards
    Naveen

  • How to enable Accessibility Mode of OEM 1g Application server console

    Hi,
    Please guide me to deploy the war file in the Oracle EBS release 12. For that i need to enable Accessibility Mode of OEM 1g Application server console.This is in ref. to 392218.1 note.
    Thanks...

    Hi,
    You need to configure the AS10g Control with R12 by following the steps in this document (not enabled by default).
    Note: 603716.1 - Using AS10g AS Control with eBusiness Suite Rel 12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=603716.1
    Regards,
    Hussein

Maybe you are looking for

  • Premiere CS4 problems with Snow Leopard 10.6.7

    I know that this is draging the depths of history but we have eight MackBook Pros with Snow Leopard (no roll back possible) and various CS4 progeams on in the college at which I teach.  We have a problem with Premiere in that clips will not play eith

  • FINT-Tolerance days

    I have configured interest calculation for customers. the customers are given 30 days grace period in addition to the payment terms. e.g. payment terms are payable within 30 days and the grace days are 30 days. In total the customer has 60 days for w

  • Adobe Flash not working with OS X 10.9.4

    I have a Macbook pro with OS X 10.9.4 .  For some reason Adobe Flash is not working even though is is properly installed and updated.  I tried uninstalling Flash and then reinstalling it.  It still does not work.  Whenever I am on a site that require

  • Mout a share folder?

    Hello, I have an imac and a pc! What I want to do is mount a share folder on my mac desktop so that I can just drag a drop file to the pc? How can I do that? I don't want to go to Connect server i already do that now! So is there a way where whenever

  • Camera Raw 6.7 - elements 10

    Does anybody know when camera raw 6.7 for elements 10 will start for eos D5 Mk III ?