Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-00258: manual archiving in NOARCHIVELOG mode must identify log

521905Jun 17 2011 — edited Jul 10 2011
Hi I am new to oracle streams. I am trying to setup a one way replication from one database to another using Oracle 10g (10.2.0.1.0) on Windows XP SP3 (32 bit).

I ran the following proc as the streams admin schema:

begin
dbms_streams_adm.maintain_schemas(
schema_names => 'XXCOW',
source_directory_object => 'repl_exp_dir',
destination_directory_object => 'repl_imp_dir',
source_database => 'PWBSD',
destination_database => 'PDVSD',
perform_actions => true,
dump_file_name => 'exp_app23.dmp',
capture_queue_table => 'rep_capt_table',
capture_queue_name => 'rep_capt_queue',
capture_queue_user => NULL,
apply_queue_table => 'rep_dest_table',
apply_queue_name => 'rep_dest_queue',
apply_queue_user => NULL,
capture_name => 'capture_pubs',
propagation_name => 'prop_pubs',
apply_name => 'apply_pubs',
log_file => 'exp_app23.log',
bi_directional => false,
include_ddl => true,
instantiation => dbms_streams_adm.instantiation_schema);
end;
/


The script failed the first time because i forgot to configure the source database in archive log mode.

The steps i followed to change to archivelog mode:

SQL> select name from v$database;

NAME
---------
PWBSD


SQL> alter system set LOG_ARCHIVE_DEST = 'D:\data\oracle\oradata\PWBSD\archive' scope=both;

System altered.

SQL> conn sys/sys@pwbsd as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.

SQL> startup mount
ORACLE instance started.

Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 197135236 bytes
Database Buffers 406847488 bytes
Redo Buffers 7135232 bytes
Database mounted.
SQL> alter database archivelog;

Database altered.

SQL> alter database open;

Database altered.

SQL>


I configured it in archive log mode and ran the proc above again.

I got the following output this time:

job finished
begin
*
ERROR at line 1:
ORA-23616: Failure in executing block 90 for script
959ECF1D1159402A8C16687AE5E3B5CD
ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 457
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2201
ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7486
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
ORA-06512: at line 2


I ran the following to check the error:

select * from dba_recoverable_script_errors;

The output is:

SCRIPT ID: 959ECF1D1159402A8C16687AE5E3B5CD
BLOCK NUM: 90
ERROR_NUMBER: -258
ERROR_MESSAGE: ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
ORA-06512: at "SYS.DBMS_RECO_SCRIPT_INVOK", line 129
ORA-06512: at "SYS.DBMS_STREAMS_RPC", line 358

It seemed like it was still complaining about archive log mode,

I verified that the PWBSD db is in archivelog mode by running the following:

select name, log_mode from v$database;

NAME: PWBSD
LOG_MODE: ARCHIVELOG


What could be the problem and how do i proceed to fix it?

Comments

Seberg
Here a doc:

Manual Standby Database under Oracle Standard Edition

http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
Aman....
Answer
SANCHIT GUPTA wrote:
Hi experts,

i want to create standby database on 11gR2 standard edition one on both environment linux to linux and window to window. i have invested my 4-5 days on that but i didn't able to create, due to standard edition. plz provide me step by step creation. it wil bel great help.....

Did you have a look at the dataguard docs,
http://docs.oracle.com/cd/E11882_01/server.112/e10700/standby.htm#i72073

Which has this mentioned quite clearly,
>
Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition.

Note:
It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard>

So if you want to have data guard, use Enterprise Edition.

Aman....
Marked as Answer by SANCHITGUPTA · Sep 27 2020
SANCHITGUPTA
i read that in standard edition we cant use data guard... data guard facility is available on enterprise edition
420678
Hello,

Data Guard is only available for Oracle Enterprise Edition. If you are using Oracle Standard edition, then there are 3rd party products that you can use as Data Guard alternatives. One such product is Dbvisit Standby. Read a review of Dbvisit Standby on oracle-base: http://www.oracle-base.com/articles/misc/dbvisit-standby.php

Regards,
Hemant K Chitale
Besides the external web sites, there is an Oracle Support note Alternative for standby database in standard edition [ID 333749.1]


Hemant K Chitale
SANCHITGUPTA
Plz can u provide me a link
SANCHITGUPTA
Still my problem is pending
Hemant K Chitale
333749.1 is the Article ID on https://support.oracle.com

Hemant K Chtale
SANCHITGUPTA
by the rman is possible to create standby database on standard edition one
kuljeet singh -
sanchit,
by the rman is possible to create standby database on standard edition one
you can create standby in standard edition but all major DG functionality will not available in this version ,See below detail


automatically redo apply is not possible in standard edition As Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition.
Note:
It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard

http://docs.oracle.com/cd/B28359_01/server.111/b28294/standby.htm#i72073
1 - 10
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 7 2011
Added on Jun 17 2011
2 comments
8,744 views