Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 08, 2008 at 04:19 PM

    Have you tried with forceLogSwitches option?

    Regards,

    AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 09, 2008 at 04:16 PM

    Did you update your brtools?

    Regards,

    Ayax

    Add 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.

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 23, 2008 at 02:12 AM

    now its working.

    Add comment
    10|10000 characters needed characters exceeded