Oracle 11.2 vs ORA_BR_COPY

Hi!
After upgrading your Oracle database to 11.2 the ora_br_copy.sh doesn't work any more. Did any of you get it fixed or working?
I'm running ORACLE 11.2.0.2 + HP-UX 11.31.
cheers

Markus,
The problem is that ORABRCOPY is not prepared to run with ORACLE 11g, as fas as I could check.
Currently we have the following scripts:
Hello,
Sorry for answering so late. The problem is that ORABRCOPY is not prepared to work with ORACLE 11g, at least in HP-UX. With oracle 11g java classes availability changes.
Below you can see the scripts we use to generate the control file with ORACLE 10g and the adapted for ORACLE 11g.
Apparently classes12.jar doesn't exist in ORACLE 11g, but if you try to get it in ORACLE it's useless.
Here's the scripts I0m using in ORACLE 10g (and this was working fine) and the adapted for ORACLE 11g (the first version...).
*****ORACLE 10g
create_control.csh
#!/bin/csh
setenv LD_LIBRARY_PATH /oracle/XXX/102_64/lib32
setenv JAVA_HOME /opt/java1.5
cd /usr/local/sap/systemcopy/XXX-source
./ora_br_copy.sh -generateFiles -targetSid XXX -password xxxxxx
cp CONTROL.SQL /oracle/XXX/sapreorg
******ORACLE 11G
create_control.csh.new11
#!/bin/csh
setenv LD_LIBRARY_PATH /oracle/XXX/112_64/lib
setenv JAVA_HOME /opt/java1.5
cd /usr/local/sap/systemcopy/XXXX-source
./ora_br_copy.sh -generateFiles -targetSid XXX -password xxxxxxx
cp CONTROL.SQL /oracle/XXX/sapreorg
or
pg create_control.csh.new11
#!/bin/csh
setenv LD_LIBRARY_PATH /oracle/XX/112_64/lib:/oracle/client/92x_64/lib
setenv JAVA_HOME /opt/java1.5
cd /usr/local/sap/systemcopy/XXX-source
./ora_br_copy.sh -generateFiles -targetSid XXXX-password xxxxx
cp CONTROL.SQL /oracle/XXX/sapreorg
In ORACBRCOPY.console.log we get the following error messages:
Required system resources are missing or not available:
  Error loading Oracle JDBC driver.
or
Required system resources are missing or not available:
  Cannot establish connection to Oracle database as user SYSTEM using URL 'jdbc:oracle:oci8:@':
no ocijdbc9 in java.library.path.
Cheers,

Similar Messages

  • Problem with ora_br_copy.sh

    My source ABAP+Java based DBCI is in a UNIX cluster environment. When I run ora_br_copy.sh to create CONTROL.SQL file, it gives me the following error,
      <i>Required system resources are missing or not available:
      Oracle listener is not started on port 6808;
      Cannot establish connection to Oracle database as SYSTEM user:
      Io exception: The Network Adapter could not establish the connection.</i>
    My listner is running and so is the database. As orasid if I issue sqlplus system/password, it connects fine at port 6808 but ora_br_copy.sh is failing and I believe because it uses local hostname which is different then the cluster hostname.
    Is there a way to provide cluster hostname to the ora_br_copy.sh similar to SAPINST where you can set environment variable SAPINST_USE_HOSTNAME?

    First, thanks for reply...
    And here are the details you have asked for...
    The ora_br_copy.sh creates OraBRCopy.console.log and the contents of the log is as follows,
      Oracle listener is not started on port 6808;
      Cannot establish connection to Oracle database as SYSTEM user:
      Io exception: The Network Adapter could not establish the connection.
    This happens both as ora<sid> and <sid>adm..
    The contents of the ora_br_copy.sh is as below,
    #!/bin/sh
    Oracle Backup/Restore startup on UNIX
    Make sure prerequisite ORACLE_HOME environment variable is set
    if [ -z "$ORACLE_HOME" ]; then
      echo "The ORACLE_HOME environment variable is not defined."
      echo "This environment variable is needed to run this program."
      exit 1
    fi
    Make sure prerequisite ORACLE_SID environment variable is set
    if [ -z "$ORACLE_SID" ]; then
      echo "The ORACLE_SID environment variable is not defined."
      echo "This environment variable is needed to run this program."
      exit 1
    fi
    Make sure prerequisite JAVA_HOME environment variable is set
    if [ -z "$JAVA_HOME" ]; then
      echo "The JAVA_HOME environment variable is not defined."
      echo "This environment variable is needed to run this program."
      exit 1
    fi
    set -x
    "$JAVA_HOME"/bin/java -showversion -cp ".:orabrcopy.jar:$ORACLE_HOME/jdbc/lib/classes12.jar" com.sap.inst.orabrcopy.OraBRCopy -oracleHome "$ORACLE_HOME" -sour
    ceSid "$ORACLE_SID" "$@"

  • System Copy/ Oracle Backup/Restore as part of migrating from 32 to 64-bit

    Source system (I386): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000, Oracle 10.2.0.4, non-unicode
    Target system (x86-64/AMD64): R3E47 Ext Set 2.00 SAP_BASIS 620 Kernel 640 Windows 2000 Oracle 10.2.0.4, non-unicode
    Am using method System Copy/ Oracle Backup/Restore to migrate from 32 to 64 bit (HOM System Copy).
    Actions on source system:
    a) Upgrade from 9.2.0.7 to Oracle 10.2.0.4
    b) Used ora_br_copy.bat to generate CONTROL.SQL and init<sid>.ora
    c) Switched logfiles
    d) Performed offline backup
    Actions on target system:
    a) Installed Oracle 10.2.0.1 and patched it to 10.2.0.4
    b) Used CD 51033746 "6.20/6.40 based products Installation Master (Edition May 2008)" to install the CI
    c) Started installation of the DB instance selecting System Copy/ Oracle Backup/Restore (same <SID> for source and target systems)
    Relevant input parameters used:
    Database schema: SAPR3
    Database character set: US7ASCII
    d) When SAPINST stopped to allow for restoring of datafiles, logs and init<sid.ora>:
    - copied datafiles and logs to the usual place
    - copied CONTROL.SQL (edited to include utilrp.sql and utlrp.sql for the migration from 32 to 64) to the DB-instance intallation . directory.
    - copied generated init<SID>.ora to the <ORACLE_HOME>\database
    e) Resumed SAPINST.
    David Byrne in a previous post suggested: "check your oracle alert file in case there are errors there you may need to update the word size for the 64bit install. Errors like this in the oracle alert file would suggest that.,
    ORA-12012
    ORA-06544: PL/SQL: internal error, arguments: [ORA-06544: PL/SQL: internal error, arguments: 56319], [, ], [, ], [, ], [
    ORA-06553"
    Well, I am getting ORA-06553: PLS-801: internal error [56319] but then my edited CONTROL.SQL (which is mainly a CREATE CONTROLFILE as it would be obtained with a ...BACKUP CONTROLFILE TO TRACE) includes at the end this:
    shutdown immediate
    startup upgrade
    spool utlirp.log
    @?/rdbms/admin/utlirp.sql
    spool off
    Shutdown immediate
    Startup
    Spool utlrp.log
    @?/rdbms/admin/utlrp.sql
    Spool off
    exit
    which is supposed to do just that... (I think)
    Help, anyone?

    > Trying to cheer me up, are you?
    No
    > It is NOT free that reorganization! Quite expensive, actually, paid for in time! But you're right... the database needed a reorg anyway :-\
    True, not "free" - it takes time but the data will be nicely aligned then
    > And why would I have to reconfigure all those 10.2 features? Everything's either in the database or init<sid>.ora, ain't it? And my database is a pretty 10.2.0.4 with all those nice features already activated...
    No - not really auotmatically if you upgraded from 9.2 And "init<SID>.ora" is past, you nowadays use "spfile" If, of course, e. g. Automatic Undo was activated in 9.2 then it's there of course in 10.2 too.
    > One sticky point... I haven't really read the r3load procedure yet and I will before I import, but... I would say I don't have to do anything about the 32->64 bit, right? I mean, it should behave properly while reloading on 64-bit...
    The exported content is about 10 % of the size of the system, it's database and OS independent so yes, you can import it nicely on 32bit. Another tip: make sure you don't just use the default configurations for R3load, it will take a HUGE amount of time. Use the package splitter (builtin-in in sapinst) so you get a much higher parallelism when importing.
    Markus

  • Homogeneous System copy for Netweaver 2004S SR1 ABAP+JAVA- Oracle/windows

    Hi All,
    I am planning to do Homogeneous System copy of our production system to New Test system which SID is different from production system. I don't want to do system copy through SAPinst(R3load) because I cannot down our production server. I want to create the New test system from the offline back.
    I have already installed our new system. I want  to do system copy through Oracle-Specific Procedure as mentioned in the system copy documents.
    Could you please tell me how to do sytem copy step by step and how to change the SID.
    Thanks in advance.
    Harish

    Hi Rohit,
    When I am trying to create the control files then I am getting following errors :
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in identifying file
    '%ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%.ORA'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified
    As per the oracle procedure I have deleted all three control files from the target system. after copied the sapdata files,origlogA,mirorlogB. I have also copied the control.sql and init<target_SID>.ora file which I created on the source system with the compand ora_br_copy.
    I have copied control.sql. in the install_dir of the and init<target_SID>.ora in \oracle\SID\102\database directory.
    could you please let me know why this error is coming or you could send me document if you have.
    Thanks in advance.
    Harish

  • Ora_br_copy  not creating control file

    Hi Everybody
    In order to run homogeneous system copy i am running ora_br_copy,using these option looks like it is running but it doesn't create control.sql file
    ora_br_copy.bat -generatefiles -forceLogSwitches -targetSID SMD  -password ********  -listnerport 1527
    and log file is this
    INFO: 2008-06-12 11:11:53
    Oracle Backup/Restore Copy tool is started.
    CONFIG: 2008-06-12 11:11:53
    Application options:
    forceLogSwitches=
    generatefiles=
    listnerport=1527
    oracleHome=H:\oracle\SMD\102
    password=*****
    sourceSid=smd
    targetSID=SMD
    INFO: 2008-06-12 11:11:53
    Executing Oracle database shutdown.
    INFO: 2008-06-12 11:12:00
    Oracle database shutdown output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:11:53 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:00
    Executing Oracle database startup.
    INFO: 2008-06-12 11:12:07
    Oracle database startup output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:12:00 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 2634022912 bytes
    Fixed Size              2055872 bytes
    Variable Size           1459618112 bytes
    Database Buffers      1157627904 bytes
    Redo Buffers             14721024 bytes
    Database mounted.
    Database opened.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:08
    Forcing log switches is successfully completed.
    INFO: 2008-06-12 11:12:08
    Executing Oracle database shutdown.
    INFO: 2008-06-12 11:12:13
    Oracle database shutdown output:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 12 11:12:08 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected.
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    INFO: 2008-06-12 11:12:13
    Oracle Backup/Restore Copy tool is stopped.

    Hi Everybody
    This problem was due to ora_br_bopy tool itself,I download new tool from Service Market Place and it is working fine,I am able to create control.sql file
    Hardeep

  • Issue when executing ora_br_copy.bat

    Hi All,
    When i tried to execute ora_br_copy.bat u2013generateFiles u2013forceLogSwitches u2014targetSid SID u2014password pwd -listenerPort 1527
    we are getting a error saying that
    D:\Export for SID\orabrcopy>"C:\j2sdk1.4.2_12\bin\java.exe" -showversion -cp ".\
    .;.\orabrcopy.jar;D:\ORACLE\Sourcesid\102\jdbc\lib\classes12.jar" com.sap.inst.lib.app
    .SecureStartup "" com.sap.inst.orabrcopy.OraBRCopy -oracleHome "D:\ORACLE\sourcesid\10
    2" -sourceSid "sourcesid" -generateFiles -forceLogSwitches -targetSid <targetsid> -password pwd -listenerPort 1527
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    Incorrect application options:
    At least one from 'generateFiles' or 'forceLogSwitches' options is required.
    Have already referred the thread but still its not working .
    System Copy-Erorr in Generating CONTROL.SQL file

    Hi Sunil,
    Pasted below the log.
    os.name = Windows 2003
    os.arch = x86
    os.version = 5.2
    cpu.count = 2
    sun.cpu.endian = little
    sun.arch.data.model = 32
    sun.cpu.isalist = pentium i486 i386
    file.encoding = Cp1252
    file.separator = \
    path.separator = ;
    line.separator = CR/LF
    user.name = ql2adm
    user.home = C:\Documents and Settings\ql2adm
    user.dir = D:\Export for DL0\orabrcopy
    user.language = en
    user.country = AU
    java.version = 1.4.2_12
    java.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    java.vm.version = 1.4.2_12-b03
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.info = mixed mode
    java.compiler =
    java.class.version = 48.0
    java.home = C:\j2sdk1.4.2_12\jre
    java.ext.dirs = C:\j2sdk1.4.2_12\jre\lib\ext
    java.class.path = .\.;.\orabrcopy.jar;D:\ORACLE\QL2\102\jdbc\lib\classes12.jar
    java.library.path = C:\j2sdk1.4.2_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\ORACLE\QL2\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA1\BMCSOF1\common\globalc\bin\Windows-x86;C:\PROGRA1\BMCSOF1\Patrol3\bin;C:\Program Files\BMC Software\Patrol3\BEST1\7.3.00\bgs\bin;D:\ORACLE\QL2\102\OPatch;D:\usr\sap\QL2\SYS\exe\uc\NTI386
    java.io.tmpdir = C:\WINDOWS\TEMP\1\
    Incorrect application options:
    At least one from 'generateFiles' or 'forceLogSwitches' options is required.

  • Error while invoking a WS-Security secured web service from Oracle BPEL..

    Hi ,
    We are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
    For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
    but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
    &ldquo;Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message&rdquo;
    Any pointers in this regard will be highly appreciated.
    Thanks,
    Saurabh

    Hi James,
    Thanks for the quick reply.
    We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
    But on the BPEL console, we are getting the error as mentioned.
    Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
    Thanks,
    Saurabh

  • Error while running a customize report in oracle ebs

    Hi ..
    can anybody suggest how to solve the follwing error while running a customize report in oracle ebs?
    XXIFMS: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    Current system time is 03-JUN-2011 11:09:24
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_DATE_FROM='2010/04/01 00:00:00'
    P_DATE_TO='2011/06/03 00:00:00'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    stat_low = 9
    stat_high = 0
    emsg:was terminated by signal 9
    ld.so.1: rwrun: fatal: librw.so: open failed: No such file or directory
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program was terminated by signal 9
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1068011.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1068011 on node D0005 at 03-JUN-2011 11:09:24.
    Post-processing of request 1068011 failed at 03-JUN-2011 11:09:24 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-JUN-2011 11:09:24

    Please post the details of the application release, database version and OS.
    Is the issue with this specific concurrent program?
    Can you find any errors in the CM/OPP log files?
    Please see if these docs help.
    On R12.1.1/Solaris Platform While Generating Oracle Reports Files Failed With Error " ld.so.1: rwconverter: fatal: librw.so: open failed: No such file or directory [ID 1067786.1]
    Apps UPG Fail With Error Ld.So.1: Rwserver: Fatal: Librw.So [ID 961222.1]
    Thanks,
    Hussein

  • HELP! Can not install Oracle 8.1.5 w/ RedHat 6.1!

    I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1. The
    Oracle installation script generates several errors. I have
    tried several attempts, using different options, but they all
    generate errors.
    Please help. The Oracle Installation scripts appear to be very
    buggy... or perhaps they are incompatible with the standard
    RedHat 6.1 release. Either way, it is very frustrating.
    I have documented one of my (failed) installation attempts below.
    Does anyone have any words of wisdom?
    I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB RAM,
    a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
    2.2.12-2 kernel). RedHat was installed using the standard "Gnome
    Workstation" configuration.
    The Oralce CD is labeled:
    "Oralce 8i Enterprise Edition
    Release 8.1.5
    for Linux
    (c) Oracle Corporation 1999"
    I got this CD about one week ago at Oracle OpenWorld '99 in Los
    Angeles... it should be their "latest & greatest" version so far.
    1. Pre-Installation and ./runInstall
    I created an "oracle" Unix account w/ groups "oinstall" (the
    primary group) and "dba" (a secondary group).
    I created directories /u01 through /u04, belonging to oracle.
    I setup .cshrc and sourced it, containing:
    umask 022
    setenv DISPLAY `hostname`:0
    xhost +
    setenv ORACLE_BASE /u01/app/oracle
    setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
    setenv ORACLE_SID cprtest
    setenv PATH ${ORACLE_HOME}/bin:${PATH}
    setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
    setenv NLS_LANG US7ASCII
    I downloaded jre116_v5 and installed to /usr/local/jre.
    Finally, I executed (from the "oracle" Unix account):
    cd /mnt/cdrom
    ./runInstall
    Problem: I got the error (from ./runInstall):
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre.
    Please wait...
    Error in CreateOUIProcess(): -1
    : Bad address
    Workaround: Executed the following commands instead:
    cd /mnt/cdrom/install/linux
    ./runIns.sh
    3. runIns.sh and root.sh
    I selected the following options (from ./runIns.sh):
    Source: /mnt/cdrom/stage/products.jar
    Destination: /u01/app/oracle/product/8.1.5
    Oracle 8i Enterprise Edition 8.1.5.0.0
    Typical (585MB)
    Installable Components: Oralce Intelligent Agent 8.1.5.0.0
    Global Database Name: cprtest.parkrussell.com
    SID: cprtest
    Directory for Database Files: /u02
    Then (when instructed by ./runIns.sh), I attempted to execute
    (from the
    "root" Unix account):
    cd /u01/app/oracle/product/8.1.5
    ./root.sh
    Problem: I got the error:
    "bash: ./root.sh: Permission denied"
    The execute bit was not set.
    Workaround: I executed:
    chmod a+x root.sh
    ./root.sh
    5. Configuration Tools
    The Oracle Installer (./runIns.sh) attempted to execute:
    A. Net8 Configuration Agent
    B. Oracle Database Configuration Agent
    Problem: The "Oracle Database Configuration Agent" failed with
    the following error message:
    "One or more tools have failed. It is recommended but not
    required that these tools succeed for this installation.
    You can now select these tools, read its details to examine
    why they have failed, fix those problems, and retry them.
    Or, you can click "Next" to continue."
    When I selected the "Oracle Database Configuration Agent" for
    more info, I got the following additional details (as the cause
    of the error):
    "A required command line argument is missing."
    The log file
    "/u01/app/oracle/oraInventory/logs/installActions.log" recorded:
    "Command which is being spawned is /usr/local/jre/bin/jre
    -Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
    -classpath
    /usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-3_1_10.jar:/u01/app/oracle/produc
    /8.1.5/jlib/share-1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAssist.jar:/u01/a
    p/oracle/product/8.1.5/assistants/jlib/jnls.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/ACC.
    AR:/u01/app/oracle/product/8.1.5/jlib/help-3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice
    4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u01/app/oracle/product/8.1.5/jlib/n
    tcfg.jar:/usr/local/jre/lib/i18n.jar
    DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
    NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos NO_VALUE
    /seedloc NO_VALUE /sid cprtest /orahome
    /u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
    /u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
    /gdbName cprtest.parkrussell.com
    Invalid Exit Code. The following result code will be used for
    configuration tool: 1
    Configuration tool Oracle Database Configuration Assistant
    failed"
    Workaround: There is obviously nothing I can do to fix this
    problem. It appears to be an internal bug in ./runIns.sh.
    Therefore, I selected "Next" and executed "dbassist" directly.
    6. dbassist
    I executed:
    dbassist
    Problem: I got the following error:
    "JNLS Execution:oracle.ntpg.jnls.JNLSException
    Unable to find any National Character Sets. Please
    check your Oracle installation."
    Workaround: Press "OK" and ignore the error.
    7. dbassist (cont.)
    I selected the following options:
    Create database
    Typical
    Copy existing database files from the CD
    Global Database Name: cprtest.parkrussell.com
    SID: cprtest
    Problem: I got the following error:
    "CD-ROM drive not detected on this system.
    Database not created."
    (Note: I've been running the installation scripts from the
    CDROM drive this entire time. "df" shows the CDROM drive
    mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
    Workaround: Abort (which generated the additional error: "Unable
    to create database. DBCA-00003: No CD-ROM drive detected.") and
    run dbassist again, this time using different parameters.
    8. dbassist, again
    I executed "dbassist" again and selected the following options:
    Create database
    Typical
    Create new database files
    Hybrid
    Concurrently connected users: 5
    Options: Oralce interMedia, Oralce JServer, and iM demos
    Global Database Name: cprtest2.parkrussell.com
    SID: cprtest2
    Create database now
    Problem: I got the following error:
    "ORA-01012: not logged on"
    Workaround: Try, try again.
    9. dbassist, one last time
    Executed "dbassist" once more and selected the following options:
    Create database
    Typical
    Create new database files
    Hybrid
    Concurrently connected users: 5
    Options: Oralce interMedia, Oralce JServer, and interMedia
    demos
    Global Database Name: cprtest3.parkrussell.com
    SID: cprtest3
    Output creation script
    Then, I executed (from the "oracle" Unix account):
    cd /u01/app/oracle/product/8.1.5/install
    setenv ORACLE_SID cprtest3
    ./sqlcprtest3.sh
    Problem: I got the following output:
    "Oracle Server Manager Release 3.1.5.0.0 - Production
    (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    SVRMGR> SVRMGR> Connected.
    SVRMGR> ORACLE instance started.
    ORA-01012: not logged on
    SVRMGR> 2> 3> 4> 5> 6> 7>
    8> 9> CREATE DATABASE "cprtest3"
    ORA-01012: not logged on
    SVRMGR> Disconnected."
    Workaround: Beats me.
    10. sqlplus
    I attempted to execute sqlplus, but got the following error
    message:
    "/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission denied."
    The execute bit was not set.
    Workaround: I executed:
    chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
    sqlplus
    I gave up for now... there were just too many things wrong with
    this installation, starting with the very first command I was
    supposed to execute (./runInstaller).
    I can't fathom why Oracle's installation script has so many bugs.
    Am I just doing something terribly wrong?
    Please help.
    null

    I'm using enlightenment version 0.15.5-41, which is more recent
    than the 0.15.5-37 version (containing the Oracle installer
    patch) that you recommended. Unfortunately, it fails when using
    this version.
    I also tried installing Oracle using twm, with enlightenment
    disabled. This didn't help either.
    Furthermore, the errors that I'm encountering in the OUI are
    not just toward the end of the installation. They happen from
    the very beginning, right after I enter "./runInstall", and
    continue every step of the way.
    Calvin Mitchell (guest) wrote:
    : Check out my thread: "Assistants Failure Toward end of Oracle
    : Install" to see where i've gone with this.
    : if your running Enlightenment as your window manager you need
    to
    : upgrade to 0.15.5-37, that will solve the OUI error.
    : Let me know if you solve any of your problems.
    : Chris Russell (guest) wrote:
    : : I can not get Oracle 8.1.5 to install onto Linux RedHat 6.1.
    : The
    : : Oracle installation script generates several errors. I have
    : : tried several attempts, using different options, but they all
    : : generate errors.
    : : Please help. The Oracle Installation scripts appear to be
    very
    : : buggy... or perhaps they are incompatible with the standard
    : : RedHat 6.1 release. Either way, it is very frustrating.
    : : I have documented one of my (failed) installation attempts
    : below.
    : : Does anyone have any words of wisdom?
    : : I am installing Oracle onto a Dell Latitude CPi PC w/ 128MB
    : RAM,
    : : a 366MHz Pentium II, and RedHat 6.1 (using the standard Linux
    : : 2.2.12-2 kernel). RedHat was installed using the standard
    : "Gnome
    : : Workstation" configuration.
    : : The Oralce CD is labeled:
    : : "Oralce 8i Enterprise Edition
    : : Release 8.1.5
    : : for Linux
    : : (c) Oracle Corporation 1999"
    : : I got this CD about one week ago at Oracle OpenWorld '99 in
    Los
    : : Angeles... it should be their "latest & greatest" version so
    : far.
    : : 1. Pre-Installation and ./runInstall
    : : I created an "oracle" Unix account w/ groups "oinstall" (the
    : : primary group) and "dba" (a secondary group).
    : : I created directories /u01 through /u04, belonging to oracle.
    : : I setup .cshrc and sourced it, containing:
    : : umask 022
    : : setenv DISPLAY `hostname`:0
    : : xhost +
    : : setenv ORACLE_BASE /u01/app/oracle
    : : setenv ORACLE_HOME ${ORACLE_BASE}/product/8.1.5
    : : setenv ORACLE_SID cprtest
    : : setenv PATH ${ORACLE_HOME}/bin:${PATH}
    : : setenv LD_LIBRARY_PATH ${ORACLE_HOME}/lib
    : : setenv NLS_LANG US7ASCII
    : : I downloaded jre116_v5 and installed to /usr/local/jre.
    : : Finally, I executed (from the "oracle" Unix account):
    : : cd /mnt/cdrom
    : : ./runInstall
    : : Problem: I got the error (from ./runInstall):
    : : Initializing Java Virtual Machine from
    : /usr/local/jre/bin/jre.
    : : Please wait...
    : : Error in CreateOUIProcess(): -1
    : : : Bad address
    : : Workaround: Executed the following commands instead:
    : : cd /mnt/cdrom/install/linux
    : : ./runIns.sh
    : : 3. runIns.sh and root.sh
    : : I selected the following options (from ./runIns.sh):
    : : Source: /mnt/cdrom/stage/products.jar
    : : Destination: /u01/app/oracle/product/8.1.5
    : : Oracle 8i Enterprise Edition 8.1.5.0.0
    : : Typical (585MB)
    : : Installable Components: Oralce Intelligent Agent 8.1.5.0.0
    : : Global Database Name: cprtest.parkrussell.com
    : : SID: cprtest
    : : Directory for Database Files: /u02
    : : Then (when instructed by ./runIns.sh), I attempted to execute
    : : (from the
    : : "root" Unix account):
    : : cd /u01/app/oracle/product/8.1.5
    : : ./root.sh
    : : Problem: I got the error:
    : : "bash: ./root.sh: Permission denied"
    : : The execute bit was not set.
    : : Workaround: I executed:
    : : chmod a+x root.sh
    : : ./root.sh
    : : 5. Configuration Tools
    : : The Oracle Installer (./runIns.sh) attempted to execute:
    : : A. Net8 Configuration Agent
    : : B. Oracle Database Configuration Agent
    : : Problem: The "Oracle Database Configuration Agent" failed
    with
    : : the following error message:
    : : "One or more tools have failed. It is recommended but not
    : : required that these tools succeed for this installation.
    : : You can now select these tools, read its details to
    examine
    : : why they have failed, fix those problems, and retry them.
    : : Or, you can click "Next" to continue."
    : : When I selected the "Oracle Database Configuration Agent" for
    : : more info, I got the following additional details (as the
    cause
    : : of the error):
    : : "A required command line argument is missing."
    : : The log file
    : : "/u01/app/oracle/oraInventory/logs/installActions.log"
    : recorded:
    : : "Command which is being spawned is /usr/local/jre/bin/jre
    : : -Duser.dir=/u01/app/oracle/product/8.1.5/assistants/dbca/jlib
    : : -classpath
    /usr/local/jre/lib/rt.jar:/u01/app/oracle/product/8.1.5/jlib/ewt-
    : 3_1_10.jar:/u01/app/oracle/product/8.1.5/jlib/share-
    1_0_6.jar:/u01/app/oracle/product/8.1.5/assistants/dbca/jlib/DBAs
    sist.jar:/u01/app/oracle/product/8.1.5/assistants/jlib/jnls.jar:/
    u01/app/oracle/product/8.1.5/assistants/jlib/ACC.JAR:/u01/app/ora
    : cle/product/8.1.5/jlib/help-
    : 3_0_7.jar:/u01/app/oracle/product/8.1.5/jlib/oracle_ice-
    4_03_3.jar:/u01/app/oracle/product/8.1.5/jlib/HotJavaBean.jar:/u0
    1/app/oracle/product/8.1.5/jlib/netcfg.jar:/usr/local/jre/lib/i18
    : n.jar
    : : DBCreateWizard /createtype seed /numusers NO_VALUE /apptype
    : : NO_VALUE /cartridges NO_VALUE /options NO_VALUE /demos
    NO_VALUE
    : : /seedloc NO_VALUE /sid cprtest /orahome
    : : /u01/app/oracle/product/8.1.5 /orabase /u01/app/oracle /dbloc
    : : /u02 /clususer NO_VALUE /cluspswd NO_VALUE /nodeinfo NO_VALUE
    : : /gdbName cprtest.parkrussell.com
    : : Invalid Exit Code. The following result code will be used
    for
    : : configuration tool: 1
    : : Configuration tool Oracle Database Configuration Assistant
    : : failed"
    : : Workaround: There is obviously nothing I can do to fix this
    : : problem. It appears to be an internal bug in ./runIns.sh.
    : : Therefore, I selected "Next" and executed "dbassist"
    directly.
    : : 6. dbassist
    : : I executed:
    : : dbassist
    : : Problem: I got the following error:
    : : "JNLS Execution:oracle.ntpg.jnls.JNLSException
    : : Unable to find any National Character Sets. Please
    : : check your Oracle installation."
    : : Workaround: Press "OK" and ignore the error.
    : : 7. dbassist (cont.)
    : : I selected the following options:
    : : Create database
    : : Typical
    : : Copy existing database files from the CD
    : : Global Database Name: cprtest.parkrussell.com
    : : SID: cprtest
    : : Problem: I got the following error:
    : : "CD-ROM drive not detected on this system.
    : : Database not created."
    : : (Note: I've been running the installation scripts from the
    : : CDROM drive this entire time. "df" shows the CDROM drive
    : : mounted on /mnt/cdrom. "ls /mnt/cdrom" works too.)
    : : Workaround: Abort (which generated the additional error:
    : "Unable
    : : to create database. DBCA-00003: No CD-ROM drive detected.")
    : and
    : : run dbassist again, this time using different parameters.
    : : 8. dbassist, again
    : : I executed "dbassist" again and selected the following
    options:
    : : Create database
    : : Typical
    : : Create new database files
    : : Hybrid
    : : Concurrently connected users: 5
    : : Options: Oralce interMedia, Oralce JServer, and iM demos
    : : Global Database Name: cprtest2.parkrussell.com
    : : SID: cprtest2
    : : Create database now
    : : Problem: I got the following error:
    : : "ORA-01012: not logged on"
    : : Workaround: Try, try again.
    : : 9. dbassist, one last time
    : : Executed "dbassist" once more and selected the following
    : options:
    : : Create database
    : : Typical
    : : Create new database files
    : : Hybrid
    : : Concurrently connected users: 5
    : : Options: Oralce interMedia, Oralce JServer, and interMedia
    : : demos
    : : Global Database Name: cprtest3.parkrussell.com
    : : SID: cprtest3
    : : Output creation script
    : : Then, I executed (from the "oracle" Unix account):
    : : cd /u01/app/oracle/product/8.1.5/install
    : : setenv ORACLE_SID cprtest3
    : : ./sqlcprtest3.sh
    : : Problem: I got the following output:
    : : "Oracle Server Manager Release 3.1.5.0.0 - Production
    : : (c) Copyright 1997, Oracle Corporation. All Rights
    Reserved.
    : : Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    : : With the Partitioning and Java options
    : : PL/SQL Release 8.1.5.0.0 - Production
    : : SVRMGR> SVRMGR> Connected.
    : : SVRMGR> ORACLE instance started.
    : : ORA-01012: not logged on
    : : SVRMGR> 2> 3> 4> 5> 6> 7>
    : : 8> 9> CREATE DATABASE "cprtest3"
    : : ORA-01012: not logged on
    : : SVRMGR> Disconnected."
    : : Workaround: Beats me.
    : : 10. sqlplus
    : : I attempted to execute sqlplus, but got the following error
    : : message:
    : : "/u01/app/oracle/product/8.1.5/bin/sqlplus: Permission
    : denied."
    : : The execute bit was not set.
    : : Workaround: I executed:
    : : chmod a+x /u01/app/oracle/product/8.1.5/bin/sqlplus
    : : sqlplus
    : : I gave up for now... there were just too many things wrong
    with
    : : this installation, starting with the very first command I was
    : : supposed to execute (./runInstaller).
    : : I can't fathom why Oracle's installation script has so many
    : bugs.
    : : Am I just doing something terribly wrong?
    : : Please help.
    null

  • Logical operators in Oracle select query

    Hello all,
    Can i use logical operators in oracle select queries?
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?
    Regards,

    Hi,
    NB wrote:
    Hello all,
    Can i use logical operators in oracle select queries?Sure; Oracle has the logical operators AND, NOT and OR. All the comparison operators, including >, >=, = !=, EXISTS, IN, IS NULL, LIKE and REGEXP_LIKE are really logical operators, since they return logical values. You can use them in SELECT statements, and other places, too.
    for 1 and 0 =0 ; 1 or 0 =0
    if i have two fileds in a table COL1 have a value of 1010 and COL2 have a value of 0001.It's unclear what you want. Maybe you'd be interested in the BITAND function:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/functions014.htm#sthref1080
    BITAND is the only logical function that I know of. Many other functions, especially numberical fucntions such as MOD, have applications in logic.
    Is there any way to use select col1 or col2 from table? where or is a logical operator?Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements), and also post the results you want from that data.
    Explain how you get those results from that data.
    Always say which version of Oracle you're using.

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

  • SSO to Oracle Forms 6.0 and Oracle Reports 6.0

    Hi,
    Could somebody please explain how I should implement the SSO so that I can log on a forms application?
    Should I use external partner app. ??
    How can I parse the right parameters to the forms server ??
    thanks,
    Jerome

    Hi,
    Oracle Forms 6i does not support Advances Security for SQL*Net if this is what your question is. ASO is supported with Forms 9i and above
    Frank

  • Oracle, Null and empty Strings

    Currently I'm facing problems with a class, which contains a String, which
    is set to "" (empty String).
    When the class is persistent, oracle writes null to the table column
    (which seems to be common oracle behaviour) and when retrieving the class,
    the field is set to null as well, giving me a lot of null-pointer
    exceptions.
    Anyway ... I can cope with that (just a lot of extra work)
    far worse is the problem, wenn searching objects, that have this field set
    to "" oder null.
    Oracle can't find the records because JDO creates Querys "where
    string=null" or "where string=''" , where oracle expects "where string is
    null" to find the records.
    Is there a workaround or solution ?

    Yeah, that would work as well, thx, but since I have to cope with
    null-Strings now everywhere in my program, it doesn't hurt just to forbid
    empty strings on the program side.
    In future times I'll test on Oracle first, then porting to DB/2 - this way
    I suppose work is far less to garant compability.
    Nevertheless ... having to set the bankcode into quotes is a kodo bug in
    my opinion.
    Kodo knows the type of classfields (in this case string) and shouldn't
    send the parameter as a BigDecimal to the database.
    Given that, and having only bankcodes of null (only neccesary when using
    Oracle), the method would look like:
    public Collection getAccounts (String bankCode)
    throws Exception
    return getAccounts (Account.class, "bankcode=="+bankcode);
    which is how a transparent persistent layer, um, should be , um , I mean
    ... just transparent ;-D
    Marc Prud'hommeaux wrote:
    Stefan-
    Couldn't you just do something like:
    public Collection getAccounts (String bankCode)
    throws Exception
    String filter;
    if (bankCode == null || bankCode.length () == 0)
    filter = "(bankCode == null || bankCode == "")";
    else
    filter = "bankCode == "" + bankCode + """;
    return getAccounts (Account.class, filter);
    If I understand the problem correctly, this should work for all the
    databases.
    In article <[email protected]>, Stefan wrote:
    What operations are you performing to cause this SQL to be issued? You
    say you are having trouble removing objects, but this is clearly not a
    DELETE statement. Is this the SQL that is issued when looking up
    objects by identity?I'm not removing objects, I was removing just quotes from parameters ;-)
    A string column... is it also represented as a string field in your class?Yeah ... just to give you an impression of the code:
    First we have a class, representing a bank account:
    public class Account {
    private AccountMgr myAccountMgr;
    private String bankCode;
    private String id;
    Note, that in nearly all cases bankCode will be a number or null.
    I have a second class "AccountMgr", which does all of the persistant stuff
    (seaching, making persistent etc.)
    This class has two methods, one versatile (protected) to retrieve accounts
    by a given filterString and one who just returns accounts by bankCode,
    building the expected filterstring. Here is my current working version:
    public class AccountMgr {
    public Collection getAccounts(String bankCode) throws Exception {
    if (bankCode!=null) {
    if (bankCode.equals("")) {
    throw new Exception("check code, bankCode='' not allowed to get
    same behavior from DB2 and Oracle");
    // if set, quote the bankCode
    bankCode="""+bankCode+""";
    return getAccounts(Account.class,"bankCode=="+bankCode);
    protected Collection getAccounts(Class accountClass, String filterAdd)
    throws Exception {
    PersistenceManager pm = MyHelper.getPersistenceManager();
    String filter="";
    if (filterAdd!=null && !filterAdd.trim().equals("")) {
    filter+=filterAdd + " && ";
    filter += "myAccountMgr==_accMgr";
    Query query = pm.newQuery(accountClass, filter);
    query.declareParameters("AccountMgr _accMgr");
    return (Collection) query.execute(this);
    As you can see, in the first method I have to set the bankCode into
    quotes, when it's not null.
    This is because otherwise a filter like "bankCode=1234" will be translated
    in a way, where 1234 is send as a BigDecimal to the database:
    [...] executing statement <4239745>: (SELECT [...] FROM JDO_ACCOUNT t0
    WHERE t0.BANKCODE = ? : [reused=1;params={(BigDecimal) 1234}]
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Installation Problem on Pentium4 with ORACLE 8.1.7 Client

    I tried to Install the ORACLE Client 8.1.7/8.1.6 on Pentium4 with NT platform. On inserting the CD it gave the first prompt and after Clicking the "INSTALL/DE-INSTALL PRODUCTS", system stops. Checking in the TaskManager helps us to know that 'setup.exe' and 'java.exe' were started for a fraction of the second and then stopped.
    Tried to explore the issue and it seems that the JAVA version which ORACLE is using for the INSTALLATION of 8.1.7 is NonCompatible with the P4[NT Platform].
    However, 8.0.5/8.0.6 Client version were successfully Installed on the same configuration.
    Can Anyone help me out in Installing 8.1.6 on P4[NT base].
    Thanks in advance

    Is the machine you're trying to install on the
    machine your display is running on?
    If not, doing a
    'xhost + name_of_machine_you_are_installing_on'
    on the machine your display is running on should do the
    trick.
    Hope that helps.
    M. Geselle

  • Installation problem on AIX ( SAP4.7, Oracle-9i)

    Hello Gurus,
    We are installaing SAP4.7 on AIX with oracle-9i as an database
    we have completed central instance successfully, while database instance we are facing error
    I am attaching error log for your referenec
    error log
    You entered: /sapcd/oracle9/51030360/ORA92_1
    Found the label ORACLE:9.2:RDBMS(1/4):Oracle RDBMS AIX5 CD:CD51018585_1 but need
    the label ORACLE:9.2.0:RDBMS(1::
    Can any body help me regarding this error.
    Thanks & regards
    Shishir

    > You entered: /sapcd/oracle9/51030360/ORA92_1
    > Found the label ORACLE:9.2:RDBMS(1/4):Oracle RDBMS AIX5 CD:CD51018585_1 but need
    > the label ORACLE:9.2.0:RDBMS(1::
    Are the CDs numbers matching to your installation master CD?
    Markus

Maybe you are looking for

  • PE8 won't allow transition to be applied

    I've seen this before from time to time, where I try to drag a transition to the timeline between two clips and it simply disappears when I let go of the mouse... in what cases does PE8, by design, prevent a transition from being applied between clip

  • Nokia E72 Wlan coonection

    hello i got the nokia E72, and i have a wlan connection at home, so it always connects automaticaly and downloads the emails, and the wlan connection symbol is always on in the bottom of the screen, how to turn this off? cos it will consume more batt

  • Aperture and shooting Raw+Jpeg

    In camera Jpeg processing becomes better and better with each generation of cameras. One example is the dynamic range optimizer in my Sony A700. You often have a hard time to get similar results from the Raw. So for quite a lot of shots - especially

  • Want to re-install 10.8.5, but don't know how

    When I bought my Mac Mini last year, I didn't understand it and didn't set it up properly. I would like to start over and re-install 10.8.5, but don't know how. How can I do this?

  • How intrusive is an upgrade to CSM software?

    I need to upgrade our CSM software from 3.1.2 to 3.1.3. How disruptive is the upgrade process other than the reload? Can I load the software during the day with no impact or should I plan for outage during the software load as well as the reload? How