cancel
Showing results for 
Search instead for 
Did you mean: 

Error during creation of CONTROL.trc file using ora_db_copy.sh

Former Member
0 Kudos

Dear all,

I' trying to perform a system copy using the BACKUP/RESTORE procedure. As described in system manual for my NW2004s (SAP BW7.0, Oracle 10g, AIX) i need to generate the the control file structure.

First of all I've update my ORABRCOPY.SAR downloading a new version from SAPNET.

Now, I need to execute the following command

./ora_br_copy.sh -generateFiles -forceLogSwitches -targetSid BWP -password <password> -listenerPort 1527

but I have the following error

Incorrect application options:

At least one from 'generateFiles' or 'forceLogSwitches' options is required.

This is the log file conteined into OraBRCopy.console.log

os.name = AIX

os.arch = ppc64

os.version = 5.3

cpu.count = 4

sun.cpu.endian =

sun.arch.data.model = 64

sun.cpu.isalist =

file.encoding = ISO8859-1

file.separator = /

path.separator = :

line.separator = LF

user.name = orabwt

user.home = /home/orabwt

user.dir = /export/appo

user.language = en

user.country = US

java.version = 1.4.2

java.vendor = IBM Corporation

java.vendor.url = http://www.ibm.com/

java.vm.version = 1.4.2

java.vm.vendor = IBM Corporation

java.vm.name = Classic VM

java.vm.info = J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20090307 (SR13) (JIT enabled: jitc)

java.compiler = jitc

java.class.version = 48.0

java.home = /usr/java14_64/jre

java.ext.dirs = /usr/java14_64/jre/lib/ext

java.class.path = ./.:./orabrcopy.jar:/oracle/BWT/102_64/jdbc/lib/classes12.jar

java.library.path = /usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/sap/BWT/SYS/exe/run:/oracle/BWT/102_64/lib:/us

r/java14_64/jre/bin/sovvm:/usr/lib

java.io.tmpdir = /tmp/

Incorrect application options:

At least one from 'generateFiles' or 'forceLogSwitches' options is required.

Thanks a lot!

Marzia

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member434558
Discoverer
0 Kudos

I solved this "bug" by typing the commnand instead of copying and pasting from sap's pdf. Weird but worked for me.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Command should be like this:

./ora_br_copy.sh u2013generateFiles u2013targetSid <TARGET_DBSID> -listenerPort 1527 -password <SYSTEM useru2019s password>

Thanks

Sunny

JPReyes
Active Contributor
0 Kudos

Theres a similar case here,

Please search before posting

Regards

Juan