Lost datafile on Standby Oracle 10g
Hi all.
i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
plz help me out to solve this ..
969752 wrote:
Hi all.
i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
plz help me out to solve this ..What is the version you are using?
Even though your primary database is in noarchive log mode before configuring data guard, still its not a problem. Follow high level steps as below
1) Take missing datafile on primary using RMAN (or) you can use tablespace backup with traditional method
2) copy that datafile from primary to standby system
3) Ensure you have properly set for DB_FILE_NAME_CONVERT(bounce required), and set standby_file_management to manual
4) take the dummy file and rename with the new file(step 2) by using alter database create command
5) later change standby_file_managment to auto & start MRP
Similar Messages
-
Switchover to 1 of 3 Physical Standby (oracle 10g R2)
Hi all,
Previously I already had done switchover primary to standby (only 1 Physical standby was in the configuration)
now i have some additional physical standbys (3 Physical standbys)
stby1
stby2
stby3
i want to switch to stby1 ,what needs to be done at stby2,stby3 to make them capable of identifying stby1 as their new primary.
Kindly suggest!
Best Regards,
Muhammad Shakeel Azeem921542 wrote:
Hi all,
Previously I already had done switchover primary to standby (only 1 Physical standby was in the configuration)
now i have some additional physical standbys (3 Physical standbys)
stby1
stby2
stby3
i want to switch to stby1 ,what needs to be done at stby2,stby3 to make them capable of identifying stby1 as their new primary.
Kindly suggest!
Best Regards,
Muhammad Shakeel AzeemAzeem,
Welcome to OTN,
Once you performed switchover, You need to perform changes with some parameters from standby FAL_SERVER
Earlier this parameter points to old primary, Now after switchover you have to put service name of new primary database service.
Also Make changes with remote destinations log_archive_dest_n with correct service names.
Refer this manual to work with multiple standby databases.
http://www.oracle.com/technetwork/database/features/availability/maa10gr2multiplestandbybp-1-131937.pdf -
Large Datafile Sizes with Oracle 10g on ECC 6.0 SR3
We installed ECC 6.0 SR3 on Oracle 10.2.0.2 and are wondering if the space usage is normal. We've allocated 125 GB for the partition, and the datafiles have the following sizes:
Sapdata1: 30.5 GB
Sapdata2: 26.2 GB
Sapdata3: 31.5 GB
Sapdata4: 28.6 GB
This leaves us with 7GB of free space on the database drive. 116GB of used space for the datafiles of a brand new SAP installation does not seem right. It doesnu2019t seem normal to me, coming from a MS SQL Server background where around 75 GB is sufficient.
Any feedback or assistance will be greatly appreciated....> We installed ECC 6.0 SR3 on Oracle 10.2.0.2 and are wondering if the space usage is normal. We've allocated 125 GB for the partition, and the datafiles have the following sizes:
>
> Sapdata1: 30.5 GB
> Sapdata2: 26.2 GB
> Sapdata3: 31.5 GB
> Sapdata4: 28.6 GB
> This leaves us with 7GB of free space on the database drive. 116GB of used space for the datafiles of a brand new SAP installation does not seem right. It doesnu2019t seem normal to me, coming from a MS SQL Server background where around 75 GB is sufficient.
Oracle doesn't use the datafiles the same way SQL server does. If you e. g. drop a table from the database, the spaces is still occupied whereas on SQL server the allocated spaces is getting decreased automatically.
Oracle uses "Extents" to expand the space a table consumes, the size of that extent may be much more than actually necessary.
Those 116 GB are not filled completely, they are allocated on the filesystem.
Markus -
Restoring and recovering datafiles in standby database
Hi,
oracle version : 8i(8.1.7.0.0)
os : sun solaris
I have scenerio where i lost some of the datafiles in standby database(physical standby) and i do have standby cold backup 3 months older since database size is 1TB is can i restore the the only lost files from cold backup and recover using archivelog files. since i only lost 4 data files of size 4gb each it will be faster compare to restoring the whole TB size database.
appreciated for valuable inputs.
Thanks
Prakash GRNormal copy command can do your work:
sys@SANTU> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 180355988 bytes
Database Buffers 348127232 bytes
Redo Buffers 5844992 bytes
Database mounted.
Database opened.
sys@SANTU> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 4
Next log sequence to archive 6
Current log sequence 6
sys@SANTU> host copy D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF d:\
1 file(s) copied.
sys@SANTU> shu immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
*Renamed the datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF' to 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS011.DBF'*
sys@SANTU> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 180355988 bytes
Database Buffers 348127232 bytes
Redo Buffers 5844992 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
sys@SANTU> host move d:\USERS01.DBF D:\APP\SANTOSKU\ORADATA\SANTU\
sys@SANTU> shu immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
sys@SANTU> startup
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 180355988 bytes
Database Buffers 348127232 bytes
Redo Buffers 5844992 bytes
Database mounted.
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF'
sys@SANTU> recover datafile 'D:\APP\SANTOSKU\ORADATA\SANTU\USERS01.DBF';
Media recovery complete.
sys@SANTU> alter database open;
Database altered.
sys@SANTU>N.B. I have not done the demo on standby database.
but just i want to know is this procedure is valid that is instead of taking the lost datafiles from production can i use lost datafiles from standby database to recover other standby database.That would be fine.
Regards,
S.K.
Edited by: Santosh Kumar on Oct 8, 2009 11:09 AM -
StandBy database creation in oracle 10g
Respected Sir's
I have to create stand by database in oracle 10g i am working on (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod) .Plz any body provide steps required for creating stand by database in oracle10g.Both the database db1 and db2 are running on archivelog.I am confuse how to set archivelog parameter that goes to db2(standby database) from db(primary database).Any one provide me steps to properly configuring the stand by database.
ThanksRespected Sir
These are the detailed steps that i performed on standby and primary database.
On both the systems i install the oracle in E drive and the database i create in G drive and archive destination also in G drive.
Like G:\prod1\(all the datafiles,logfiles and control file).
G:\arch\(all the archive files).
ON PRIMARY DATABASE(IP:192.168.2.14):
1.First i create a database with DBCA and the database SID is prod1.
2.Put the database in archive mode and also enable the force logging.
3.Shutdown the Primary database and modify the following parameters in pfile.
log_archive_dest_1='LOCATION=G:\ARCH'
log_archive_dest_2 = "service=STDBY mandatory reopen=60"
log_archive_dest_state_1 = enable
log_archive_dest_state_2 = enable
log_archive_min_succeed_dest = 2
4.Mount the primary database and create the standby controle file and create the spfile from the modified pfile.
5.Shutdown the primary database and take the backup of all the datafile,logfile,standby controlfile ,passwordfile,pfile in a folder.
6.Startup the primary database.
Tnsname.ora Configuration.
Create the connection string using the Net Manager with name STDBY and in host name i provide the IP address of the standby database.
ON STANDBY DATABASE(IP 192.168.2.9):
Listener.ora Configuration.
Create a listener using the Net configuration Assistance.
1.I copy the datafile,logfile and standby controle file in g:\prod1
2.Copy the E:\oracle\product\10.2.0\admin\prod1 folder from primary database and past it on the same location on the standby database.
3.On standby pfile i change only the standby_archive_dest parameter to g:\arch.
4.Create the service with oradim -SID -NEW prod1 -STARTMODE manuall
5.Start the standby database in nomount mode.
6.Create the spfile from pfile and shutdown the database.
7.Startup the database in nomount mode using spfile.
8.ALTER DATABASE MOUNT STANDBY DATABASE;
These are the occurs when i use tnsping stdby on primary database.
C:\Documents and Settings\Administrator>TNSPING STDBY
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2009 12:03:55
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.9
NECT_DATA = (SERVICE_NAME = prod1)))
OK (20 msec)
sqlnet.ora file on stand by database.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP)
BEQUEATH_DETACH=yes
AUTOMATIC_IPC = ON
NAMES.DEFAULT_DOMAIN = IDEVELOPMENT.INFO
SQLNET.EXPIRE_TIME=2
This occurs when i use tnsping prod1 on standby database.
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-FEB-2
009 12:01:40
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
Please help me bec i have to create the stand database as soon as possible.Thanks Sir -
Can i create a standby database in oracle 10g standared edition ?
what are the steps required for creating a standby database using oracle 10g standard edition. or Any other feature for mirroring database in oracle 10g standared edition
Dear mithun,
Please read the following online documentation;
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm
+"+
+2.3.2 Oracle Software Requirements+
+The following list describes Oracle software requirements for using Data Guard:+
+* Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.+
+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.+
+"+
Hope That Helps.
Ogan -
Create an Object in Logical standby database in Oracle 10G
Hi,
I have logical standby database in oracle 10g R2 for reporting purpose.Now i want to create procedure in logical standby which is use to create new temp table in logical standby and contained data generated from select operation on existing table.
Can i create a new user in logical standby database,add new tablespace in logical standby which can insert,update and delete data in standby database base table?
kindly provide me the steps to implement all this.What will be effect if i set guard_Status in v$database is NONE in logical standby?
Thanks,
Shital PatelHi Shital,
Guard_status protects the data from being changed.
ALL- By default it is not possible for a non-privileged user to modify data on a data guard SQL apply database. This is because the database guard is automatically set to ALL.
With this level of security, only SYS user can modify the data.
STANDBY- When you set this level of security, users are able to modify data that is not maintained by the Logical apply engine.
NONE permits any users to access the standby database as long as they have correct privileges. This is the normal security for all data in the database.
You can change the guard status value from ALL to NONE in order to allow non-privileged users to modify data and Yes you can create user and extra tablespace in logical standby database..this is what the one of advantage of using Logical standby database.
SQL> ALTER DATABASE GUARD NONE;
Thanks -
Appropriate size for Autoextending datafile in oracle 10g
Hi,
I am using Oracle 10g 10.2.0.3.0 on linux 64 bit with 16GB RAM, one thing i want to find out that i have my schema datafile, which set on autoextend, i have set next size to 100mb, if the file reaches to its full does it make us wait for long to create a place of 100mb or should i reduce the size from 100mb to 10mb.
What should be the appropriate Next size in Autoextend for oracle database in my case, if there is a performance problem like login delay in schema due to increasing in size of datafile then how do i find out because i do not have database diagnostic tools.
Because today there was a delay in login to the schema and EM was showing wait, but i could not find out that why the wait was there, when i check the datafile size it was 1203 MB , i thought it may be due to the extension of data file but how do i confirm this thing.
In the table DBA_ADVISOR_FINDINGS it is giving following problem
Problem PL/SQL execution consumed significant database time.
Symptom Wait class "Network" was consuming significant database time.
Problem Wait event "TCP Socket (KGAS)" in wait class "Network" was consuming significant database time.Slow connect is not related with datafile extension.
Regarding Wait event "TCP Socket (KGAS)"
Please read Metalink note 416451.1
How fast is tnsping to database, ping to database server? -
Standby Database on Oracle 10g Standard Edition ?
Hi All,
Is it possible to do Oracle Stand By Database on Oracle 10g SE ?
I read somewhere in this group that we can do standby database even in SE by writing a script that copy the archive log to the secondary server.
Is this approach reliable enough to be done in production ?
Does anybody have sample of the script ?
Thank you for your help,
xtantoHi,
Well, I think I'd beter put the scripts right there. Remember, they have been tested under MY environment, using MY releases, MY O.Ses. It's up to you to check whether the're valid for you. They are provided as is, for sample.
There are 4 files:
. generic.sh : you can duplicate this file in order to set up as many standby as needed, etc. It calls other scripts in order to:
. archivemove.sh : Get the archived redo logs to the standby host
. recover.sh : Synch the standby
. getrecid.sql : get the maximum progess point on the Manual Standby (used by archivemove.sh)
These scripts are used from the standby host. Remember to throughly check it before relying on it for production.
generic.sh
#!/bin/sh
# Be sure environment variable are set. If not, then it might fail!
# These environment variables are those for the Manual Physical Standby host
export ORACLE_HOME=/logical/oracle/Ora9i
export ORACLE_BASE=/logical/oracle
export ORACLE_STANDBY=tns_alias
export ORACLE_STANDBY_SYSDBA_PASS=change_on_install
export PATH=$ORACLE_HOME/bin:$PATH
export SOURCE_HOST=primary_host
export SOURCE_DRIVE=/primary/absolute/path/to/archived/redo/logs
export LOCAL_ARC_PARTH=/path/to/logical/archive/dest
# Check the date command usage depending on the platform
dateexec=`date "+%Y-%m-%d-%H-%M"`
# copy archived redo logs from main database
archivemove.sh > $dateexec.generic.log
# recover/sync the Manual Standby Database
recover.sh >> $dateexec.generic.log
archivemove.sh
#!/bin/sh
echo ----------------------------------------------------------------
echo ----------------------------------------------------------------
echo Get what log has last been applied to: $ORACLE_STANDBY
echo ----------------------------------------------------------------
sqlplus /nolog @getrecid.sql $ORACLE_STANDBY
echo ----------------------------------------------------------------
maxval=`tail -1 recid.log`
echo maxval=$maxval
rm recid.log
echo ----------------------------------------------------------------
# Check source drive to see what we're missing locally (source = primary)
for filename in `remsh $SOURCE_HOST 'ls $SOURCE_DRIVE' | sort`
do
# get archive number.
# WARNING here I'm based on MY archived redo log name format! Put yours for the cut
filename_parsed=`echo $filename | cut -c12-16`
# Check if the number is after the last one applied to standby
if [ $filename_parsed -gt $maxval ]
then
# grab it!
echo $filename
rcp $SOURCE_HOST:$SOURCE_DRIVE/$filename $LOCAL_ARC_PARTH
fi
done
echo ----------------------------------------------------------------
echo Removing old files
echo ----------------------------------------------------------------
# Check in local directory
for filename in `ls $LOCAL_ARC_PATH | sort`
do
# WARNING again about filename format
filename_parsed=`echo $filename | cut -c12-16`
# Check the arc number...
if [ $filename_parsed -lt `expr $maxval - 15` ]
then
# Delete it!
echo $filename
rm -f $LOCAL_ARC_PATH/$filename
fi
done
echo ----------------------------------------------------------------
echo end archivemove.sh
echo ----------------------------------------------------------------
recover.sh
#!/bin/sh
echo ----------------------------------------------------------------
echo Traitement de la base $ORACLE_STANDBY
echo ----------------------------------------------------------------
sqlplus /nolog << EOF
connect sys/$ORACLE_STANDBY_SYSDBA_PASS@$ORACLE_STANDBY as sysdba
SELECT MAX(RECID) "Log id now" FROM V\$LOG_HISTORY;
RECOVER AUTOMATIC DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
CANCEL
SELECT MAX(RECID) "Log id after recover" FROM V\$LOG_HISTORY;
exit;
EOF
echo ----------------------------------------------------------------
echo End of recovery process
echo ----------------------------------------------------------------
getrecid.sql
connect sys/change_on_install@&1 as sysdba
SET HEAD OFF FEEDBACK OFF VERIFY OFF TERMOUT ON ECHO OFF TRIMSPOOL ON SERVEROUTPUT OFF
SPOOL recid.log
SELECT MAX(RECID) FROM V$LOG_HISTORY;
SPOOL OFF
exitHTH building your own scripts.
Yoann. -
To create standby database using oracle 10g standared edition
my producation database is oracle 10G standard edition .Can i implement a oracle dataguard or standby database using standard edition licenses.if standby database is possiable in standard edition .what are the steps for creating a standby database using oracle 10g standard edition.
General answer is http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#BABJICBB.
For Data Guard you cannot :
- use instance parameters to automatically send archived redo logs
- use instance parameters to resolve archived redo logs gaps
- create a logical standby
- use SQL statements to do switchover / failover
- use Data Guard Broker. -
Oracle 10g standby configuration - Restoring primary backup to Standby DB.
Hi experts,
This is my first time configuring a Standby (Data Guard) scenario for our Oracle data base. The platform used is Solaris 10 with Oracle 10g.
After reviewing a lot of documents and tutorials regarding this matter still have some doubts on how to get this scenario finally configured.
Basically I would like some confirmations regarding the following point. We have the new db already installed in our disaster recovery site and the next step I need to do is to perform an offline backup from our primary data base and then transfer that backup to our standby database. Iu2019m currently stuck in this steps since Iu2019m not completely sure on how proceed with this specific step. According to the following link http://help.sap.com/saphelp_nw04s/helpdata/en/08/5744b84ae611d1894f0000e829fbbd/content.htm , the following steps are necessary:
1. Take a backup (online or offline) of the data files of the production database
2. Create a control file at the production site to be used at the standby site, by entering the following command:
alter database create standby controlfile as <filename>
3. Archive the current online redo log of the production database, by entering the following command:
alter system archive log current
4. Transfer the backed up data files, the control file and all archived redo log files to the standby site.
Regarding the above step u201C4u201D... Could someone please detail me what all the data files are? As per SAP System Copy guide in its section u201CRestoring Database Files on the Target Systemu201D the following is indicated...and I think these are the files to transfers to the standby db.
Files/oracle/<DBSID>/sapdata<x>
All files/oracle/<DBSID>/origlog<x>
All files/oracle/<DBSID>/mirrlog<x>
Is my assumption correct?
Please let me know which the correct steps are and if any other process is applicable or advisable over the above mentioned....let me know.
RegardsHi,
As far as cold backup of database is concerned, backup of the folders you have mentioned is enough.
Hope you have created a parameter file for the standby database and changed the primary parameter file as part of preparation of primary database.
Here is a sample entry you have to have on standby parameter file apart from other entries..
db_unique_name='STANDBY'
fal_client='STANDBY'
fal_server='PRIMARY'
log_archive_config='DG_CONFIG=(PRIMARY,STANDBY)'
Also browse through the following threads...it may help..
Re: Standby server - WAIT_FOR_GAP error
Re: Hot DR site preparation
Regards,
Anish -
The question is on Oracle 10g Logical Standby Data Guard. Below is the short description of what we wanted to do.
We currently run our Remedy application on Oracle10g. We wanted to setup Data Guard (logical standby) so we can perform our application upgrade on the logical standby. While we upgrade our application, our customers perform the dml on the primary instance.
During the upgrade, we will change the ddl on our application in the logical standby instance. After the application upgrade, we do a role switch between the two instances (primary became a new logical standby and logical standby became new primary). Now, we wanted the data or the dml that our customers perform on the old primary replicate over to the new primary.
It is possible for the logical standby to perform the ddl at the same time user perform the ddl and dml on the primary instance?
After role switch between the two instances, is the data changed on the primary replicate over to the new primary?
Thank you for your helps.
Loc Nguyen
[email protected]Hi Shital,
Guard_status protects the data from being changed.
ALL- By default it is not possible for a non-privileged user to modify data on a data guard SQL apply database. This is because the database guard is automatically set to ALL.
With this level of security, only SYS user can modify the data.
STANDBY- When you set this level of security, users are able to modify data that is not maintained by the Logical apply engine.
NONE permits any users to access the standby database as long as they have correct privileges. This is the normal security for all data in the database.
You can change the guard status value from ALL to NONE in order to allow non-privileged users to modify data and Yes you can create user and extra tablespace in logical standby database..this is what the one of advantage of using Logical standby database.
SQL> ALTER DATABASE GUARD NONE;
Thanks -
How to recreate datafile in oracle 10g.
pls tell me how to recreate datafile in oracle 10g...
what are situation to recreate datafile
Edited by: 898085 on Nov 18, 2011 9:16 PM898085 wrote:
pls tell me how to recreate datafile in oracle 10g...
what are situation to recreate datafile
Edited by: 898085 on Nov 18, 2011 9:16 PMDid u mean create or recreate?
if datafie is deleted then you may add it into existing tablespace.
Try this : -
1.)sqlplus sys/xx as sysdba
2.)alter tablespace <tablespace_name> add datafile <datafile_name> size <give size>;
HTH:-) -
Exporting of files in oracle 10g database
hey friends,
I installed Oracle 10g Database server on Windows XP,when i tried to take the backup through "Export to Files".I got this error.
I have added Administrator in "Login as Batch JOb" and has given administrator along with the password in host credentials.
I explain the procedure.I Login as Sys as SysOper as Oracle does not allow to take backup as sysdba.
I created the job and also given the right path for the backup but some how it fails then i check the log and i find the following output.
Output Log
Export: Release 10.1.0.2.0 - Production on Fri Mar 4 16:39:23 2005
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Username:
EXP-00004: invalid username or password
Username: Password:
EXP-00004: invalid username or password
Username:
EXP-00030: Unexpected End-Of-File encountered while reading input
EXP-00000: Export terminated unsuccessfully
The output log says i am giving invalid username and password but i don't know where i am giving the invalid username and password.
Please guide me as I am new to Oracle and want to learn Oracle Administration.
Thanks & Regards
AnkushGive me output of following on standby server
SQL>select name from v$datafile;
SQL>show parameter log_archive_dest -
Oracle 10g EE Export Results in ORA-01001: invalid cursor Error
Hi,
I'm quite new to Oracle 10g and OCS10g. We have a crippled/corrupt SYSAUX tablespace (data file 3) which cannot be recovered using recover
command anymore. So metalink support instructed us to do a export of the metadata of the working tablespace which contains our system data (we are in configuration stage for OCS 10g 10.1.2) via transportable tablespaces so that I can just recreate the database in DBCA and import the metadata. So after I made a cold backup, set the "transportable" tablespaces to "READ ONLY" mode, I proceeded w/ the export command which resulted in an error, please see below:
$exp \'sys/********@ocs10gSID as sysdba\' parfile=transport.par
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 -
Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
EXP-00008: ORACLE error 1001 encountered
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at "SYS.DBMS_TTS", line 811
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
ORA-06512: at "SYS.DBMS_PLUGTS", line 1444
ORA-06512: at line 1
Anyone encountered this problem before? Any recommendations or tips to get this working?
I checked this url:"http://luhartma.blogspot.com/2006/05/how-to-check-if-tablespace-is.html"
And when I try to follow the instructions and check on of the tablespace I set to and verified to be in "READ ONLY" mode, I get the same error.
SQL> connect / as sysdba
Connected.
SQL> exec dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE)
BEGIN dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE); END;
ERROR at line 1:
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at "SYS.DBMS_TTS", line 811
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
ORA-06512: at "SYS.DBMS_TTS", line 840
ORA-06512: at line 1
Hope someone can help on this or at least provide a suggestion. Data file 3 above is the reason we are doing a transportable tablespace export & db recreation.
BTW what we have is:
OCS 10g 10.1.2 w/ Oracle RDBMS 10g Enterprise Edition 10.1.0.4.2
RHEL4 Update2
Thanks in advance.
Regards,
-KenthHi,
The status is "RECOVER" we have actually tried to recover but unfortunately the archive logs that were needed were on disks and were lost during one of the server hardware failures. Actually that is the reason why metalink support recommended this route for getting everything in order since we don't have any application data in SYSAUX yet.
Thanks.
Maybe you are looking for
-
I want to transfer my copy of Photoshop Elements 12 from a Windows laptop to a Mini Mac os. Is this possible and what do I need to do, Thanks.
-
How do I get the robotic vocoder sound using evoc - Kraftwerk style?
I've setup evoc according to the manual, and I get it to vocode, but it doesn't sound very 'robotic', at least not compared to Kraftwerk. Does anyone have the details, e.g. what evoc ps sound should I use, how should I change the default parameters,
-
23" Cinema Display: Can't disable MacBook display to use only the cinema?
Hi, I just bought a 23" cinema display with the intention of using it exclusively while I use a wireless keyboard and just keep my MacBook closed. I notice that when I set the display preferences to "mirror," the quality of the cinema display reduces
-
I have a Mac and can't use my Adobe Elements software. How do I uninstall this software so I can reinstall it for use?
-
Is there any way to capture the event when a user stops scrolling a scrollPane component. Right now I have actions set to take place when my scroll listener hears the user scrolling, but i have no way of stopping them once they let up/release the scr