Skip to Content
author's profile photo Former Member
Former Member

System Copy-Erorr in Generating CONTROL.SQL file

Hi All,

I tried to start DB specific system copy and when try to generate CONTROL.SQL files following error appear,

I added generateFiles option, but still error state that i need to enter it, Any expert idea on why this happen ?

Regards.

============================================================

C:\Documents and Settings\pidadm\Desktop\BrCopy>*ora_br_copy.bat -generateFiles -targetSid DRQ -password Basis12345-listenerPort 1527*

C:\Documents and Settings\pidadm\Desktop\BrCopy>"C:\j2sdk1.4.2_17-x64\bin\java.exe" -showversion -cp ".\.;.\orabrco

py.jar;D:\oracle\product\10.2.0\db_2\jdbc\lib\classes12.jar" com.sap.inst.lib.app.SecureStartup "" com.sap.inst.ora

brcopy.OraBRCopy -oracleHome "D:\oracle\product\10.2.0\db_2" -sourceSid "PID" -generateFiles -targetSid DRQ -passwo

rd Basis12345 -listenerPort 1527

java version "1.4.2_17"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)

Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_17-b06, mixed mode)

Incorrect application options:

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

C:\Documents and Settings\pidadm\Desktop\BrCopy>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2008 at 04:19 PM

    Have you tried with forceLogSwitches option?

    Regards,

    AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2008 at 04:16 PM

    Did you update your brtools?

    Regards,

    Ayax

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      BrTool version is 7000.146.14.42943, Im using below commnd on windows 2003,

      ora_br_copy.bat u2013generateFiles u2013forceLogSwitches u2014targetSid PID u2014password <system's password> u2014listenerPort 1527

      Regards.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2008 at 11:04 AM

    Hi!

    If you keep having problems you can recover the DB manually and use a CONTROL.SQL file that just contains the line 'STARTUP'. Should work fine.

    Kind regards,

    Jörg

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 01:29 PM

    Hi,

    I have the same problem.

    You can edit ora_br_copy.bat file.

    Add " u2013generateFiles u2013password xxx u2013targetSid xxx u2013listenerPort 1527 "in the line:

    "%_JAVA_CMD%" -showversion -cp "%MIG_HOME%\.;%MIG_HOME%\orabrcopy.jar;%ORACLE_HOME%\jdbc\lib\classes12.jar" com.sap.inst.lib.app.SecureStartup "" com.sap.inst.orabrcopy.OraBRCopy -oracleHome "%ORACLE_HOME%" -sourceSid "%ORACLE_SID%" %*

    Then execute ora_br_copy.bat file.

    Best regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 02:12 AM

    now its working.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.