Archive log mode in oracle 10g on windows environment

Hi All,
I have a production database (Oracle 10g 10.2.0.1.0) on windows 2003 server. yesterday i put the database into archivelog mode. when i query for spfile location it is shown in ORACLE_HOME\dbs location.
but when i created pfile using the spfile it is created at ORACLE_HOME\database location. and there is another spfile also. i set the log_archive_dest at a location other than flash_recovery_area in pfile, but it is showing the DB_RECOVER_AREA.
today i seen archives are creating in both locations.
can a database have two spfiles. and working on them ?
can i remove a spfile in /dbs location.
pls. give me suggestion to rectify this
thanks and regards.

Salman Qureshi wrote:
Hi,
On windows platform, spfile and initfiles are by default created under ORACLE_HOME\database directory and this is also the default location, so, your spfile or initfile in this directory are actually in use.
i set the log_archive_dest at a location other than flash_recovery_area in pfile, but it is showing the DB_RECOVER_AREA. You need to unset the "db_recovery_file_dest" parameter first.
alter system set db_recovery_file_dest='';Now set your log_archive_dest as follows
alter system set log_archive_dest_1="location=your_location";Don't user older "log_archive_dest" parameter
SalmanYour assertion that "You need to unset the "db_recovery_file_dest" parameter first." is patently false.
DB_RECOVERY_FILE_DEST is used for more than just archivelogs. Setting LOG_ARCHIVE_DEST_n to a location other than USE_DB_RECOVERY_FILE_DEST even while DB_RECOVERY_FILE_DEST is set is perfectly acceptable. In fact it is required if you want to continue to use the FRA for things other than archivelogs. Things, like - oh, say - backups!
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.02.15 07:42:18 =~=~=~=~=~=~=~=~=~=~=~=
login as: oracle
oracle@vmlnx01's password:
Last login: Tue Feb 15 07:01:51 2011 from 192.168.160.1
[oracle@vmlnx01 ~]$ sqlplus / as sysdbaFirst, note the date and time of logon, to compare to archivelog timestamps later ...
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Feb 15 07:42:27 2011
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNext, note the values for the log_archive_dest_n parameters. Actually, the value for #10 is the default if no log_arch_dest_n parms are set, but I like to set it explicitly to avoid ambiguity.
SQL> show parameter log_archive_dest_
NAME     TYPE VALUE
log_archive_dest_1     string
log_archive_dest_10     string LOCATION=USE_DB_RECOVERY_FILE_
DEST
log_archive_dest_2     string
log_archive_dest_3     string
log_archive_dest_4     string
log_archive_dest_5     string
log_archive_dest_6     string
log_archive_dest_7     string
log_archive_dest_8     string
log_archive_dest_9     string
NAME     TYPE VALUE
log_archive_dest_state_1     string enable
log_archive_dest_state_10     string enable
log_archive_dest_state_2     string enable
log_archive_dest_state_3     string enable
log_archive_dest_state_4     string enable
log_archive_dest_state_5     string enable
log_archive_dest_state_6     string enable
log_archive_dest_state_7     string enable
log_archive_dest_state_8     string enable
log_archive_dest_state_9     string enableAnd note the setting for db_recovery_file_dest ...
SQL> show parameter db_recovery_file_dest
NAME     TYPE VALUE
db_recovery_file_dest     string /orafra
db_recovery_file_dest_size     big integer 4GNow lets check what's in the recovery dest. Notice there is no directory timestamped today (15 Feb), so no archivelogs have been generated for today.
SQL> !ls -l /orafra/VLNXORA1/archivelog
total 28
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_08
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_09
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_10
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_11
drwxr-x--- 2 oracle oinstall 4096 Feb 12 06:00 2011_02_12
drwxr-x--- 2 oracle oinstall 4096 Feb 13 11:00 2011_02_13
drwxr-x--- 2 oracle oinstall 4096 Feb 14 22:00 2011_02_14So lets force a log switch and check the results
SQL> alter system switch logfile;
System altered.
SQL> !ls -l /orafra/VLNXORA1/archivelog
total 32
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_08
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_09
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_10
drwxr-x--- 2 oracle oinstall 4096 Feb 11 17:53 2011_02_11
drwxr-x--- 2 oracle oinstall 4096 Feb 12 06:00 2011_02_12
drwxr-x--- 2 oracle oinstall 4096 Feb 13 11:00 2011_02_13
drwxr-x--- 2 oracle oinstall 4096 Feb 14 22:00 2011_02_14
drwxr-x--- 2 oracle oinstall 4096 Feb 15 07:43 2011_02_15
SQL> !ls -l /orafra/VLNXORA1/archivelog/2011_02_15
total 1892
-rw-r----- 1 oracle oinstall 1931776 Feb 15 07:43 o1_mf_1_82_6oo0qomc_.arcSo we see that, as expected, the archivelog was written to the FRA. Note the log sequence # of 82
Also, let's check my "alternate" location, as yet undefinded to the db ..
SQL> !ls -l /oraarch/vlnxora1
total 0No files there.
Now we will change the archivelog destination. Note that I am NOT touching the FRA definition
SQL> alter system set log_archive_dest_1='location=/oraarch/vlnxora1' scope=both;
System altered.
SQL> alter system set log_archive_dest_10 = '' SCOPE=both;
System altered.
SQL> show parameter log_archive_dest_
NAME     TYPE VALUE
log_archive_dest_1     string location=/oraarch/vlnxora1
log_archive_dest_10     string
log_archive_dest_2     string
log_archive_dest_3     string
log_archive_dest_4     string
log_archive_dest_5     string
log_archive_dest_6     string
log_archive_dest_7     string
log_archive_dest_8     string
log_archive_dest_9     string
log_archive_dest_state_1     string enable
NAME     TYPE VALUE
log_archive_dest_state_10     string enable
log_archive_dest_state_2     string enable
log_archive_dest_state_3     string enable
log_archive_dest_state_4     string enable
log_archive_dest_state_5     string enable
log_archive_dest_state_6     string enable
log_archive_dest_state_7     string enable
log_archive_dest_state_8     string enable
log_archive_dest_state_9     string enable
SQL> show parameter db_recovery_file_dest
NAME     TYPE VALUE
db_recovery_file_dest     string /orafra
db_recovery_file_dest_size     big integer 4GSo, above we see that I do not have an archivelog destination set to the FRA, but the FRA is still set. I did not unset it, as you asserted was necessary. I still want my backups to go there.
Next we'll do another log switch and check the results.
SQL> alter system switch logfile;
System altered.First, we'll check the (now unused) FRA destination. Notice that there is still just the one archivelog, sequence 82.
SQL> !ls -l /orafra/VLNXORA1/archivelog/2011_02_15
total 1892
-rw-r----- 1 oracle oinstall 1931776 Feb 15 07:43 o1_mf_1_82_6oo0qomc_.arcNow check the new, non-fra destination. Notice that it now has an archivelog, sequence 83
SQL> !ls -l /oraarch/vlnxora1
total 96
-rw-r----- 1 oracle oinstall 92160 Feb 15 07:45 1_83_732127364.dbf
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@vmlnx01 ~]$ exit
logout

Similar Messages

  • Archive log mode in oracle 10g

    Hi,
    I would like to know the archive log mode in oracle 10g and I use this code in SQLPlus
    select log_mode from v$database
    But it displayed: "2" not : NOARCHIVELOG or ARCHIVELOG
    It displayed a number, not a String.
    How could I know this?
    Thanks

    Hi Paul
    Because I am a newbie in DBA Oracle so I got many difficulties.
    You are very kind to help me.
    So I have some more questions:
    1. when I executed this code, it always reported error:
    $ tmp=`${ORACLE_HOME}/bin/sqlplus -s / as sysdba << EOF
    set heading off feedback off;
    exit
    EOF`
    tmp='ERROR:
    ORA-01031: insufficient privileges
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus'
    so when I updated like this:
    tmp=`${ORACLE_HOME}/bin/sqlplus -s sys/syspass@db02 as sysdba <<EOF     
                   set heading off feedback off;
                   exit
                   EOF`
    It run correctly.
    2. With Paul's guide:
    Do not execute Oracle commands from root, execute them as oracle user. This works to me :
    $ tmp=`${ORACLE_HOME}/bin/sqlplus -s / as sysdba << EOF
    set heading off feedback off
    alter database backup controlfile to '${CONTROLFILE_DIR}/<file name>';
    alter database backup controlfile to trace;
    exit
    EOF`
    Of course CONTROLFILE_DIR must be set to a directory with write permission for oracle user.
    For ex: I have an Unix account: unix/unix
    and a Sys Oracle account: oracle/oracle
    I login with Unix acount (unix/unix) and call script file that contains above code.
    tmp=`${ORACLE_HOME}/bin/sqlplus -s oracle/oracle@db02 as sysdba <<EOF     
                   set heading off feedback off
                   alter database backup controlfile to '${CONTROLFILE_DIR}/backup_control.ctl';
                   alter database backup controlfile to trace;
                   exit
                   EOF`
    Unix report as following: Linux error: 13: Permission denied.
    CONTROLFILE_DIR directory is read,write,execute for account unix/unix.
    Of course CONTROLFILE_DIR must be set to a directory with write permission for oracle user. You mean I have to create a Unix user is the same to Oracle user so that Oracle user can have permission to write.
    Please guilde more detail.
    Thanks for your attention.
    Message was edited by:
    user481034

  • Archive log folders in Oracle 10g

    Hi everybody,
    I have installed Oracle 10g on my Windows XP Pro SP3 in archivelog mode.
    The archived log are saved in different folders according to the save date; for example I have a folder called 2008_06_06 which contains all the archives saved on that day and so on
    I'd like to have all archive log saved by Oracle in only one folder, how can I specify this in the installation process or in the parametrs settings?
    Thanks, Valerio

    user640800 wrote:
    Hi everybody,
    I have installed Oracle 10g on my Windows XP Pro SP3 in archivelog mode.
    The archived log are saved in different folders according to the save date; for example I have a folder called 2008_06_06 which contains all the archives saved on that day and so on
    I'd like to have all archive log saved by Oracle in only one folder, Why? What problem does it solve? Oracle knows where those files are, how to back them up, how to restore them from backup, how to delete them when they are no longer needed. Rman will take care of all the housekeeping just fine, thank you very much.
    Yes, oracle provides mechanisms for writing the archivelogs to a different directory structure and with a different file name convention. But again, to what end? What problem does it solve by doing so?
    how can I specify this in the installation process or in the parametrs settings?Go to tahiti.oracle.com. Drill down to your product and version. Locate the Reference Manual. Open it and scan the table of contents. You will find a section on initialization parms. Use your browser's search function to find parms that deal with "archive".
    >
    Thanks, Valerio

  • Putting a Oracle RAC in  to archive log mode??

    Our RAC is a 10gR2 Three(3) node RAC with a SAN as the shared storage. cluster is installed on linux. at the moment the RAC is in noarchieve log mode.
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination /u01/app/oracle/product/10.2.
    0/db_1/dbs/arch
    Oldest online log sequence 665
    Current log sequence 666
    we created raw partitions in SAN and use ASM to manage shared storage.
    when running DBCA at "specify locations for the database files to be created" step we selected "use oracle managed files" and gave database area = +DATA/
    then at choose the recovery options for the database" step we ticked specify flash recovery area and gave Flash Recovery AREA = +BACKUP/ and flash recovery area = 10240 MB. we didnt click "enable archiving" option. hence the RAC DB is in NOARCHIEVELOG mode.
    i found some guide to put RAC in archive log mode which i have given below....
    ALTER SYSTEM SET log_archive_start=TRUE SCOPE=spfile;
    ALTER SYSTEM SET log_archive_dest_1='location=/u01/oradata/MYSID/archive/' SCOPE=spfile;
    ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile;
    Since we need to mount the database in exclusive mode we must also alter the following parameter:
    ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
    From the command line we can stop the entire cluster using:
    srvctl stop database -d MYSID
    With the cluster down we can connect to a single node and issue the following commands:
    STARTUP MOUNT;
    ARCHIVE LOG START;
    ALTER DATABASE ARCHIVELOG;
    ALTER SYSTEM SET cluster_database=TRUE SCOPE=spfile;
    SHUTDOWN IMMEDIATE;
    Notice that the CLUSTER_DATABASE parameter has been reset to it's original value. Since the datafiles and spfile are shared between all instances this operation only has to be done from a single node.
    From the command line we can now start the cluster again using:
    srvctl start database -d MYSID
    my main question is about the setting of
    ALTER SYSTEM SET log_archive_dest_1='location= ????? ' SCOPE=spfile;
    since i have set +BACKUP/ as the FRA during installation how should i define the location of log_archive_dest_1???
    many thanks in advance.
    regards
    Dilan

    many thanks for the replies
    will the command you posted send the archive logs to the "+BACKUP/" location in my SAN.
    if yes how does oracle know that USE_DB_RECOVERY_FILE_DEST = BACKUP/ in my SAN. or how do i set oracle to use BACKUP/ as the USE_DB_RECOVERY_FILE_DEST??
    im a newbie to RAC so pls bear with me. also at the moment i get the following outputs from my database.... pls note the bold part below, is the archive destination pointing to a location in my local server?
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination            /u01/app/oracle/product/10.2.0/db_1/dbs/arch
    Oldest online log sequence 665
    Current log sequence 666
    SQL> show parameter db_recovery;
    NAME TYPE VALUE
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    SQL> show parameter archive
    NAME TYPE VALUE
    archive_lag_target integer 0
    log_archive_config string
    log_archive_dest string
    log_archive_dest_1 string
    log_archive_dest_10 string
    log_archive_dest_2 string
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    NAME TYPE VALUE
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string enable
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    NAME TYPE VALUE
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 2
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    remote_archive_enable string true
    standby_archive_dest string ?/dbs/arch

  • Standby Database (Archive Log Mode)

    I'm going to be setting up a standby database.
    I understand that the primary database must be in archive log mode.
    Is there any reason for the standby database to be in archivelog mode?

    Since your primary Db is in archive log mode, so will be your standby, when it is made primary.But. you can use STANDBY REDO LOGS from 9i version, where these Standby Redo Logs then store the information received from the Primary Database.
    As per metalink:-
    >
    Standby Redo Logs are only supported for the Physical Standby Database in Oracle 9i and as well for Logical Standby Databases in 10g. Standby Redo Logs are only used if you have the LGWR activated for archival to the Remote Standby Database.If you have Standby Redo Logs, the RFS process will write into the Standby RedoLog as mentioned above and when a log switch occurs, the Archiver Process of the Standby Database will archive this Standby Redo Log to an Archived Redo Log, while the MRP process applies the information to the Standby Database. In a Failover situation, you will also have access to the information already written in the Standby Redo Logs, so the information will not be lost.
    >
    Check metalink Doc ID: Note:219344.1
    Regards,
    Anand

  • Archive log mode Turn off

    Hi all DBA guys, Have a Nice day all
    If i change archive log mode to no archive log mode, internally whats happen my database?.
    Is this old archive log backup use for future if again convert no archive to archive log mode?
    What's happen flashback if i change archive log mode to no archive log mode?
    Regards
    S.Azar

    azarmohds wrote:
    Thanx lot,
    why i asked this question means, rightnow you posted, this is feature of 10g i.e flashback database confiured when archive log mode is enabled...,so in this case
    What's happen flashback if i change archive log mode to no archive log mode?S.Azar,
    You should be clear about things that when you read notes from web, there can be a language mismatch. So the best is that search first over the oracle docs.
    Now about your doubt, its a terminology mismatch which is happening here. To enable Flashback Database feature which is more persistent copy of the undo data , stored seperately in a FLB file, you MUST have to have archivelog mode configured in your db. Without this, you can't enable the Flashback Database feature. And you can't switch to noarchive log mode as well if you have Flashback Database mode on.
    The other thing ( which I guess Anurag was mentioning ) is the normal Flashback feature which relies on Undo data stored in the undo tablespace. This solely is based on teh undo data and doesn't depend on the archive/nonarchive log mode of the database. But this is limited to that data and to that time period up till which you can store the undo data in your undo tablespace.
    HTH
    Aman....

  • Archive log mode doubt

    Hi All,
    We have 10g R2 database running on RHEL 4 OS. In order to set the archive log mode for the database, if we set only log_archive_dest_n parameter is only enough or we have to set db_recovery_file_dest_size and db_recovery_file_dest also? i know that these 2 parameters are required to configure the flash_recovery_area. my doubt is whether, do we need to set flash_recovery_area parameters and log_archive_dest_n parameters to take backup of databases or set only the log_archive_dest_n parameter and enable archive log mode and take backup using RMAN?
    Thanks,
    Praveen.

    Hi,
    To use RMAN to take a hot backup you need only set LOG_ARCHIVE_DEST_n and place the database in archive log mode. RMAN can be used to backup changed data even after a nologging operation, and you can move away from archivelog mode.
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10726/configbp.htm
    There is also the new "block change tracking" B&R that does not need archivelog mode:
    http://www.dba-oracle.com/t_block_change_tracking.htm

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

  • Auditing no archive log mode..

    Dear,
    I am using Oracle Database 10.2 in No Archive Log Mode.
    Can any one tell me....what auditing options are available in No Archive Log mode ??
    Regards.

    archivemode has no relation with auditing... By default auditing is disabled in 10g... but when you install Oracle database vault, it creates several audit settings in the database. However in order for these audit settings to take place auditing must be enabled in this database.. and some settings surely are different but some configurations are also different like when in oracle database vault environment, when Oracle Label Security is enabled, the AUD$ table is moved from the SYS schema to the SYSTEM schema. The synonym SYS.AUD$ is created to refer to the SYSTEM.AUD$ table....
    Regards
    Karan

  • Changing archive log mode without shutting down database

    Hi all,
    Is there any way to set the database to archive log mode before shutting down the database and when the database shuts and starts, the database should be automatically in archive log mode?
    because we can not shutdown the database in weekdays and we have system reboot on weekend and we are not here on that day. So is there a way to set the database in archive log at the memory level so that when the database reboots, it should automatically start in archive log mode.
    my environment is windows server 2008 R2 with oracle 11.2.0.3
    Thanks in advance.
    Edited by: 931643 on Dec 5, 2012 10:37 AM

    931643 wrote:
    thank you for the reply Max Seleznev,
    First I thought of writing script in order to include in that process. But we can not run any commands in the sqlplus using the windows jobs. for eg:
    you can write a batch file as below:
    cd \
    sqlplus / as sysdba
    select name,open_mode from v$database;
    when you run this, it will open until sqlplus prompt but then will not execute the query.
    What did you expect? Well, actually, I know what you expected. But think about it for a second. You have a batch file with the mentioned three lines. How does that batch file get processed .. what is happening when it is being processed?
    It is not being processed by sqlplus, it is being processed by the windows command processor. Just like the cmd.exe. Each line is read by the command processor and executed accordingly. So ....
    cd \the command processor calls 'cd' , and passes the value '\' to do with as it sees fit. 'cd' then changes the current directory of the session to whatever is indicated by the passed parameter. in this case, that value is '\' , so the resulting current directory is the base (root, in *nix terms) of the current drive.  When 'cd' has finished, it returns control to the command processor, who then reads the next line ....
    sqlplus / as sysdbathe command processor calls sqlplus.exe and passes it the command line parms '/ as sysdba' to do with as it (sqlplus) sees fit. sqlplus does whatever it does with what it has been given In this case it tries to connect to whatever local database is indicated by the value of ORACLE_SID, then waits for more input. Whenever sqlplus exits (how does it know to exit?) it returns control to the command processor, who then reads the next line ....
    select name,open_mode from v$database;The command processor will read this line and attempt to find an executable file named 'select' and pass it the rest of the command line 'name,open_mode from v$database;'
    Hmm, what do you suppose will happen with that operation?
    that is the reason I am figuring out whether there is an alternate way.yes but you have to use the proper technique. And since you are building this into a production stop/start without testing the actual stop/start commands ... what do you suppose will be the outcome if something goes wrong?
    After hours and weekend work is one reason DBA's make more money than developers.
    >
    Thanks

  • Install Oracle 10g on windows 2008 Server 64bit

    Is it possible to install Oracle 10g on Windows 2008 64bit . I read one post below it says , windows 2008 is not certified for oracle 10g ..
    windows server 2008 Oracle 10G 64 bit
    before I installed 32bit , it is throwing error message on alert log file on every 5 seconds.
    "OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified
    O/S-Error: (OS 1) Incorrect function. ! "
    if it is possible which version I want to download is best ..
    and what is the recommendation whether it is 10g or 11g

    You mean to say Oracle 10g 64bit will not work in Windows 2008..?No, i meaned the post you linked was written in year 2008, in that year it's was a unsupported platform for that oracle version. Actually its supported and you can install it.
    Furthermore like Aman told you, It's more recommended install 11gR2 version
    Edited by: Fran on 29-may-2012 4:20

  • Silent Installation of Oracle 10g on Windows XP

    Hi,
    I was trying out "SILENT INSTALLATION OF ORACLE 10g ON WINDOWS XP", where I was getting the following error. Can you please help me out.
    COMMAND GIVEN : D:\database>d:/disk1/setup.exe -responsefile d:/disk1/response/custom.rsp -silent -nowelcome
    ERROR THROWN : Starting Oracle Universal Installer...
    No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
    Preparing to launch Oracle Universal Installer from C:\DOCUME~1\RAVIKA~1\LOCALS~1\Temp\OraInstall2011-04-06_07-54-37AM. Please wait ... Oracle Universal Installer, Version 10.2.0.3.0 Production
    Copyright (C) 1999, 2006, Oracle. All rights reserved.
    You can find a log of this install session at:
    C:\Program Files\Oracle\Inventory\logs\installActions2011-04-06_07-54-37AM.log
    .................................................................................................... 100% Done.
    SEVERE:Values for the following variables could not be obtained from the command line or response file(s):
    DEP_MODE(InstallType),
    TLDepModes(TopLevelInstallType)
    Silent install cannot continue.
    Please press Enter to exit...
    So I changed the "CUSTOM.RSP" response file parameters by adding
    DEP_MODE="EE"
    TLDepModes="EE"
    But it is still throwing me the error.
    REquesting you to help me out in this case.
    Thanks and REgards
    Ravikanth Garimella

    Pl identify exact versions of "10g" and "Windows XP". Pl also post the last 100 lines from the install log.
    Pl note that Home versions of Windows are not supported - http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#CHDHGGFE
    Pl see the Install Guide on how to use response files -
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/advance.htm#i634763
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/c_oui_appendix.htm#BABGHAIA
    HTH
    Srini

  • TNS 12549 error on installing Oracle 10g on Windows XP Home?

    Hi,
    I installed Oracle 10g on Windows XP Home by clicking on Disk1\install\setup (NOT Disk1\setup as instructed since that did not work). Everything seemed to go fine except towards the end of the install I got a whole bunch of errors saying that "operating system resource quota exceeded". There were options to Ignore or Abort at most of these stages. I chose Ignore and the whole install seemed to complete but I am not able to connect to the database using sqlPlus. I looked at the log files created where I saw a whole bunch of errors in several files. For example in sqlnet log, I saw this error (among others) appeneded below. It seems obvious that some resource quotas were exceeded but I am not able to figure out exactly what quotas should be increased. Any help regarding this would be greatly appreciated.
    Thanks.
    Sudip
    ===================================================
    Fatal NI connect error 12549, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleorcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=CHAKRABORTY-04)(USER=Owner))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
    Time: 13-MAR-2005 18:03:25
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12549
    TNS-12549: TNS:operating system resource quota exceeded
    ns secondary err code: 12560
    nt main err code: 519
    TNS-00519: Operating system resource quota exceeded
    nt secondary err code: 8
    nt OS err code: 0
    ===================================================

    XP Home is not supported, despite of this some people get oracle to work.
    But in your case, possibly your machine has simply not enough resources, 12549 is a very generic error. Check the hardware requirements in the installation guide.

  • Oracle 10g on Windows 2003:  Can't start with any account but Local System

    Fresh install of Oracle 10g on Windows 2003. I install as a member of the local admin group and everything works great. The various services are starting as Local System, though, and I'd prefer to set them up to start as a specific domain user account.
    When I make that change, however, I can't get any of the Oracle related services to start. I've added this domain user to the local ora_dba group on my server, given it the ability to log on as a batch job and log on as a service in the local security policy. Doesn't seem to help.
    I saw a thread that implied using a domain user account wasn't supported (didn't seem right to me, but what the hell), so I created a local user account and tried that. Same result.
    Something I'm missing?
    Thanks.

    What is missing, I suspect, is reading the installation docs.
    http://docs.oracle.com
    If that doesn't work then come back and ask specific requestions referencing the appropriate document and naming the actual version you are trying to install (ps 10g is a marketing name not a version number).

  • Question about import in archive log mode

    Hello.
    I am a developer, I have ordered to write a script that makes the import of a schema of a database (release 9.2.0.7). That import will be done once a day. I have seen that in my development environment the import creates 54 archivers files (10M aprox. each), that means more that half a Gb a day, it seems too much to me.
    I cannot see why all those archivers can be useful. Would a good way of proceeding the following?
    1. Forcing an archiver just before the import (I do not know how to do that) so that a backup could be done to the state before the import.
    2. Disabling archive log mode during the import and enabling it just after the import (I do not know how to do that).
    3. Forcing a new archiver just after the import (I do not know how to do that).
    Thanks in advance.

    540M is not that much.
    One would question why you need to import every day,
    there must be better ways to do this.
    The three steps you propose look like an awful
    scenario, as it would require the database to switch
    from archivelog to noarchivelog and vice versa.
    This would require the database to close twice a
    day.
    The scenario is also incomplete as one would need to
    take a backup after the import
    If you can convince your DBA to close the database
    twice a day, he should write the script, which he can
    easily derive from the docs.
    But likely he will visit Billy Verreynne to borrow
    his lead pipe, and rightly so ;)
    Sybrand Bakker
    Senior Oracle DBAThanks for the answer.
    A few things:
    - Sorry for my ignorance, I have no experience in database backups, I do not understand why I need to backup just after the import.
    - That database is not critical, it is just for a team who will test on that database several applications, so the database will only need to be open during the office schedule.
    - I have no dba. The client has a dba for several databases but I have no contact with him/her nor my boss has.

Maybe you are looking for