Database restore problem with BRTOOLS
Hi Experts,
I am tring to migrate an SAP system from host A to host B.
OS: windows server 2003 DB: oracle 10g
Homogeneous migration.
The database were backed up with BRTOOLS (whole database offline backup) to Location L:\QCO_BCK @hostA
After that I moved folder QCO_BCK together with folder "sapbackup" from hostA to hostB, placed under F:\QCO_BCK
And then start to perform "whole database reset" with BRTOOLS, but BRTOOLS can not verify the datafile/control files since they are under different location(hostA and hostB), So, I modified initQCO.ora and the BRTOOLS log file begprhrg.afd, all the relevant directories were changed from L:\ to F:\, after trying again, BRTOOLS performed well, all datafiles, redo logs, control files were copied to the right location, but problems encountered at step 7 - "open database and post-processing", BRTOOLS returns oracle error message:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'H:\oracle\QCO\sapdata5\system_1\SYSTEM.DATA1'
database can be mounted but can not be open.
I think this is because the control file is the old one which records the old file locations in hostA, in hostA, file SYSTEM.DATA1 actually located under H:\ but in hostB, it is copied under D:\
My question is:
1. Is it obligatory by BRTOOLS that the file structure on hostB(new) must be totally the same as hostA(old)? if the file (for example) SYSTEM.DATA1 is located at H:\ of hostA, then, in new hostB, it must be located at the same directory H:\?
2. Is there any workaround to open the database in this situation? like modifing the control file?
Thank you in advance.
Freshman
Hi Sunny and Juan,
Thanks so much for your valuable information for me.
Yes, before restoring the DB, I used oraBRCopy tool to generate CONTROL.SQL and CONTROL.TRC file. But I didn't execute CONTROL.SQL after that. I'd like to know which timepoint should I execute it to generate the new control file? (file directory had already been corrected within CONTROL.SQL). is it before doing step 7: open database and post-processing, I should open a new command windows to enter SQLPlus to execute CONTROL.SQL? I tried to do this:
SQL>conn / as sysdba
Connected to an idle instance.
SQL>@C:\CONTROL.SQL
Oracle instance started
Total system global area xxx bytes
Fixed size xxx
varianble size xxx
Control file created.
SQL>alter database open;
alter database open
Error at line 1
ORA-01589 must use RESETLOGS or NORESETLOGS option for database open.
SQL>alter databse open resetlogs;
Error at line 1
ORA-01092: oracle instance terminated.Disconnected forced.
Strange thing is, in my last trial, when I execute step 7: open database and post processing, BRRECOVER gives me two sub options:
1 ~ Reset logs option (reset_logs) ..[resetlogs]
2 * Open databse command (command) .[alter database open resetlogs]
the final result is:
ORA-01139: Resetlogs option only valid after and incomplete database recovery.
I am not familiar with oracle db and is totally confused/frastrated now... Please kindly help.
Thank you very much
Freshman
Similar Messages
-
Restore Oracle with brtools to a Windows server with different disk structure
Hello gurus,
Is it possible to restore Oracle to a Windows machine that has different disk structure than a source machine?
E.g. source machine had disks C:, D:, E: (on which Oracle data files were distributed), but a target machine has only disk C:
Database is backuped with brtools.Hi
I did some mass changes using a script... to be honest I'm not sure if I did it to restore FROM a different location, or TO a different location.
You could also use Brrestore option -m|-mode to restore the datafiles to a new location.
Check online help -m|-mode - SAP Database Guide: Oracle (BC-DB-ORA-DBA) - SAP Library
For instance the here under command will restore datafiles #10 to #20 to the /tmp directory
brrestore -u / -b beokfyeu.pnd -c -m 10-20=/tmp
You could find datafile ID by querying view dba_data_files
select FILE_ID, FILE_NAME, TABLESPACE_NAME from DBA_DATA_FILES;
Regards -
ITouch Get Stuck and after restore problem with hard disk
some days before the stuck my iTouch begin to give me an error when i connect it to iTunes: the sync starting and when was time of backup it said that isn't possible to backup my iPod because it was disconnected (what?!?! it's plugged in and he see it a few second ago!!)
Then the iTouch stop to run
when i try to turn on it stay on the apple (for about 10 minute then it reboot himself with a white flash)
i've tried to plug in but iTunes never see it
So i try to put the iPod in DFU Mode...after a few attemps iTunes reveal it
First i try with 3.1.2 (2 times) but it give me some error such as "memory unavailable"
Then i have downloaded 3.1.3 and all goes well apart a little error on sync iTunes
today i have put into 1400 contacts with itunes in sync with my company and now iTunes give me this error - I can't sync because memory disk was full
if i go on my iPod -> Setting ->General -> Info -> Space Available -> 0 byte
what file are included in this voice??
how i can fix it??
there was some problem with my hardware?
thanks a lotWelcome to the discussions,
if you connect your ipod to itunes and look at the colored info bar at the bottom of the window, does it show different colors or just one orange "other" part? As you got errors while syncing, there might be corrupt data files on your ipod filling it up. Try to restore again to get rid of the great orange part. After that the "other" section should be reduced to max. of 500MB or less. -
Field Guide 8 - Configuring the Database but problems with user id
Iam just running into problem after problem with Chapter 8 dataproviders when I'am about 2/3 of the way through.
I'am now trying to configure the "Login Data Structure" Page 363. After adding the derbyclient.jar file. Then opening DerbyLogin.java and thereafter clicking "Run" as instructed in the book I get this error.
Error on url jdbc:derby://localhost:21527/sample
ERROR: SQLException: Connection authorization failure occurred. Reason: userid invalid.
org.apache.derby.client.am.SqlException: Connection authorization failure occurred. Reason: userid invalid.
at org.apache.derby.client.net.NetConnection.mapSecchkcd(Unknown Source)
at org.apache.derby.client.net.NetConnection.securityCheckComplete(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseSECCHKRM(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.parseSECCHKreply(Unknown Source)
at org.apache.derby.client.net.NetConnectionReply.readSecurityCheck(Unknown Source)
at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at asg.databuild.DerbyLoginDB.createLoginDatabase(DerbyLoginDB.java:52)
at asg.databuild.DerbyLoginDB.<init>(DerbyLoginDB.java:38)
at asg.databuild.DerbyLoginDB.main(DerbyLoginDB.java:25)
BUILD SUCCESSFUL (total time: 5 seconds)
It's telling me that user ID is invalid. I have no idea what my db user id is or how I can check it with the bundled database as there is no documentation I have found about that. Nor do I even know what I have to do to properly configure this app to properly work with the bundled database as the field guide says absolutely nothing about this!Message was edited by:
tutorialsFound a solution to this problem for anyone else having the same problem please go to thread: http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=99634
-
Hi,
I am trying to restore my macbook air to factory settings. I put my mac into a recovery mode, and then used mac utilities disk utility to erase everything from my mac. When i then tried to reinstall mac os x, i got a massage that said : This item is temporarily unavailable. Ty again later.
Now i have a mac without any os system, and have no clue what to do. Can someone help me with this please ?
Excuse my bad English !
ThanksWell, just start the installation process again.
Just insert the Install CD, boot from the CD by holding down the C key during boot.
I don't remember the Panther steps, but when you are at the installer, there should be an option or customize button that allows you to set the "erase & install" feature. That erases the drive first, then does a fresh install.
If the drive doesn't even show for the installer, choose the Utlilty menu. Select Disk Utility and you should see the drive there. If not, you have a problem with the hardware.
Select the disk and erase, then Quit.
This will lead you back to the installer. You should now be able to install Panther.
Good luck -
Hi I got a problem with my Q10, I made full back up for the phone by black berry link and I make Security wipe
then I tried to restore the back up files but when it starts to restore it stops and I tried how many times, and nothing happens, and I moved the back up files to other PC and its the same
So plz someone help me ({})please some one help me :'(
-
Oracle 8.1.5 database connection problem with WebLogic 5.1
Hello,
the NSAPI integration works, also the JSP files.
But I have still problems with the Jdriver for my Oracle 8.1.5.
I get the message :
Failed to invoke startup class
weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.JdbcStartup
when the WebLogic Server is started.
Any ideas or hints about that?
Thanks in advance
ArminPost the full stacktrace here
Also you might want to post jdbc related questions to weblogic.developer.
interest.jdbc
Kumar
DreamNEON wrote:
Hello,
the NSAPI integration works, also the JSP files.
But I have still problems with the Jdriver for my Oracle 8.1.5.
I get the message :
Failed to invoke startup class
weblogic.jdbc.common.internal.JdbcStartup=weblogic.jdbc.common.internal.JdbcStartup
when the WebLogic Server is started.
Any ideas or hints about that?
Thanks in advance
Armin -
Restore problem with Window's Vista
Laptop (G60-235DX) fell a couple feet and killed the HDD. I installed a new HDD (Seagate Momentous 500gb) and ran the recovery disks which I ordered from HP a couple years ago. The recovery goes fine and then it proceeds to install Windows. However, about 3/4 of the way through the install, I get a runtime error (restore7), which is followed by the message that it did not install correctly, which is then followed by the dreaded blue screen. When the computer reboots, I must start the process over again, as the HDD was never formated correctly in the first place.
Any ideas? I'm worried that this is being caused by physical damage to the computer from the fall, but I don't have any actual evidence to support that.
Thoughts?There might be a problem with the hardware, but don't worry too much. Blue Screens show up to remind us that something is wrong, either on your software or hardware. It is possible that not only your HDD got physically damaged, but some part as well. Try reading the whole Blue Screen to know what causes it. You could use the Pause/Break button in your keyboard for that.
Works every time. -
Database connectivity problem with instant client.
Guys,
I've installed the Oracle instant client basic and ODBC files in my system.
But when I create a system DSN and test the connectivity my database connectivity,it fails with
ORA-12637:Packet receive failed error
My TNSNAMES reads below:
ONDSP101.DIGITALINDIASW.NET =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = namesrv1.xy.zz.com)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ONDSP101)
and my SQLNET as below:
AUTOMATIC_IPC = OFF
TRACE_LEVEL_CLIENT = ON
SQLNET.INBOUND_CONNECT_TIMEOUT=20
NAMES.DEFAULT_DOMAIN = na.pg.com
NAME.DEFAULT_ZONE = na.pg.com
SQLNET.CRYPTO_SEED = "kdg:9yv2$-plo*u6b2x!"
NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
NAMES.PREFERRED_SERVERS =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = TCP.xy.zz.com)
(PROTOCOL = TCP)
(Host = namesrv1.xy.zz.com)
(Port = 1522)
(ADDRESS =
(COMMUNITY = TCP.xy.zz.com)
(PROTOCOL = TCP)
(Host = namesrv2.xy.zz.com)
(Port = 1522)
I've placed my TNSNAMES and SQLNET file in the same folder having the instant client files and I've set my TNSADMIN,LD_LIBRARY_PATH and PATH environmental variable to the folder location.
Note:I'm able to connect to the database using SQLplus.
Thanks,
Bhagat12637, 00000, "Packet receive failed"
// *Cause: A process was unable to receive a packet from another process.
// Possible causes are:
// 1. The other process was terminated.
// 2. The machine on which the other process is running went down.
// 3. Some other communications error occurred.
// *Action: If the cause is not obvious, contact Oracle Customer Support.
These days I very seldom use ODBC for Oracle - most recently it was simply to get Enterprise Architect to "talk" to Oracle. I never used it for my client applications (unlike in the fast distant past), so what I know about ODBC is seriously outdated.
Even so, a few comments. :-)
Have you tried creating a user DSN, in case a system DSN somehow works different environment wise?
The above error description sounds like the original TCP connection was successful (i.e. it is not a host unknown or not reachable error). Subsequent packets seem to fails.
To confirm, run the listener on namesrv1.xy.zz.com with logging enabled and have a look at the listener.log - does it show a connection being accepted/handled from your PC when you use the ODBC DSN?
Have you tried the Oracle ODBC drivers? When getting EA connected I had problems (also with Instant Client) and Microsoft ODBC driver for Oracle. Downloaded and installed the Oracle ODBC driver and it worked just fine first time around.
PS. You should raise this topic on the Instant Client Forum instead. -
Post restoration problem with itunes.
i just yesterday put a currupt file on my ipod. i took it to the apple store and they restored it. i connected the ipod to my usb port, and it updated my entire library to the ipod.
problem:
now i can't delete, add, or play any songs in the ipod link through itunes. so, basically, every song in the library is in the ipod and all i can do about it is edit them through the library. that isn't right. please help.
james
dell pc Windows XPWhen restoring an iPod, it is restored to factory default settings and the iPod factory default preference is automatically update all songs and playlists with iTunes when connected.
Check Deleting songs or playlists from your iPod with instructions for changing your iPod preference setting to manually manage songs and playlists. -
Migration assistant restore problem with time capsule
Hi People,
I have the weirdest of all problems. Let me explain what happend and you will be as amazed as I am now.
======
I have been using a 2TB time capsule for about a year and a half now. Every day for 18 months everything was being backupt. Everything smooth no problem.
My 27" iMac needed a fresh install at home because I have been upgrading from SL to Lion and thing got a bit odd. So this is what I did in a nut shell.
1. Bought a new 27" iMac Quad core with 12 Gb ram etc. (I bought it for my office)
2. At home started up the new iMac and the migration assisant asked me what I wanted.
3. Did a full restore from the TC and all my user data was restore to the new iMac!
=== Hurray so far, evrything worked liked it should.===
This was my test, now I was confident to erase my "old" iMac and do a full Lion reinstall and then use migration assisant to restore all files.
It worked with the new iMac so nothing to loose.
So I erased the new iMac, boxed it again and took it to the office.
Now It was time for my old iMac to be reinstalled.
=====
4. So I erased my "old" iMac.
5. Did a clean Lion install from DvD.
6. Did all software updates (as I had done with the new iMac).
7. started Migration Assistant
8. Pointed to the time capsule and did everything like the day before
9. Got an error message.
=====
***?? I tested this it should work. Now ALL my data is gone. All my movies, honeymoon, kids growing up, etc etc etc etc.
Everything gone gone gone!
So now I can browse to the TC and see the sparsebundle file. It is 1.5TB. I can show package contents and see the files, I can go into the "Bands" dir. and see a bunch of files. But I can not repair, mount, use disk utils with the sparsebundle.
The data must be in the 1.5 Tb file but I have no way of accessing it.
I need some good advice / help from someone because my whole family history is gone at this moment .Woxxxxxx wrote:
My 27" iMac needed a fresh install at home because I have been upgrading from SL to Lion and thing got a bit odd.
That's usually the last thing to try. Depending on what was wrong, simply installing a fresh version of OSX would be likely to fix it. If not, finding and addressing the actual problem would probably be much better than starting with the "nuclear" option.
5. Did a clean Lion install from DvD.
6. Did all software updates (as I had done with the new iMac).
7. started Migration Assistant
It's much better to use Setup Assistant when your Mac first starts up after installing OSX, to prevent Problems after using Migration Assistant.
9. Got an error message.
Was that the "some backups cannot be opened" message? If so, try to repair them, per #A5 in Time Machine - Troubleshooting. -
Problem with brtools when sapdata and logs are on diff drv
Dear SDN,
I have installed was 640 on Windows w/oracle 9.2. When I try to use brtools for instance management it is giving me an error saying that it cannot find the directory "sapbackup" I am guessing that is because when I did the install I chose to put the datafiles in a different location than the logfiles. I would have thought that sapinst would have set the proper env variables, but sapinst didnt set any of them. Any suggestions?
Thanks
Jeremy BakerHi,
Please check the following information.
Environment variables define parameter values used by the Oracle database and BR*Tools.
The database uses the parameter values for many different purposes. BR*Tools also uses the parameter values.
Structure
The following variables are required:
· ORACLE_SID
System ID of the database instance
Example: C11
SAPSID or sapsid refers to the SAP System ID.
DBSID or dbsid refers to the name of the database instance (database instance system ID).
When a single instance is installed, SAPSID and DBSID are the same.
· ORACLE_HOME
Home directory of the Oracle software. This variable no longer needs to be set. If not set, the SAP tools determine its value from the registry.
Standard: . The environment variables only have to be defined individually if directories are used that deviate from the default.
For example: SAPDATA1= F:dataprodsapdata1.
Other environment variables that you can set for BR*Tools:
· BR_LINES
Definition of the number of lines in list menus.
Recommended height: ³ 20 lines.
For more information, see Configuring the Scroll Line Count for BR*Tools.
· BR_LANG
Definition of the message language:
¡ E: English
¡ D: German
· BR_TRACE
Setting the trace function for error analysis.
Source: http://help.sap.com/saphelp_erp2004/helpdata/en/f8/fd0d24bcb8e14487624ff0b836b5b2/frameset.htm
Hope that helps.
Regards,
Siddhesh -
HT4859 Restore problem with replacement iPad
yes but.. the new device was running OS6.0 and the icloud storage was done with OS6.1 and therefore it would not restore to my new ipad. Now I've set it up as a new rather restored, and updated the OS. How can I now restore my stuff?
As you discovered, you can only restore a backup made on a device running the same or lower iOS version as the device your are restoring it to. Now that you've updated your new iPad, you can access your iCloud backup by going to Settings>General>Reset and tapping Erase All Content and Settings. This will erase the iPad and bring you back to the initial setup screens. Go though the setup and you will be given the option to Restore to iCloud Backup again.
-
I bought a 5G 60GB iPod a few days ago, and it has been messing up since I first put songs on it. I have tried to do the 5 R's , but restoring isn't working for me. The other 4 I have been able to do again and again, but everytime I click "Restore" it starts, and I can see the little bar moving, but then it says "There was an error formatting the iPod." or "An error occurred updating or restoring iPod." I make the sure that the iPod is fully charged, and it has only been used with this computer, What Do I Do?!?!?!?!?!?!?!?!
iBook G4 Mac OS X (10.4.6)Hello,
1. Open the disk utility, hope your iPod appears there (left hand side), highlight it
2. Go to Tab “Partition”, click either “Delete” or “Partition”, if fails, skip this step and go to 3
3. Go to Tab “Erase” , choose Volume Format as “MAC OS Extended (Journaled), and click Erase, again if fails, skip it and go to 4
4. Same as step 3, but open the “Security Options....” and choose “Zero Out Data” before click Erase. It will take 1 to 2 hours to complete.
5. Eject your iPod and do a Reset
6. Open the iPod Updater and click “Restore”
If does not work, try the following
Windows users having trouble with their iPods should locate a Mac user. In many cases when an iPod won't show up on a PC that it will show up on the Mac. Then it can be restored. When the PC user returns to his computer the iPod will be recognized by the PC, reformatted for the PC, and usable again. By the way, it works in reverse too. A Mac user often can get his iPod back by connecting it to a PC and restoring it.
Tips
a. It does not matter whether the format is completed or not, the key is to erase (or partly) the corrupted firmware files on the Hard Drive of the iPod. After that, when the iPod re-connected with a computer, it will be recognized as an fresh external hard drive, it will show up on the iPod updater -
Hi ,
when i am trying to Execute Brtools command from start>run>cmd>brtools giving me an error
**This error is on Kernel 620 sap 4.7**
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\m01adm>cd\
C:\>brtools
BR155E No value found for option '-f'
BR377E BRTOOLS call failed
This error is on Kernel 640, ECC6.0****
Microsoft Windows [Version 5.2.379
(C) Copyright 1985-2003 Microsoft
C:\Documents and Settings\Administ
C:\>brtools
'brtools' is not recognized as an
operable program or batch file.
C:\>
kindly help me out with the best solutionMicrosoft Windows [Version 5.2.379
(C) Copyright 1985-2003 Microsoft
C:\Documents and Settings\Administ
C:\>brtools
'brtools' is not recognized as an
operable program or batch file.
C:\>
this is the error i am getting while i execute Brtools in Ecc6.0 , what shd i do
Edited by: gibbs gibbs on Sep 27, 2008 1:02 PM
Maybe you are looking for
-
How to Set Report Region Title Dynamically
I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header: <script type="text/javascript"> //automatic reload IRR function fnc_reloadIRR () { gReport.search('SEARCH'); window.setTimeout(f
-
I got this really great script that loops through some XML files and does stuff based off the content. What I would like to do now is have it repeat when it gets to a certain field. for example my xml file would look like this. <xml> <fileName>nameof
-
I've changed the Apple IDs for iCloud, iMessage and FaceTime. I've turned cellular off. I even changed the cellphone number in the phone settings to a 555 garbage number. I'm guessing the number is some how attached to the SIM card? Is there any
-
Problem in saving BLOB on a manual tabular form
Hi All, I have a manual tabular form which has one column as file browse (blob). When I browse and select some file to save with the row, it saves only the name of the file, not the actual file. The example form is available on apex.oracle.com. The p
-
How do I get my movies in geners on my Ipod?
I have sorted my movies in genres in my itunes library, but how do I get them in genres (as with the music) on my Ipod instead of just as a long list? Is that possible to do?