NOARCHIVE mode mode archive
Hello
I'm trying to back up my database in online mode. I have 2 case: BDPROD and BDPROD2. BDPROD is already in archive. I'm trying to edit BDPROD2, but when I stop the startup of the database and run mount, I received the error message: ORA-12514: TNS:listener is not currently of service requested in connect descriptor. After trying again, I received 2 new errors: ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Does anyone have any idea to help me?
Thank you
11abcd94-7f56-4836-a39d-63d0d0de41d9 wrote:
Hello
My Oracle is running Linux.
My ORACLE_SID = BDPROD
My ORACLE_HOME = /usr/local/oracle/product/10.2.0/db_1
I need to change the ORACLE_SID?
It depends on how you connect to the database to make the start/stop.
You devriez do as a local connection. Log on to the linux server using the operating system account that owns the oracle installation, probably 'oracle '.
correctly set your environment variables using the oraenv like this utility:
Oracle:. oraenv
This is the 'point' 'space' 'oraenv.
You will be asked for the correct ORACLE_SID.
After that, you should be able to connect with a simple
Oracle: sqlplus / as sysdba
Tags: Database
Similar Questions
-
RMAN validate in Noarchive mode - is no longer available in 12 c?
We conducted a weekly working on our bodies to detect corruption. A simple RMAN "check logical backup validate database;"
We have a few instances that are running in NOARCHIVE mode. As we were moving from 11G to 12 c NOARCHIVE instances jobs were failing.
RMAN > check logical backup validate database.
2 > output
From backup 5 October 15
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 800 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command to backup to 10/05/2015 05:00:06
RMAN-06149: cannot BACKUP of DATABASE in NOARCHIVELOG mode
Complete recovery manager.
Are we on this GROUND? Is there no way less of 12 c to validate a database in NOARCHIVE mode?
Guys...
This is a bug!
If the necessary patch, bug 21132367 , you may need to create a SR.
Thank you
-
change log mode archive without closing the database
Hi all
Is it possible to put the database in archive log mode before you shut down the database, and when the database stops and starts, the database should automatically be in log mode archive?
because we cannot stop the database in the days of the week and we have system restart the weekend and we are not here this day here. So is there a way to set the database in the log archiving across the memory so that each restart of the database, it should start automatically in log mode archive.
my environment is windows server 2008 R2 with oracle 11.2.0.3
Thanks in advance.
Published by: 931643 on 5 December 2012 10:37931643 wrote:
Thanks for the reply Max Seleznev,First of all I thought to write the script to include in this process. But we cannot run all the commands in the sqlplus using windows task. for example:
You can write a batchfile as below:
CD.
sqlplus / as sysdba
Select name, open_mode from v$ database;When you run this, it will open up to sqlplus prompt but then will not run the query.
This is the reason why I am to know if there is another way.
Thank you
When you do things wrong, you do not get the desired results
Please desired SQL in a separate file (run.sql), then proceed as below
sqlplus scott/tiger @run.sql
-
Hi guys;
I got, three DBs with ASM in Oracle RAC (2 nodes). Two of these DBs are mode archive, but one of them, no.. So, I'll convert cela a (donnees3 base) in archivemode now. I received the instructions to do this, but I still have some doubts, so I need your "inputs" to be sure I'm right.
Here are the steps that I understand that I should follow.
1. go to one of the nodes (i.e. linux1) and disable the instance cluster parameter by setting
cluster_database FALSE from the current instance:
2. $sqlplus "/ as sysdba".
SQL > alter system set cluster_database = false scope = spfile sid = 'DATABASE3_1 ';
3 stop all cases access to the cluster database:
$ srvctl stop database d base donnees3
Using the local instance, MOUNT the database:
$ sqlplus "/ as sysdba".
SQL > startup mount
Enable archiving:
SQL > alter archivelog database;
Re-enable support for clusters by changing the instance parameter cluster_database to TRUE in the current instance:
• SQL > alter system set cluster_database = true scope = spfile sid = 'DATABASE3_1 ';
• Stop the local instance:
• SQL > shutdown immediate
• Bring the body up using srvctl:
• $ srvctl start database-d database donnees3
My databases are:
+ ASM
BASE1
BASE2
Donnees3 base - this is the DB in noarchivemode.
My doubts are:
In step 3, the said "stop all instances, means in all cases in the two nodes, except the instance I'll change and ASM in this node?"
Any recommendation or suggestion, you understand that I have to be careful?
Best regards;
ANG"In step 3, said" stop all instances, means in all cases in the two nodes, except the instance I'll change and ASM in this node? ".
You will need to stop all instances of donnees3 database. No need to stop the other databases, or ASM.
-
How do I switch to read-only when mode archive!
Help the doc is wrong sucks!
I try of the archive using ESSCMD, but the time of execution, an error '1051068' increase, see the database is not in read only mode archive. But I find everywhere still cannot find how to set!
Any help will be appreciatedThere is no such command Esscmd to take backup of database. As I mentioned first run BEGINARCHIVE command to place the database in read-only mode, and then use any file system backuo s/w to take backup of specific directories or files.
Please see chapter 45 backup and restore for full details of the backup activity.
-
How to activate the log mode archive in oracle database 11 g 2
Hi all
I hope that you all are doing well.
I want to activate the archiving log in my version of the database 11.2.0.4.0 safely.
Why safely because my database works fine now.
Windows 8.1 - OS 64 bit.
Please provide the correct steps
so that the work of database and schema can not lose more after that the archive log is enabled.
Thank you all for your response.
I followed the thread How to archivelog mode
Measures
-----
SQL > archive log list
SQL > show parameter db_recovery_file
SQL > alter system set db_recovery_file_dest_size = 10G scope = the two sid ='* ';
SQL > shutdown immediate
SQL > bootable media.
SQL > alter archivelog database;
SQL > alter database open;
She is successful.
-
How do I change the log mode archive in 12 c
Hello
[oracle@localhost Desktop] $ rman
Recovery Manager: release 12.1.0.2.0 - Production on Mon May 4 00:38:33 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target sys/oracle@cdb1
connected to target database: CDB1 (DBID = 828012650)
RMAN > backup database;
From backup may 4, 15
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 284 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command at 04/05/2015 00:38:51
RMAN-06149: cannot BACKUP of DATABASE in NOARCHIVELOG mode
RMAN > exit
Complete recovery manager.
[oracle@localhost Desktop] $ sqlplus
SQL * more: Production release 12.1.0.2.0 on Mon May 4 00:38:57 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production
With the options of partitioning, OLAP, advanced analytics and Real Application Testing
SQL > shutdown immediate;
Connectable to closed database.
SQL > startup nomount;
SQL > startup;
Connectable to open database.
SQL >
Please tell me how to change the mode of journal archive in db oracle 12.1.0.2.0
Please tell me how to change the mode of journal archive in db oracle 12.1.0.2.0
Please mark the thread ANSWERED and repost it in the forum shared.
Before you repost again the "Archiving for control" secion of the Oracle documentation
http://docs.Oracle.com/database/121/Admin/archredo.htm#i1006208
Archiving control
This section describes how to set the mode of the database archiving and control the archiving process. The authors discuss the following topics:
This article shows you step by step how to change the mode of journal archive.
-
No log mode archive audit...
Dear Sir
I use Oracle 10.2 database journal Archive No. mode.
Can someone me... Check what options are available in no. Archive Log mode?
Kind regards.the audit is independent of no archivelog mode. You can level with or without archivelog mode.
Please check:
http://www.Oracle-base.com/articles/10G/auditing-10gR2.php -
Problem taken Recovery Mode Archive No. with redo a log backup
While recovering a log roll forward in Mode No Archive, I faced the following problem: -.
SQL > shutdown normal;
Then taken backup to all redo logs, control files and data files in a folder "Bkp".
After that, when I tried to delete a data file manually "EXAMPLE01. DBF' of Oradata... I was asked to say error
"Unable to remove example01.dbf, as it is used by another person or program" and I am not not able to understand... Help, please...Hello
Bring down the service for the database... GoTo run-> type service.msc and stop the service for the particular db and try to delete the data file. I think that the DB was not properly closed...
Thank you
Deepak -
Cloning Database 10 g mode archive - how to add new files to archive created
DEAT all
I want to clone the oracle 10g database using hot backup. archive database mode.
Database is running user data entry contifue, during the hot backup there is about 3 to 5 news archive created log. Please guide me how to add these new created log archiving in the cloning process.
Thank you
Alter system switch logfile;
SQL > select SNA max(first_change#) from v$ archived_log;
SNA
----------
8592924
alter tablespace tablespace1 begin backup;
alter tablespace tablespace2 begin backup;
alter tablespace tablespace3 begin backup;
.........
alter tablespace tablespace1 backup end;
alter tablespace tablespace2 backup end;
alter tablespace tablespace3 backup end;
.........
Select name from v$ archived_log where first_change # > = order by name 8592924
NAME
----------------------------------------
F:\ARCHIVELOGS\ARC00390_0664080689.001
F:\ARCHIVELOGS\ARC00391_0664080689.001
F:\ARCHIVELOGS\ARC00392_0664080689.001
create pfile = "< new sid of the database > init .ora ' of spfile;"
ALTER database backup controlfile to trace as "/ home/oracle/cr_ < new sid > .sql"
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS NOARCHIVELOG LOGGING FORCE
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 453
LOGFILE
GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100 M
-------
DATA FILE
Published by: Mohamed najib on November 15, 2008 12:54When you try to start the database copied to the new server you will find that it must recover - because it was taken in hot backup mode.
This is why you must copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first after the last archivelog "alter tablespace end backup.
I see that you also include a script CREATE CONTROLFILE.
You that would go to the cloned environment.
Then you type the command RECOVER database using BACKUP CONTROLFILE until CANCEL to standardize the clone.
You can, of course, use the same method to copy these archivelogs that you use to copy the files from database - tar, cpio, Ribbon, etc. -
Cannot change properties of the log events in the security policy for replace mode archive
Hello
We use windows server 2012 R2 Edition OS Server in my organization. We have newspapers of facility security events "archive newspapers when it is full" and he used to use 133 MB of available space. Recently, as the daily logs of the security being created 133 MB size, the local volume was full and I had to delete the old archives manually. Then, we decided to change the settings of the Archive to replace the events if necessary. But when I try to change it and click on apply, it does not seem to apply the changes, his new ghost "archive logs. Please help me out here. Also please ask me questions just in case I missed any important points to mention here. I am a newbie in this forum.
Hello
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
Preferred method for shipping redo logs in the standby mode: archive or LGWR
DB version: 11.2
OPERATING SYSTEM: AIX
Which is the preferred method for shipping again connects standby: archive or LGWR?Citizen_2 wrote:
DB version: 11.2
OPERATING SYSTEM: AIXWhich is the preferred method for shipping again connects standby: archive or LGWR?
LGWR is recommended where repeat applies will be interms of roll forward. If in the case of all redo currently lost, you have very less time loss of data. Real-time here APPLY.
In the case of ARCH, transferred with regard to Archives and applied.See the http://docs.oracle.com/cd/B19306_01/server.102/b14239/log_transport.htm documentation
Thank you. -
"Is it possible to oracle 11g DB without journal Archive OEL 5 of the backup mode.
Hai everybody,
I am new to oracle, I want to take the online backup without log mode Archive is possible? due to the database to archive performance is little low, that if our database is in no fashion show archive log cannot be greater? Oracle 11g provides another way to perform a backup online without log mode archive?
concerning
GeorgeAt the time of database archiving is it take system resources? you mean if db is in archive mode the db works the same like noarchive mode
How long to read the documentation on the archivelog/noarchivelog mode?
How long you have used to get the answer here?
worth it?
Please check this:
http://docs.Oracle.com/CD/B28359_01/server.111/b28310/archredo002.htm
If you get any related question tell us and we try to solve, otherwise close this thread by marking as replied. -
Hello
I have a CAR in noarchive mode. I need to put the database offline in order to put the database in mode archive (http://www.toadworld.com/Newsletter/TWPIPELINESept2008/PIPESept08Oracle/tabid/450/Default.aspx)?
Regarding the destination of the newspaper archive, I put the archives in shared space? I think they can be put in local drives, like her, instance would have its own archives. Is this fair?follow the steps below to put your database in archivelog mode
Put the database using archive / noarchivelog in RAC environment:
========================================================================
1 set cluster_database = false for the instance.
ALTER system set cluster_database = false scope = spfile sid = "PROD1";
2. stop all instances of access to the database.
srvctl stop database d prod
3. Mount the database using the local instance.
Startup mount
4 activate archiving / noarchiving
ALTER database archivelog;
OR
ALTER database noarchivelog;
5. change the cluster_database = true for the prod1 instance parameter.
ALTER system set cluster_database = true scope = spfile sid = "PROD1";
6. judgment of the local database.
Shutdown
7. place all instances.
srvctl start database-d prod
5.A) TO START AND STOP THE DATABASE AND THE INSTANCE IN A RAC ENVIRONMENT:
srvctl status database-d prod
Hope that answers your query
Anil Malkai
-
Hi DBA guys, have a good day all
If I change the log mode archive no mode of archive log, internally, whats happen to my database?
Is this old archive log backup for the future so new convert no Archives to the Archives of the journal mode?
What is happen flashback if I change the log mode archive no mode of archive log?
Concerning
S.Azarazarmohds wrote:
Thank you very muchwhy I asked this question of means, rightnow you posted, this characteristic of 10 GB i.e flashback database configured when the log mode archive is enabled, then in this case
What is happen flashback if I change the log mode archive no mode of archive log?
S.Azar,
You must be clear about the things that when you read the web notes, there may be an incompatibility of the language. The best is first, that research on the oracle documentation.
Now on your doubt, it is a mismatch of terminology that happens here. To enable Flashback Database that is a copy more persistent undo data, stored separately in an FLB file, you must have configured in your db in archivelog mode. Without this, you cannot enable the Flashback Database feature. And you cannot switch noarchive log mode as well if you have the Flashback Database mode on.
The other thing (that I guess Anurag mention) is the normal function of Flashback that relies on the Undo data stored in the undo tablespace. Only, this is based on the undo data and doesn't depend on the mode of journal archive / nonarchive of the database. But it is limited to these data and this period of time up to which you can store the undo data in your undo tablespace.
HTH
Aman...
Maybe you are looking for
-
Impossible to uninstall Facebook app
I want to uninstall my Facebook app, but it does not appear in my list of apps. If I'm stuck with it?
-
HP G6 - 1139TX is (X 64) 64-bit compatible?
It gives me error when installing win 7 64 bit 99% full.
-
Can't see the other hand google calendars
Recently my computer I created another calendar in google calendar to share with the family, without having to share my main calendar (so this calendar can include only events of interest to us all without clogging each other calendars with appointme
-
Multimedia Smartphones blackBerry volume problem
When I play music on my blackberry pearl, that the sound is really low, even if the volume is completely, I hear no music. Can anyone help please?
-
How to reset settings on speech recognition in Windows 7?
You know how it fits your specific tone and the way you talk and all that? Well he screwed up... So I want to redefine the setting that controls. How can I do this?