9i Database - Restore to a new host, validating RMAN backup
Hi all,
I could use your help, for any of you who remember how to do this in 9i. On one of my production databases, running 9.2.0.6.0, I have a nightly RMAN script that writes the backup to a large shared drive (this is on a Windows 2003 server). This backup uses a recovery catalog.
I have a test server, and I want to try and restore last night's backup on this test server, without touching the recovery catalog - purely as a means to go through the recovery process, and to validate our backups (this is also for SOX compliance, as this database is for the financial system).
I have been looking through the 9i documentation, and was hoping to have some detailed steps here: http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrecov.htm#1007514
but I don't see a lot of information there.
I believe that this should be a rather simple process. On the test server, I have installed the 9.2.0.6 software, and created the Oracle Service using the same name as production. The test server can also see the shared drive that houses the backup files from the production system.
Here are the steps I am trying, please let me know what I need to change. Thanks all!!
rman target / nocatalog
RMAN> set DBID 3679803977
RMAN> startup nomount
RMAN> restore controlfile from autobackup; --- this throws errors, see below
Starting restore at 11-NOV-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=12 devtype=DISK
channel ORA_DISK_1: looking for autobackup on day: 20081111
channel ORA_DISK_1: looking for autobackup on day: 20081110
channel ORA_DISK_1: looking for autobackup on day: 20081109
channel ORA_DISK_1: looking for autobackup on day: 20081108
channel ORA_DISK_1: looking for autobackup on day: 20081107
channel ORA_DISK_1: looking for autobackup on day: 20081106
channel ORA_DISK_1: looking for autobackup on day: 20081105
channel ORA_DISK_1: no autobackup in 7 days found
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/11/2008 16:43:18
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
Many thanks for the helpful replies so far, Hemant!! I had to shelve this issue for a few days, back at it today.
I have made some progress, I am able to restore the control file now - what I am doing, is copying the autobackup controlfile from the network drive over onto the server locally (E:\oracle\ora92\database\BACKUPCONTROL.ORA), then I am able to restore the controlfile with this:
restore controlfile from 'E:\oracle\ora92\database\BACKUPCONTROL.ORA';
And I can see that it restores all 3 of my controlfiles.
The next step would be to do the database restore. When I issue the "restore database;" command, I can see that it lists out all of the datafiles that it needs to restore from the backup set, but then after about a minute, I see these error messages pop up:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/19/2008 10:55:54
ORA-19587: error occurred reading 0 bytes at block number 1
ORA-27091: skgfqio: unable to queue I/O
ORA-27067: skgfdisp: size of buffer is invalid
OSD-04026: Invalid parameter passed.
When I looked up those last 2 error codes on Metalink, I see document ID 213858.1 that looks like this normally happens when the backup piece that has Read-Only permissions. I have confirmed that the backup files on the network drive are not Read-Only, I have full Read/Write privileges on them. So once again, I am stumped.
Any thoughts? I might go ahead and log an SR for this, to try and get it resolved.
Thanks!
Similar Messages
-
Delete all AVAILABLE valid RMAN backup by RMAN command
Hi
We are taking RMAN full backup on disk every day. But right now we don’t have enough space on RMAN backup mount point. So we want to delete all AVAILABLE valid RMAN backup by RMAN command.
Please guide to delete all AVAILABLE valid RMAN backup by RMAN command.
-Thanks
Edited by: Fazlul Kabir Mahfuz on May 13, 2013 11:06 AMYou can do it by manually delete the backups and archivelogs from OS location. Then use below commands
RMAN>crosscheck backup;
It will give status as EXPIRED for backups which are valid but not available at OS level.
RMAN>delete expired backup;
Delete all the backups whose status are EXPIRED from database level.
Similarly for archivelogs
RMAN>crosscheck archivelog all;
RMAN>delete expired archivelog all; -
Restore Database with Oracle 9i with a New Host using RMAN
Gurus,
I am trying to restore a database from some RMAN created files on a new host with a new directory structure for some testing. I do not have access to the source database.
The database is Oracle 9i.
The files that have been created are the following:
'C-2995630462-20110214-00' is the control file and SP file backup.
'B_ABM4KAJ5_1_1' is the database backup.
B_ACM4KARS_1_1 and B_AAM4KAIV_1_1 are archived redo logs
Here is the RMAN listing from when the files were created:
BS Key Size Device Type Elapsed Time Completion Time
329 56M DISK 00:00:02 14/FEB/11
BP Key: 329 Status: AVAILABLE Tag: TAG20110214T050015
Piece Name: D:\BACKUPS\CRYSTAL\B_AAM4KAIV_1_1
List of Archived Logs in backup set 329
Thrd Seq Low SCN Low Time Next SCN Next Time
1 184 4602414767 13/FEB/11 4602533494 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
330 Full 13G DISK 00:04:33 14/FEB/11
BP Key: 330 Status: AVAILABLE Tag: TAG20110214T050021
Piece Name: D:\BACKUPS\CRYSTAL\B_ABM4KAJ5_1_1
List of Datafiles in backup set 330
File LV Type Ckp SCN Ckp Time Name
1 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\SYSTEM01.DBF
2 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\UNDOTBS01.DBF
3 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\USERS01.DBF
BS Key Size Device Type Elapsed Time Completion Time
331 37K DISK 00:00:01 14/FEB/11
BP Key: 331 Status: AVAILABLE Tag: TAG20110214T050500
Piece Name: D:\BACKUPS\CRYSTAL\B_ACM4KARS_1_1
List of Archived Logs in backup set 331
Thrd Seq Low SCN Low Time Next SCN Next Time
1 185 4602533494 14/FEB/11 4602533686 14/FEB/11
BS Key Type LV Size Device Type Elapsed Time Completion Time
332 Full 3M DISK 00:00:01 14/FEB/11
BP Key: 332 Status: AVAILABLE Tag:
Piece Name: D:\BACKUPS\CRYSTAL\C-2995630462-20110214-00
SPFILE Included: Modification time: 23/NOV/10
I am new to using RMAN and I'm hoping someone could point me in a direction of some documentation to assist with the scenario described above. I've looked at several Oracle documents but have been unable to find a way to separate out the spfile from the control file.
Any help you can provide would be greatly appreciated.
Thanks.Thanks Meeran.
I have attempted to follow the directions from the RMAN document that you posted and have run into the following error:
C:\>rman target / nocatalog
Recovery Manager: Release 9.2.0.6.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: DUMMY (not mounted)
using target database controlfile instead of recovery catalog
RMAN> startup force nomount
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\ORACLE\ORA92\DATABASE\INITCRYSTAL.O
RA'
trying to start the Oracle instance without parameter files ...
Oracle instance started
Total System Global Area 97591104 bytes
Fixed Size 454464 bytes
Variable Size 46137344 bytes
Database Buffers 50331648 bytes
Redo Buffers 667648 bytes
RMAN> RESTORE SPFILE TO 'C:\oracle\admin\crystal\pfile\init.ora' from 'C:\oracle
\ora92\CRYSTALbk\C-2995630462-20110214-00';
Starting restore at 30-MAR-11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/30/2011 11:30:07
ORA-00600: internal error code, arguments: [1866], [0x41AA450], [6144], [0x41BAD
B4], [], [], [], []
RMAN>
Am I not correctly connected to the target?
It looks like it correctly tried to create a dummy spfile, but when attempting the restore from the file it breaks.
Any suggestions? Thanks. -
Help is needed in restoring DB to new host
Hello ,
I posted new thread two days ago , but yet, haven't succedded in restore my DB from host A to host b .
I need to do a test case , backup database at 11:00 , make some changes , (create / drop tables , whatever ) , take incremental level 1 at 11:15 , make more changes , plus another incremental level 1 backup at 11:30 .
At the end of that , I should try to to restore the Database called DB1 , into host b , for the changes made before the backup of 11:15 (that is , set until time ... 11:15) .
the problem is that I sit on that thing for about a week ,
and each time get another error at the end of the process when trying to run :
"recover database / recover database noredo" .
Here is what I do in host a :
[b]% setenv ORACLE_SID DB1
% sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jan 25 10:29:46 2007
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> select to_char (sysdate,'dd-mm-yyyy hh24:mi') From dual ;
TO_CHAR(SYSDATE,
25-01-2007 10:34
exit;
% rman target / catalog rman/rman@RCVCAT
Recovery Manager: Release 10.2.0.2.0 - Production on Thu Jan 25 10:32:33 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DB1 (DBID=1206648960)
connected to recovery catalog database
RMAN> register database ;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN> configure controlfile autobackup on ;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> backup database ;
Starting backup at 25-JAN-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=198 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00002 name=/u03/oradata/DB1/dbf/t_undo_01_DB1.ora
input datafile fno=00001 name=/u03/oradata/DB1/dbf/t_system_01_DB1.ora
input datafile fno=00003 name=/u03/oradata/DB1/dbf/t_sysaux_01_DB1.ora
input datafile fno=00005 name=/u02/oradata/DB1/dbf/t_common_data_01_DB1.ora
input datafile fno=00006 name=/u02/oradata/DB1/dbf/t_common_ix_01_DB1.ora
input datafile fno=00004 name=/u03/oradata/DB1/dbf/t_users_01_DB1.ora
input datafile fno=00007 name=/u02/oradata/DB1/dbf/t_cipher_data_01_DB1.ora
input datafile fno=00008 name=/u02/oradata/DB1/dbf/t_cipher_ix_01_DB1.ora
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_nnndf_TAG20070125T103356_2vjtvnsz_.bkp tag=TAG20070125T103356 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612786863_2vjtwhsb_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
RMAN> backup archivelog all ;
Starting backup at 25-JAN-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=1 stamp=612786900
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_annnn_TAG20070125T103501_2vjtxq1g_.bkp tag=TAG20070125T103501 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612786907_2vjtxvrj_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
BACK TO SQLPLUS
> SQL> select to_char (sysdate,'dd-mm-yyyy hh24:mi') From dual ;
TO_CHAR(SYSDATE,
25-01-2007 10:39
SQL> create user newuser identified by nweuser ;
User created.
SQL> grant connect , resource , create table to newuser ;
Grant succeeded.
SQL> create table newuser.tab (col number) ;
Table created.
BACK TO RMAN
RMAN> backup archivelog all ;
Starting backup at 25-JAN-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=1 stamp=612786900
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_annnn_TAG20070125T103501_2vjtxq1g_.bkp tag=TAG20070125T103501 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612786907_2vjtxvrj_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
RMAN> backup incremental level 1 all database ;
Starting backup at 25-JAN-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00002 name=/u03/oradata/DB1/dbf/t_undo_01_DB1.ora
input datafile fno=00001 name=/u03/oradata/DB1/dbf/t_system_01_DB1.ora
input datafile fno=00003 name=/u03/oradata/DB1/dbf/t_sysaux_01_DB1.ora
input datafile fno=00005 name=/u02/oradata/DB1/dbf/t_common_data_01_DB1.ora
input datafile fno=00006 name=/u02/oradata/DB1/dbf/t_common_ix_01_DB1.ora
input datafile fno=00004 name=/u03/oradata/DB1/dbf/t_users_01_DB1.ora
input datafile fno=00007 name=/u02/oradata/DB1/dbf/t_cipher_data_01_DB1.ora
input datafile fno=00008 name=/u02/oradata/DB1/dbf/t_cipher_ix_01_DB1.ora
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_nnnd1_TAG20070125T104227_2vjvcnpg_.bkp tag=TAG20070125T104227 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:46
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612787395_2vjvf3rp_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
RMAN> backup archivelog all ;
Starting backup at 25-JAN-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=1 stamp=612786900
input archive log thread=1 sequence=12 recid=2 stamp=612787440
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_annnn_TAG20070125T104401_2vjvglw5_.bkp tag=TAG20070125T104401 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612787447_2vjvgqog_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
BACK TO SQLPLUS
SQL> select to_char (sysdate,'dd-mm-yyyy hh24:mi') From dual ;
TO_CHAR(SYSDATE,
25-01-2007 10:45
SQL> create user userb identified by userb ;
User created.
SQL> grant create table , connect , resource to userb ;
Grant succeeded.
SQL> create table userb.userb_tab (col number) ;
Table created.
BACK TO RMAN
RMAN> backup incremental level 1 database ;
Starting backup at 25-JAN-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00002 name=/u03/oradata/DB1/dbf/t_undo_01_DB1.ora
input datafile fno=00001 name=/u03/oradata/DB1/dbf/t_system_01_DB1.ora
input datafile fno=00003 name=/u03/oradata/DB1/dbf/t_sysaux_01_DB1.ora
input datafile fno=00005 name=/u02/oradata/DB1/dbf/t_common_data_01_DB1.ora
input datafile fno=00006 name=/u02/oradata/DB1/dbf/t_common_ix_01_DB1.ora
input datafile fno=00004 name=/u03/oradata/DB1/dbf/t_users_01_DB1.ora
input datafile fno=00007 name=/u02/oradata/DB1/dbf/t_cipher_data_01_DB1.ora
input datafile fno=00008 name=/u02/oradata/DB1/dbf/t_cipher_ix_01_DB1.ora
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_nnnd1_TAG20070125T104750_2vjvoqb0_.bkp tag=TAG20070125T104750 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612787707_2vjvpw09_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
RMAN> backup archivelog all ;
Starting backup at 25-JAN-07
current log archived
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive log backupset
channel ORA_DISK_1: specifying archive log(s) in backup set
input archive log thread=1 sequence=11 recid=1 stamp=612786900
input archive log thread=1 sequence=12 recid=2 stamp=612787440
input archive log thread=1 sequence=13 recid=3 stamp=612787722
channel ORA_DISK_1: starting piece 1 at 25-JAN-07
channel ORA_DISK_1: finished piece 1 at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/backupset/2007_01_25/o1_mf_annnn_TAG20070125T104843_2vjvqdpf_.bkp tag=TAG20070125T104843 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 25-JAN-07
Starting Control File Autobackup at 25-JAN-07
piece handle=/u01/oradata/DB1/rman_admin/DB1/autobackup/2007_01_25/o1_mf_n_612787727_2vjvqhk7_.bkp comment=NONE
Finished Control File Autobackup at 25-JAN-07
exit host a
Now I create same directories I have in host a , also in host b ,
I have my init.ora file from host a and put it in host b ,
and have all backups taken in host a , available in host b (got them through ftp) .
here comes my question , I look at the pdf books of oracle and do somthing like that in host b :
setenv ORACLE_SID DB1
% sqlplus "/ as sysdba"
SQL> startup nomount pfile=initDB1.ora
SQL> exit
% rman target / nocatalog
RMAN > set dbid 1206648960 ;
RMAN > restore controlfile from autobackup until time "to_date ('25-01-2007 10:35','dd-mm-yyyy hh24:mi')";
## to get back in time to the changes made before userb was created !
RMAN > alter database mount ;
RMAN > restore database ;
RMAN > recover database noredo ;
RMAN > alter database open resetlogs ;
I don't run the whole process in host b , cause the restore is written somewhere , and I don't know where , and in the next time I try to run the restore operation , I get another kind of error message , and have to start the whole thing from the begining .
what's wrong in my process ? it's either I got errors about my files that are older than the last time of the resetlogs , or the DB is recovered to its most current state , after the creation of userb .
please advice . what should I change in my process ? it has been 3 days that I fail to recover my DB , and all I do is taken from oracle tecnet or metalink site .
Thanks in advanced ,
Lior .I think I found what was wrong .
when I use restore controlfile until time , it means that if I wrote 13:00 the recover should be at least to 13:01 (for example) .
meanwhile it works , I'm going to do some more tests to be sure . -
Restoring on a new host fails.
it is SOA Suite 10.1.3.1, and upgrade to 10.1.3.3.1.
this suite run on windows 2003.
I do the restoring action according to admin guide chapter 18.3.3
but when run the 3rd step:
bkp_restore.bat -m node_restore -o inst_register
it prompts:
Service Oracle-OracleSOAServerProcessManager in a state that can't be recreated.
Please remove it manually first.
I have checked, there is no Oracle-OracleSOAServerProcessManager service on the new host.
what does this means, and how to resolve? any suggestion?Do this.
Stop services in A, make a copy of all Oracle Home, etc/oratab, /var/opt/oracle and so on
and coppy them to the B.
Then in B, restore the copy and make a chmod -R 750 for the complete ORACLE_HOME, then run the root.sh
After that, just make a little change in the host file, and put as an alias the name of A in B.
Then run the script $OH/chgip/scripts/chgiphost.sh -mid
and for the source use a and target use b for name and ip.
Check the log and if it's ok, just remove the name of A in the host file as alias.
Hope this helps.
Regards. -
Issue Creating Duplicate Database on Different host using RMAN Backup
HI friends..
I m trying to create a duplicate db on different host ....... 27
i have live production db on ............. 15
its up 24*7.
i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
I have googled..but getting issues..
Steps Taken till now
Note- I dont have catalog created on live db..
I already have set the tnsnames.ora on both servers
1) Took full backup plus archivelog plus control file on 15
2) moved it to another host..ie 27
3) now on live db..
I conected to rman target /
so i m now connected to prod db
than i try to conect to rman auxiliary sys/sys@dubpd..
But it gives me insufficient privilages error..
Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
Thanks in advance frieds...sai121 wrote:
Nope ..on live db..
@comand prompt when i type sqlplus sys/sys@dupdb..
its says 0ra-12518...Listener cannot hand off client connection..
My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
now @command prompt..@live server.. i did sqlplus sys/sys@standby
It gives me ORA-12518
Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
3- You may want to increase "large_pool_size" -
SAP failed to start after database restored to a new machine
Hi,
We have a SAp BW 3.5 running on a SQL 2000, recently our server is degraded and become unstable to host our BW server.
So we build another box with the same OS and DB version and patches, ran sapinst from the SAP DVD, upgraded the kernel to the same level as our current setup.
SAP started Ok with the kernel upgraded, however when we restored the backup to it, if fails.
I have attached the developer trace log, and hope someone can give us some help on diagnosing the issues
============================================
trc file: "dev_disp", trc level: 1, release: "640"
Thu Jan 17 07:11:48 2008
kernel runs with dp version 130(ext=102) (@(#) DPLIB-INT-VERSION-130)
length of sys_adm_ext is 312 bytes
sysno 00
sid PBW
systemid 560 (PC with Windows NT)
relno 6400
patchlevel 0
patchno 129
intno 20020600
make: multithreaded, ASCII
pid 5228
***LOG Q00=> DpSapEnvInit, DPStart (00 5228) [dpxxdisp.c 1098]
shared lib "dw_xml.dll" version 129 successfully loaded
shared lib "dw_xtc.dll" version 129 successfully loaded
shared lib "dw_stl.dll" version 129 successfully loaded
shared lib "dw_gui.dll" version 129 successfully loaded
shared lib "dw_mdm.dll" version 129 successfully loaded
Thu Jan 17 07:12:03 2008
WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0052.qqq.nxst) took 15 seconds
Thu Jan 17 07:12:24 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 21 seconds
***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3893]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >acbwprd_PBW_00 <
DpShMCreate: sizeof(wp_adm) 24840 (828)
DpShMCreate: sizeof(tm_adm) 23691840 (11840)
DpShMCreate: sizeof(wp_ca_adm) 30000 (60)
DpShMCreate: sizeof(appc_ca_adm) 90000 (60)
DpShMCreate: sizeof(comm_adm) 768000 (384)
DpShMCreate: sizeof(vmc_adm) 0 (364)
DpShMCreate: sizeof(wall_adm) (224040/329544/56/100)
DpShMCreate: SHM_DP_ADM_KEY (addr: 06BD0040, size: 25164464)
DpShMCreate: allocated sys_adm at 06BD0040
DpShMCreate: allocated wp_adm at 06BD17D0
DpShMCreate: allocated tm_adm_list at 06BD78D8
DpShMCreate: allocated tm_adm at 06BD7900
DpShMCreate: allocated wp_ca_adm at 0826FB40
DpShMCreate: allocated appc_ca_adm at 08277070
DpShMCreate: allocated comm_adm_list at 0828D000
DpShMCreate: allocated comm_adm at 0828D018
DpShMCreate: allocated vmc_adm_list at 08348818
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 08348840
DpShMCreate: allocated wall_adm at 08348848
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
<ES> Info: em/initial_size_MB( 2070MB) not multiple of em/blocksize_KB( 4096KB)
<ES> Info: em/initial_size_MB rounded up to 2072MB
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 517 blocks reserved for free list.
ES initialized.
ERROR => DpForkExec: CreateProcess (2: No such file or directory) [dpntdisp.c 1432]
***LOG Q0I=> DpForkExec, CreateProcess ( CreateProcess 2) [dpntdisp.c 1434]
Memory diagnostic *
Systeminformation
Processor-Typ : Intel unknown
Processor-Count : 4
Operating System : NT 5.0, Build 2195
Service Pack : Service Pack 4
NT Pagefile Informations
Config. minimum size : 6288384 K
Config. maximum size : 6288384 K
Avail. maximum size : 6288384 K
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
C:\pagefile.sys
2095104 K
2095104 K
2095104 K
2095104 K
2
D:\pagefile.sys
4193280 K
4193280 K
4193280 K
4193280 K
NT Task Manager Informations
Total Handles : 14929
Total Threads : 849
Total Processes : 59
Commit Charge Total : 4501576 K
Commit Charge Limit : 12129696 K
Commit Charge Peak : 7082844 K
Phys.Memory Total : 6028624 K
Phys.Memory Available : 3619128 K
File Cache : 94224 K
Kernel Memory Total : 84712 K
Kernel Memory Paged : 57956 K
Kernel Memory Nonpaged : 26756 K
Memory usage of current process
Total virt.address space : 2097024 K
Avail.virt.address space : 739448 K
Private Pages : 49272 K
Total heap size : 9481 K
Virtual memory regions : 0 K
Uncommitted heap memory : 4424 K
Allocated heap memory : 4816 K
Moveable heap memory : 0 K
DDE shared heap memory : 0 K
Memory usage of all processes
PID
Image
Instance
Work.Set
WS Peak
Priv.Pages
PP Peak
Pg Fault
8
232 K
672 K
24 K
112 K
5
256
smss.exe
408 K
1992 K
1080 K
2652 K
0
308
winlogon.exe
1356 K
10644 K
7384 K
8188 K
7
336
services.exe
115548 K
218872 K
11036 K
15780 K
264040
348
lsass.exe
6960 K
7024 K
3104 K
3192 K
3
456
termsrv.exe
3772 K
3784 K
1864 K
22596 K
1
564
svchost.exe
4520 K
4584 K
1696 K
1792 K
1
596
spoolsv.exe
4580 K
4688 K
2572 K
2752 K
1
664
msdtc.exe
6180 K
6232 K
2204 K
2220 K
1
844
CpqRcmc.exe
1080 K
1084 K
268 K
272 K
0
860
vcagent.exe
6968 K
6976 K
2172 K
2348 K
1
876
svchost.exe
6512 K
6540 K
1936 K
1972 K
2
896
HS_Service.exe
1748 K
1748 K
532 K
532 K
0
920
llssrv.exe
2524 K
2524 K
796 K
796 K
0
1064
regsvc.exe
1064 K
1072 K
288 K
300 K
0
1292
MSTask.exe
3724 K
3828 K
1192 K
1320 K
1
1324
SecurePathAgent.exe
6932 K
87096 K
4360 K
85816 K
4185
1388
snmp.exe
5340 K
5340 K
2396 K
2408 K
1
1436
smhstart.exe
4124 K
4128 K
1752 K
1756 K
1
1460
WinMgmt.exe
976 K
8236 K
6116 K
6620 K
1206
1476
svchost.exe
13352 K
68136 K
9236 K
67064 K
837
1488
cpqnimgt.exe
4448 K
4456 K
1356 K
1368 K
1
1528
cqmgserv.exe
2360 K
2360 K
828 K
844 K
0
1544
cqmgstor.exe
3972 K
3980 K
1300 K
1356 K
1
1556
mssearch.exe
2844 K
7768 K
4584 K
4608 K
2
1564
hpsmhd.exe
11240 K
11240 K
7696 K
8136 K
23
1696
sysdown.exe
2636 K
2636 K
800 K
800 K
0
1712
svchost.exe
9792 K
10376 K
6872 K
8184 K
12
1796
cqmghost.exe
5848 K
5928 K
2620 K
2764 K
91
1932
rotatelogs.exe
1544 K
1544 K
460 K
460 K
0
1080
rotatelogs.exe
1516 K
1516 K
448 K
448 K
0
1980
hpsmhd.exe
17156 K
17156 K
14952 K
14952 K
24
2004
rotatelogs.exe
1544 K
1544 K
460 K
460 K
0
1440
rotatelogs.exe
1516 K
1516 K
448 K
448 K
0
3100
Explorer.EXE
10376 K
12148 K
4880 K
5440 K
93
3252
Atiptaxx.exe
3664 K
3664 K
1032 K
1044 K
0
3272
cpqteam.exe
1804 K
1804 K
384 K
384 K
0
3296
jusched.exe
2008 K
2008 K
540 K
540 K
0
3316
sqlmangr.exe
4996 K
6648 K
1328 K
2820 K
2
4184
cmd.exe
132 K
3048 K
680 K
688 K
1
5656
mmc.exe
1284 K
14852 K
5792 K
6564 K
5
4088
sapstartsrv.exe
14280 K
14280 K
14964 K
14984 K
3
3188
msg_server.exe
[MS] PBW_01
7088 K
7088 K
7864 K
13564 K
1
3092
enserver.exe
[**] PBW_01
15376 K
15384 K
53664 K
53696 K
3
1252
mmc.exe
4176 K
8816 K
5728 K
5804 K
3
4128
msg_server.exe
[MS] PBW_00
6684 K
6692 K
6640 K
6668 K
1
5228
disp+work.exe
55660 K
55700 K
49272 K
49320 K
22
4452
igswd.exe
[**] PBW_00
3828 K
4244 K
2204 K
2632 K
1
3928
igsmux.exe
13944 K
13988 K
12316 K
12360 K
3
4832
igspw.exe
13076 K
13076 K
12316 K
12316 K
3
5724
igspw.exe
13076 K
13076 K
12316 K
12316 K
3
1280
gwrd.EXE
[GW] PBW_00
50320 K
50320 K
9304 K
30796 K
12
3284
icman.EXE
14512 K
14512 K
15900 K
15900 K
3
Sum
500600 K
321956 K
Thu Jan 17 07:12:25 2008
DpJ2eeStart: j2ee state = INIT
ERROR => DpProcCreate: DpJ2eeStart failed [dpxxdisp.c 10518]
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0K=> DpMsAttach, mscon ( acbwprd) [dpxxdisp.c 9915]
DpStartStopMsg: send start message (myname is >acbwprd_PBW_00 <)
DpStartStopMsg: start msg sent
Thu Jan 17 07:12:26 2008
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 129
Release check o.K.
Thu Jan 17 07:13:05 2008
ERROR => W0 (pid 5132) died [dpxxdisp.c 12414]
ERROR => W1 (pid 4864) died [dpxxdisp.c 12414]
ERROR => W2 (pid 4424) died [dpxxdisp.c 12414]
ERROR => W3 (pid 1208) died [dpxxdisp.c 12414]
ERROR => W4 (pid 4404) died [dpxxdisp.c 12414]
ERROR => W5 (pid 4896) died [dpxxdisp.c 12414]
ERROR => W6 (pid 4764) died [dpxxdisp.c 12414]
ERROR => W7 (pid 3736) died [dpxxdisp.c 12414]
ERROR => W8 (pid 4372) died [dpxxdisp.c 12414]
ERROR => W9 (pid 3084) died [dpxxdisp.c 12414]
ERROR => W10 (pid 5148) died [dpxxdisp.c 12414]
ERROR => W11 (pid 4548) died [dpxxdisp.c 12414]
ERROR => W12 (pid 5016) died [dpxxdisp.c 12414]
ERROR => W13 (pid 4916) died [dpxxdisp.c 12414]
ERROR => W14 (pid 3280) died [dpxxdisp.c 12414]
ERROR => W15 (pid 4524) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W16 (pid 5444) died [dpxxdisp.c 12414]
ERROR => W17 (pid 5400) died [dpxxdisp.c 12414]
ERROR => W18 (pid 4196) died [dpxxdisp.c 12414]
ERROR => W19 (pid 4436) died [dpxxdisp.c 12414]
ERROR => W20 (pid 5412) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W21 (pid 5588) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W22 (pid 4676) died [dpxxdisp.c 12414]
ERROR => W23 (pid 5056) died [dpxxdisp.c 12414]
ERROR => W24 (pid 5292) died [dpxxdisp.c 12414]
ERROR => W25 (pid 3908) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W26 (pid 4532) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W27 (pid 5100) died [dpxxdisp.c 12414]
ERROR => W28 (pid 1204) died [dpxxdisp.c 12414]
ERROR => W29 (pid 4288) died [dpxxdisp.c 12414]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-5132 (SIGUSR2)
ERROR => DpWpKill(5132, SIGUSR2) failed [dpxxtool.c 2502]
killing W1-4864 (SIGUSR2)
ERROR => DpWpKill(4864, SIGUSR2) failed [dpxxtool.c 2502]
killing W2-4424 (SIGUSR2)
ERROR => DpWpKill(4424, SIGUSR2) failed [dpxxtool.c 2502]
killing W3-1208 (SIGUSR2)
ERROR => DpWpKill(1208, SIGUSR2) failed [dpxxtool.c 2502]
killing W4-4404 (SIGUSR2)
ERROR => DpWpKill(4404, SIGUSR2) failed [dpxxtool.c 2502]
killing W5-4896 (SIGUSR2)
ERROR => DpWpKill(4896, SIGUSR2) failed [dpxxtool.c 2502]
killing W6-4764 (SIGUSR2)
ERROR => DpWpKill(4764, SIGUSR2) failed [dpxxtool.c 2502]
killing W7-3736 (SIGUSR2)
ERROR => DpWpKill(3736, SIGUSR2) failed [dpxxtool.c 2502]
killing W8-4372 (SIGUSR2)
ERROR => DpWpKill(4372, SIGUSR2) failed [dpxxtool.c 2502]
killing W9-3084 (SIGUSR2)
ERROR => DpWpKill(3084, SIGUSR2) failed [dpxxtool.c 2502]
killing W10-5148 (SIGUSR2)
ERROR => DpWpKill(5148, SIGUSR2) failed [dpxxtool.c 2502]
killing W11-4548 (SIGUSR2)
ERROR => DpWpKill(4548, SIGUSR2) failed [dpxxtool.c 2502]
killing W12-5016 (SIGUSR2)
ERROR => DpWpKill(5016, SIGUSR2) failed [dpxxtool.c 2502]
killing W13-4916 (SIGUSR2)
ERROR => DpWpKill(4916, SIGUSR2) failed [dpxxtool.c 2502]
killing W14-3280 (SIGUSR2)
ERROR => DpWpKill(3280, SIGUSR2) failed [dpxxtool.c 2502]
killing W15-4524 (SIGUSR2)
ERROR => DpWpKill(4524, SIGUSR2) failed [dpxxtool.c 2502]
killing W16-5444 (SIGUSR2)
ERROR => DpWpKill(5444, SIGUSR2) failed [dpxxtool.c 2502]
killing W17-5400 (SIGUSR2)
ERROR => DpWpKill(5400, SIGUSR2) failed [dpxxtool.c 2502]
killing W18-4196 (SIGUSR2)
ERROR => DpWpKill(4196, SIGUSR2) failed [dpxxtool.c 2502]
killing W19-4436 (SIGUSR2)
ERROR => DpWpKill(4436, SIGUSR2) failed [dpxxtool.c 2502]
killing W20-5412 (SIGUSR2)
ERROR => DpWpKill(5412, SIGUSR2) failed [dpxxtool.c 2502]
killing W21-5588 (SIGUSR2)
ERROR => DpWpKill(5588, SIGUSR2) failed [dpxxtool.c 2502]
killing W22-4676 (SIGUSR2)
ERROR => DpWpKill(4676, SIGUSR2) failed [dpxxtool.c 2502]
killing W23-5056 (SIGUSR2)
ERROR => DpWpKill(5056, SIGUSR2) failed [dpxxtool.c 2502]
killing W24-5292 (SIGUSR2)
ERROR => DpWpKill(5292, SIGUSR2) failed [dpxxtool.c 2502]
killing W25-3908 (SIGUSR2)
ERROR => DpWpKill(3908, SIGUSR2) failed [dpxxtool.c 2502]
killing W26-4532 (SIGUSR2)
ERROR => DpWpKill(4532, SIGUSR2) failed [dpxxtool.c 2502]
killing W27-5100 (SIGUSR2)
ERROR => DpWpKill(5100, SIGUSR2) failed [dpxxtool.c 2502]
killing W28-1204 (SIGUSR2)
ERROR => DpWpKill(1204, SIGUSR2) failed [dpxxtool.c 2502]
killing W29-4288 (SIGUSR2)
ERROR => DpWpKill(4288, SIGUSR2) failed [dpxxtool.c 2502]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=1161
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jan 17 07:13:15 2008
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long) Wed Jan 16 18:13:15 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 5132 Ended no 1 0 0
1 DIA 4864 Ended no 1 0 0
2 DIA 4424 Ended no 1 0 0
3 DIA 1208 Ended no 1 0 0
4 DIA 4404 Ended no 1 0 0
5 DIA 4896 Ended no 1 0 0
6 DIA 4764 Ended no 1 0 0
7 DIA 3736 Ended no 1 0 0
8 DIA 4372 Ended no 1 0 0
9 DIA 3084 Ended no 1 0 0
10 DIA 5148 Ended no 1 0 0
11 DIA 4548 Ended no 1 0 0
12 DIA 5016 Ended no 1 0 0
13 DIA 4916 Ended no 1 0 0
14 DIA 3280 Ended no 1 0 0
15 DIA 4524 Ended no 1 0 0
16 UPD 5444 Ended no 1 0 0
17 UPD 5400 Ended no 1 0 0
18 UPD 4196 Ended no 1 0 0
19 UPD 4436 Ended no 1 0 0
20 UPD 5412 Ended no 1 0 0
21 ENQ 5588 Ended no 1 0 0
22 BTC 4676 Ended no 1 0 0
23 BTC 5056 Ended no 1 0 0
24 BTC 5292 Ended no 1 0 0
25 BTC 3908 Ended no 1 0 0
26 SPO 4532 Ended no 1 0 0
27 UP2 5100 Ended no 1 0 0
28 UP2 1204 Ended no 1 0 0
29 UP2 4288 Ended no 1 0 0
Dispatcher Queue Statistics Wed Jan 16 18:13:15 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
3
2000
10
10
--------++++--
+
DIA
4
4
2000
4
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 6 ( 75%), shm 2 ( 25%)
since last update total 8, udp 6 ( 75%), shm 2 ( 25%)
Dump of tm_adm structure: Wed Jan 16 18:13:15 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Wed Jan 16 18:13:15 2008
=============================
Slots: 500, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=1161
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jan 17 07:13:20 2008
NiISelect: TIMEOUT occured (5000 ms)
DpHalt: shutdown server >acbwprd_PBW_00 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 4, data complete
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing process (1280) (SOFT_KILL)
Stop icman
killing process (3284) (SOFT_KILL)
Terminate gui connections
[DpProcDied] Process lives (PID:1280 HANDLE:316)
waiting for termination of gateway
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1161
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jan 17 07:13:21 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:1280 HANDLE:316)
[DpProcDied] Process lives (PID:3284 HANDLE:312)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1161
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jan 17 07:13:22 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process lives (PID:3284 HANDLE:312)
waiting for termination of icman
NiWait: sleep (1000 msecs) ...
NiISelect: timeout 1000 ms
NiISelect: maximum fd=1161
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Thu Jan 17 07:13:23 2008
NiISelect: TIMEOUT occured (1000 ms)
[DpProcDied] Process died (PID:3284 HANDLE:312)
DpHalt: cancel all lcom connections
MPI CancelAll 2 -> 0
MPI DeleteAll 2 -> 0
DpStartStopMsg: send stop message (myname is >acbwprd_PBW_00 <)
NiIMyHostName: hostname = 'acbwprd'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 163 bytes
NiBufSend starting
NiIWrite: write 562, 1 packs, MESG_IO, hdl 4, data complete
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiIRead: read 229, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=229
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 229 bytes
MSG received, len 110+119, flag 1, from MSG_SERVER, typ 0, key -
DpHalt: received 119 bytes from message server
NiPRead: WSAEWOULDBLOCK 1.time 4
NiIPeek: peek for hdl 4 / socket 1092 timed out (r; 0)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: write 114, 1 packs, MESG_IO, hdl 4, data complete
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiPRead: WSAEWOULDBLOCK 1.time 4
NiIPeek: peek successful for hdl 4 / socket 1092 (r)
NiIRead: read 114, 1 packs, MESG_IO, hdl 4, data complete
NiBufIn: NIBUF len=114
NiBufIn: Packet complete for hdl 4
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER, typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiPRead: WSAEWOULDBLOCK 1.time 4
Thu Jan 17 07:13:24 2008
NiIPeek: peek for hdl 4 / socket 1092 timed out (r; 1000)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 10153]
NiBufSend starting
NiIWrite: write 110, 1 packs, MESG_IO, hdl 4, data complete
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiSelClear: removed hdl 4 from selectset
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/500/30
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 18)
MBUF component DOWN
NiBufClose: clear extensions for hdl 4
NiBufSetStat: bufstat of hdl 4 changed from OK to OFF
NiICloseHandle: shutdown and close hdl 4 / socket 1092
MsIDetach: detach MS-system
EsCleanup ....
***LOG Q05=> DpHalt, DPStop ( 5228) [dpxxdisp.c 8643]
Good Bye .....
============================================
Thanks
Kevin ChanThanks for your reply
Here are the DEV_W0
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Thu Jan 17 07:12:27 2008
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\PBW\SYS\exe\run\dbmssslib.dll' ...
B Library 'E:\usr\sap\PBW\SYS\exe\run\dbmssslib.dll' loaded
B Version of 'E:\usr\sap\PBW\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.126)
B New connection 0 created
M sysno 00
M sid PBW
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 129
M intno 20020600
M make: multithreaded, ASCII
M pid 5132
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5132) [dpxxdisp.c 1158]
I MtxInit: -2 0 0
M DpSysAdmExtCreate: ABAP is active
M DpShMCreate: sizeof(wp_adm) 24840 (828)
M DpShMCreate: sizeof(tm_adm) 23691840 (11840)
M DpShMCreate: sizeof(wp_ca_adm) 30000 (60)
M DpShMCreate: sizeof(appc_ca_adm) 90000 (60)
M DpShMCreate: sizeof(comm_adm) 768000 (384)
M DpShMCreate: sizeof(vmc_adm) 0 (364)
M DpShMCreate: sizeof(wall_adm) (224040/329544/56/100)
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06BD0040, size: 25164464)
M DpShMCreate: allocated sys_adm at 06BD0040
M DpShMCreate: allocated wp_adm at 06BD17D0
M DpShMCreate: allocated tm_adm_list at 06BD78D8
M DpShMCreate: allocated tm_adm at 06BD7900
M DpShMCreate: allocated wp_ca_adm at 0826FB40
M DpShMCreate: allocated appc_ca_adm at 08277070
M DpShMCreate: allocated comm_adm_list at 0828D000
M DpShMCreate: allocated comm_adm at 0828D018
M DpShMCreate: allocated vmc_adm_list at 08348818
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 08348840
M DpShMCreate: allocated wall_adm at 08348848
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Thu Jan 17 07:12:29 2008
M calling db_connect ...
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'E:\usr\sap\PBW\SYS\exe\run\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 126
C patchcomment MSSQL: Unknown table in FOR ALL ENTRIES (945910)
C np:(local) connection used on ACBWPRD
C CopyLocalParameters: dbuser is 'pbw'
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C OpenOledbConnection: MARS property was not set.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C failed to establish conn to np:(local).
C Retrying without protocol specifier: (local)
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C Provider SQLNCLI could not be initialized. See note #734034 for more information.
C Using provider SQLOLEDB instead.
C ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pbw' setuser 'pbw']
C sloledb.cpp [ExecuteAndFlush,line 5886]: Error/Message: (err 4604, sev 0), There is no such user or group 'pbw'.
C Procname: [ExecuteAndFlush - no proc]
C setuser 'pbw' failed -- connect terminated
C failed to establish conn. 0
B ***LOG BY2=> sql error 0 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#2 @ 419] [dblink 0419 ]
B ***LOG BY0=> <message text not available> [dblink#2 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1284]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9559]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server acbwprd_PBW_00 on host acbwprd (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Thu Jan 17 07:12:29 2008
M * RELEASE 640
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 9735
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 254]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 5132) [dpnttool.c 357] -
Restore to new host - starting RMAN fails
Server host A died today and took along with it my database "prod", so I restored from tape all of the archive logs and datafiles onto Sever host b. Host b also happens to be the host where my RMAN catalog exists. Now that I have all of the files in place, I plan to restore "prod" to host b using the following script:
run {
until sequence 66774 thread 1;
restore database;
recover database;
alter database open resetlogs:}
However, when I try to get into RMAN to issue this command I get errors. I know I am missing something here, and I suspect it is something small. From the windows command line I set the database sid:
$> set ORACLE_SID=prod
$> echo %ORACLE_SID%
prod
$>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Apr 26 15:45:24 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
I've updated host b to so that the tnsnames and listener files point "prod" to server B instead.
What am I doing wrong here?
Thanks, Tonyyou need to recovery your controlfiles first in a nomount stage, usually connecting to your catalog.
Then you can do the restore while the db is mounted.
look something like this:
connect target /
connect catalog un/pw
run {
startup nomount;
allocate channel t1 type 'SBT_TAPE' ;
set until sequence 1430422 thread 1;
RESTORE CONTROLFILE TO '/orcctl1/oradata/control01.ctl';
REPLICATE CONTROLFILE FROM '/orcctl1/oradata/control01.ctl';
alter database mount;
in a seperate script:
connect target /
connect catalog un/pw
run {
allocate channel t97 type 'SBT_TAPE';
allocate channel t98 type 'SBT_TAPE';
allocate channel t99 type 'SBT_TAPE';
allocate channel t100 type 'SBT_TAPE';
set until sequence 1424320 thread 1;
restore database;
recover database DELETE ARCHIVELOG MAXSIZE 200G;
alter database open resetlogs;
you may need to add a SEND command for nb_ora_serv and nb_ora_client if you use them. -
Backup DB with RMAN - Restore on a new Server with RMAN - HOWTO ?
Hello,
i would like to ask if there is something like a tutorial that explains the following:
1. Backup DB with rman
2. Move all the Backup files to a new Computer
3. Create a new instance on this computer and restore the DB
I'm especially not sure about creating the new instance...what do you have to take care of ? Do have any chance to restore the DB if you don't know the instance name of the original DB ? Will it work if the new computer has a different hostname ?Hello,
i tried to follow the steps but do you know if there is a description like this for the situation when you don't use a recovery catalog ? The description you've pointed me to assumes the usage of a recovery catalog, however in my (test-) situation here i'm using no backup catalog
kind regards -
RMAN full DB restore on New Host
Hi There,
My RMAN full backup script is like this:
RMAN> CONNECT TARGET *
CONNECT CATALOG *
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db1,OB2BARLIST=Off-site,OB2BARHOSTNAME=db1.blah.tr)';
backup incremental level 0
format 'Off-site<db1_%s:%t:%p>.dbf'
cumulative
database;
backup
format 'Off-site<db1_%s:%t:%p>.dbf'
archivelog all;
backup
format 'Off-site<db1_%s:%t:%p>.dbf'
current controlfile;
EXITCan you help writing a full restore/recover script...
Thanks
Edited by: user642423 on Jan 24, 2009 11:11 PMI want to restore to a New Host and the above script will not work for me...
Doing this procedure "http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814" I get an error like this:
PS: I've set "maxdays 30" but again same "no autobackup found or specified handle is not a valid copy or piece" error...
channel dev_0: looking for autobackup on day: 20090125
channel dev_0: looking for autobackup on day: 20090124
channel dev_0: looking for autobackup on day: 20090123
channel dev_0: looking for autobackup on day: 20090122
channel dev_0: looking for autobackup on day: 20090121
channel dev_0: looking for autobackup on day: 20090120
channel dev_0: looking for autobackup on day: 20090119
channel dev_0: no autobackup in 7 days found
released channel: dev_0
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/25/2009 00:27:00
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece -
Hi,
We are planning to impletment RMAN backups on our production systems. We took a RMAN backup and wanted to restore into another server using different sid and db name, without disturbing the running production database. We came across some errors and we need some help.
Oracle Version - 9.2.0.7
OS - Windows 2003
Envirnoment
=========
Host A - DB1
Host B - DB2 (Directory sturcture is different)
Host C - Catalog
Step 1. I took a full backup of DB1 on Host A connected to the catalog.
Step 2. Copied the pfile and backup files from Host A to Host B.
Step 3. Changed db_name, instance_name in Host B pfile.
Step 4. Created oracle instance using oradim utility.
Step 5. Started rman utiliy - rman target /
Step 6. Resorted Controlfile
Step 7. Mount database <---- Here we get an error
Let me know if the above steps are wrong.
RMAN> alter database mount;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
ORA-01103: database name 'DB1' in controlfile is not 'DB2'
Edited by: user13431321 on Feb 23, 2011 12:42 PMuser13431321 wrote:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
ORA-01103: database name 'DB1' in controlfile is not 'DB2'The db name in the controlfile doesn't match the spfile/init file.
If the database is on a separate server, then you shouldn't need to worry about the db_name being the same. But if you are determined to have a new database name, you could restore the database with the same database name and then change it with the nid utility.
Check Specifying Filenames When Restoring to a New Host to accommodate a new directory structure. -
hi all,
i am using xp, oracle 10.1.0.2.0
i recovered my database named jal on new host.
but when i am trying to create a table using scott user, it gives me error "cannot use system rollback segment for nonsystem tablespace 'users'
can any1 put some light on this one?
how can i enable the users to create tables in the tablespace users.
Regards
TamannaCheck the status of your undo tablespace
SQL> select tablespace_name, status, contents
2 from dba_tablespaces
3 where contents = 'UNDO'
4 /
TABLESPACE_NAME STATUS CONTENTS
UNDOTBS1 ONLINE UNDO
SQL> show parameter undo
NAME TYPE VALUE
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1and plese post the output of the above on the forum.
With kind regards
Krystian Zieja -
RMAN backups : versions of database
I have been trying to restore an 11.1.0.7 backup to a 11.2 database. I've been having a few problems with this - it complaians about the contents of the undo tablespace. Am I capable of recovering from this situation ?
what are the general rules about restoring backupsets from one version of oracle into another ? I've not been able to find much documentation.
johnniedHi,
I thought that an upgrade might be necessary.Yes you have to do an upgrade if you go from 11.1.0.7 to 11.2.
in short:
restore
recover
Than start the upgrade.
However I thought/was hoping that rman backups might have been backward compatibleYour backups are forward compatible only you have to upgrade the database.
( I think correctly ? that rman backups are platform independent)No this is not true (which makes me think the error you get is caused because you restored to a different OS platform?)
You have to use the convert command in rman if you want to restore to a different OS platform.
Please follow the link.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta018.htm#i88628
Regards,
Tycho -
Listener error while restoring to new host
I'm trying to restore a production database to a new host using a complete RMAN backup following these instructions:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
I'm trying to force the database to start in NOMOUNT so I can restore the control files, then the data files. I took a crack at editing the initialization file, but I'm not sure I got things right, as I'm trying to restore a single-node RAC to a non-RAC system. Both servers are Windows.
I'm getting the following error:
RMAN> startup force nomount pfile='D:\Oracle\product\10.2.0\TSBAK\database\initt
sbak.ora';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 04/21/2010 14:01:19
RMAN-04014: startup failed: ORA-01078: failure in processing system parameters
RMAN-04017: startup error description: ORA-00119: invalid specification for syst
em parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_TSBAK'This is the listener (I just ran the net configuration wizard)
# listener.ora Network Configuration File: D:\oracle\product\10.2.0\TSBAK\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER_TSBAK =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\TSBAK)
(PROGRAM = extproc)
LISTENER_TSBAK =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSSQL2008B)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)This is the init.ora file
*.__db_cache_size=343932928
*.__java_pool_size=209715200
*.__large_pool_size=8388608
*.__shared_pool_size=209715200
*.__streams_pool_size=8388608
*._optimizer_connect_by_cost_based=false
*.audit_file_dest='D:\Oracle\product\10.2.0\admin\TSBAK\ADUMP'
*.background_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\BDUMP'
*.cluster_database=FALSE
*.cluster_database_instances=1
*.compatible='10.2.0.1.0'
*.control_files='+DATA/tsbak/controlfile/current.260.591973329'
*.core_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\CDUMP'
*.db_block_size=8192
*.db_create_file_dest='+DATA'
*.db_file_multiblock_read_count=16
*.db_files=1024# INITIAL
*.db_name='TS'
*.global_names=FALSE
##clustdb1.instance_name='TS1'
*.instance_number=1
##clustdb1.instance_number=1
*.java_pool_size=209715200
*.job_queue_processes=10
*.large_pool_size=8388608
##clustdb1.local_listener='LISTENER_TSBAK'
*.local_listener='LISTENER_TSBAK'
*.log_archive_dest_1='LOCATION=+DATA/TSBAK/'
*.log_archive_format='ARC%S_%R.%T'
*.log_buffer=8192# INITIAL
*.log_checkpoint_interval=10000
*.max_dump_file_size='10240'# limit trace file size to 10 K each
*.nls_timestamp_format='YYYY-MM-DD HH24:MI.SS.FF'
*.open_cursors=300
*.open_links=4
*.parallel_max_servers=5
*.pga_aggregate_target=203423744
*.processes=250# INITIAL
*.remote_listener='LISTENER_TSBAK'
*.remote_login_passwordfile='EXCLUSIVE'
##clustdb1.remote_login_passwordfile='exclusive'
*.sga_max_size=1317011456
*.sga_target=788529152
*.shared_pool_size=209715200
*.smtp_out_server='mail.mt.net:25'
*.thread=1
##clustdb1.thread=1
*.undo_management='AUTO'# For automatic undo management
*.undo_tablespace='UNDOTBS1'
##clustdb1.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\UDUMP'I am not sure which piece has the error, but would appreciate some help. This is one of the few steps that there isn't much mention of in the guide.okay moving on. I got previous error corrected (the directories hadn't been created yet). Now, I'm facing a new one and I did a copy/paste of the directory string, so I know it's valid.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 04/22/2010 12:13:34
RMAN-04014: startup failed: ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsedthe parameter is:
*.log_archive_dest_1='D:\Oracle\product\10.2.0\TSBAK\database\archive'Can someone see what I'm doing wrong here? -
Restore to new host from tape, can't find autobackups
Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following:
rman target /
RMAN> set dbid 1600196320;
executing command: SET DBID
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 2069720 bytes
Variable Size 67111720 bytes
Database Buffers 83886080 bytes
Redo Buffers 6316032 bytes
RMAN> run
2> {
3> allocate channel t1 device type sbt;
4> send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
5> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup;
6> shutdown abort;
7> }
using target database control file instead of recovery catalog
allocated channel: t1
channel t1: sid=36 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
sent command to channel: t1
Starting restore at 14-MAY-09
channel t1: looking for autobackup on day: 20090514
channel t1: looking for autobackup on day: 20090513
channel t1: looking for autobackup on day: 20090512
channel t1: looking for autobackup on day: 20090511
channel t1: looking for autobackup on day: 20090510
channel t1: looking for autobackup on day: 20090509
channel t1: looking for autobackup on day: 20090508
channel t1: no autobackup in 7 days found
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/14/2009 10:27:37
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
Here is the log file from when the backup was taken on 5/10, that was the last backup of this db.
RMAN> connect target *
2>
3> show all;
4> run {
5> shutdown immediate;
6> startup mount;
7> backup database;
8> alter database open;
9> }
10>
connected to target database: EDI (DBID=1600196320)
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' SEND 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/sapp/oracle/product/10.2/dbs/snapcf_edi.f'; # default
database closed
database dismounted
Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 356515840 bytes
Fixed Size 2070976 bytes
Variable Size 314574400 bytes
Database Buffers 33554432 bytes
Redo Buffers 6316032 bytes
Starting backup at may-10-2009 08:00:19
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: sid=157 devtype=SBT_TAPE
channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
channel ORA_SBT_TAPE_1: starting full datafile backupset
channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
input datafile fno=00007 name=/sdb4/oradata/edi/data01.dbf
input datafile fno=00006 name=/sdb5/oradata/edi/indx01.dbf
input datafile fno=00008 name=/sdb2/oradata/edi/undo01.dbf
input datafile fno=00001 name=/sdb1/oradata/edi/system01.dbf
input datafile fno=00004 name=/sdb2/oradata/edi/sysaux01.dbf
input datafile fno=00002 name=/sdb4/oradata/edi/tools01.dbf
input datafile fno=00005 name=/sdb4/oradata/edi/users01.dbf
channel ORA_SBT_TAPE_1: starting piece 1 at may-10-2009 08:00:20
channel ORA_SBT_TAPE_1: finished piece 1 at may-10-2009 08:08:55
piece handle=2jkeljgl_1_1 tag=TAG20090510T080020 comment=API Version 2.0,MMS Version 5.0.0.0
channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:34
Finished backup at may-10-2009 08:08:55
Starting Control File and SPFILE Autobackup at may-10-2009 08:08:55
piece handle=c-1600196320-20090510-00 comment=API Version 2.0,MMS Version 5.0.0.0
Finished Control File and SPFILE Autobackup at may-10-2009 08:09:50
database opened
Recovery Manager complete.
Do I need to pass in the source host name when configuring the channel? So instead of
send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
i would need,
send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=newhost, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
??Ok, problem solved. Here's the complete process for recovering a non-archivelog mode data base to a new host from a cold backup from veritas 6.5 tape library.
I used the "until time 'SYSDATE-5'" option because the cold backup was taken 5 days ago, and while rman will look back up to 7 days, it was taking forever to search for the autobackup. This let it start searching on the day the backup was made. The original problem I was having was due to the fact that the backup was taken from one host and the restore was going to another and I wasn't sending the old host name as the NB_ORA_CLIENT parameter. So it was searching backups from the new host for the data.
oracle_sandbox1> rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Thu May 14 14:05:02 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> set dbid 1600196320;
executing command: SET DBID
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 2069720 bytes
Variable Size 67111720 bytes
Database Buffers 83886080 bytes
Redo Buffers 6316032 bytes
RMAN>run {
2> allocate channel t1 device type 'SBT_TAPE';
3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
4> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup until time 'SYSDATE-5';
5> }
using target database control file instead of recovery catalog
allocated channel: t1
channel t1: sid=36 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
sent command to channel: t1
Starting restore at 15-MAY-09
channel t1: looking for autobackup on day: 20090510
channel t1: autobackup found: c-1600196320-20090510-00
channel t1: SPFILE restore from autobackup complete
Finished restore at 15-MAY-09
released channel: t1
RMAN> shutdown abort;
Oracle instance shut down
\/\/\\/\/\//\//\/\/\/\/\ edit pfile from another session to remove references to old host
RMAN> startup force nomount pfile='/dbexport/oracle/bckup/test_restore/edipfile_new.ora';
Oracle instance started
Total System Global Area 356515840 bytes
Fixed Size 2070976 bytes
Variable Size 314574400 bytes
Database Buffers 33554432 bytes
Redo Buffers 6316032 bytes
RMAN> run {
2> allocate channel t1 device type 'SBT_TAPE';
3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
4> restore controlfile from autobackup until time 'SYSDATE-5';
5> }
allocated channel: t1
channel t1: sid=156 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
sent command to channel: t1
Starting restore at 14-MAY-09
channel t1: looking for autobackup on day: 20090510
channel t1: autobackup found: c-1600196320-20090510-00
channel t1: control file restore from autobackup complete
output filename=/dbexport/oracle/bckup/test_restore/control01.ctl
output filename=/dbexport/oracle/bckup/test_restore/control02.ctl
Finished restore at 15-MAY-09
released channel: t1
RMAN> alter database mount;
database mounted
RMAN> @reco_2.rman
RMAN> run
2> {
3> allocate channel t1 device type 'SBT_TAPE';
4> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
5> set newname for datafile 1 to '/dbexport/oracle/bckup/test_restore/system01.dbf';
6> set newname for datafile 2 to '/dbexport/oracle/bckup/test_restore/tools01.dbf';
7> set newname for datafile 4 to '/dbexport/oracle/bckup/test_restore/sysaux01.dbf';
8> set newname for datafile 5 to '/dbexport/oracle/bckup/test_restore/users01.dbf';
9> set newname for datafile 6 to '/dbexport/oracle/bckup/test_restore/indx01.dbf';
10> set newname for datafile 7 to '/dbexport/oracle/bckup/test_restore/data01.dbf';
11> set newname for datafile 8 to '/dbexport/oracle/bckup/test_restore/undo01.dbf';
12> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo'' ";
13> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo'' ";
14> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo'' ";
15> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo'' ";
16> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo'' ";
17> restore database;
18> switch datafile all;
19> recover database noredo;
20> }
allocated channel: t1
channel t1: sid=156 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
sent command to channel: t1
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo''
sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo''
sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo''
sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo''
sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo''
Starting restore at 15-MAY-09
channel t1: starting datafile backupset restore
channel t1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /dbexport/oracle/bckup/test_restore/system01.dbf
restoring datafile 00002 to /dbexport/oracle/bckup/test_restore/tools01.dbf
restoring datafile 00004 to /dbexport/oracle/bckup/test_restore/sysaux01.dbf
restoring datafile 00005 to /dbexport/oracle/bckup/test_restore/users01.dbf
restoring datafile 00006 to /dbexport/oracle/bckup/test_restore/indx01.dbf
restoring datafile 00007 to /dbexport/oracle/bckup/test_restore/data01.dbf
restoring datafile 00008 to /dbexport/oracle/bckup/test_restore/undo01.dbf
channel t1: reading from backup piece 2jkeljgl_1_1
channel t1: restored backup piece 1
piece handle=2jkeljgl_1_1 tag=TAG20090510T080020
channel t1: restore complete, elapsed time: 00:04:55
Finished restore at 15-MAY-09
datafile 1 switched to datafile copy
input datafile copy recid=8 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/system01.dbf
datafile 2 switched to datafile copy
input datafile copy recid=9 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/tools01.dbf
datafile 4 switched to datafile copy
input datafile copy recid=10 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/sysaux01.dbf
datafile 5 switched to datafile copy
input datafile copy recid=11 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/users01.dbf
datafile 6 switched to datafile copy
input datafile copy recid=12 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/indx01.dbf
datafile 7 switched to datafile copy
input datafile copy recid=13 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/data01.dbf
datafile 8 switched to datafile copy
input datafile copy recid=14 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/undo01.dbf
Starting recover at 15-MAY-09
Finished recover at 15-MAY-09
released channel: t1
RMAN> **end-of-file**
RMAN> alter database open resetlogs;
database opened
RMAN> exit
Edited by: PktAces on May 18, 2009 8:04 AM
Maybe you are looking for
-
No Audio on some third party apps?
I just recently bought my iPad 2. I loaded most of my apps, music, movies onto the device as you would with any new toy. But now some third party apps do not have audio. I tried Angry Birds RIO HD, Angry Birds, etc. nothing. When I use Garageband and
-
Problem using 2 separate computers with iPhoto
My friend and I have both upgraded to iPhoto 6. We have a problem when she brings a CD of her images to my house. When I load them to my computer I can view them regularly in iPhoto 6. However, when we try to view a slideshow and it gets to her photo
-
Greetings to all, Server app -> Managing SSL Certificate I'm trying to generate a self-signed certificate. No success. At the end of the process, I get the following error "Unknown Error=-2147409850". Can someone help me Thank you from Switzerland
-
Re-editing an exported .mp4
Hi There, I was wondering if I would loose some video quality by re-editing an already exported file? Can it be compared to a "generation" just like with tapes? Thanks.
-
Conversion fichiers cs5 vers cs4
Bonjour, Pour les besoins d'une mairie, j'ai à convertir une pré-maquette réalisée sous Indesign cs5 vers une version cs4. J'ai donc suivi les recommandations de cette page : http://help.adobe.com/fr_FR/indesign/cs/using/WSa285fff53dea4f8617383751001