Error upgrading DB2 database from 8.1 SP4 to 9.2

Has anyone encountered this before:
create_database_objects:
[echo] ***** Calling JDBCDataLoader ** to create database objects and insert seed data
[java] Loading Database...
[java] logFile=upgrade_db.log
[java] user=db2admin
[java] password=********
[java] url=jdbc:bea:db2://pod248:50000;DatabaseName=iwcontnt
[java] files=C:\bea\WEBLOG~2/common/p13n/db/db2/jdbc_index/UPGRADE/jdbc.index,C:\bea\WEBLOG~2/portal/db/db2/jdbc_index/UPGRADE/jdbc.index
[java] driver=weblogic.jdbc.db2.DB2Driver
[java] saltFile=C:\bea\weblogic92\portal\upgrade\db/security/SerializedSystemIni.dat
[java] prodDir=C:\bea\WEBLOG~2
[java] Processing file 'C:\bea\WEBLOG~2\common\p13n\db\db2\jdbc_index\UPGRADE\jdbc.index'
[java] Files=
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_constraints.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_create_tables.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_create_indexes.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/data/required/p13n9_insert_system_data.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/data/required/bt9_insert_system_data.sql
[java] Error = SQLException when executing file file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java] java.lang.Exception: SQLException when executing file file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.main(JDBCDataLoader.java:1320)
[java] Caused by: java.sql.SQLException: [BEA][DB2 JDBC Driver]Resource Limits Reached( ALLOCATE MEMORY FOR NEW SQLSTT FAILED ). Diagnostic Info: FUNCTION ID = 0049 , PROBE POINT = 0400 , TRACE POINT = 0030 , SUBCODE1 = 8B0F0000, SUBCODE2 = 78A68A98, SUBCODE3 = 00000000, ERROR MSG = Parser: Memory allocation error.
[java]      at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;)Ljava.sql.SQLException;(Unknown Source)
[java]      at weblogic.jdbc.base.BaseExceptions.getException(I[Ljava.lang.String;)Ljava.sql.SQLException;(Unknown Source)
     [java]      at weblogic.jdbc.db2.drda.DRDARequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDAStatementRequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDAQueryStatementRequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDARequest.processReply(Lweblogic.jdbc.base.BaseWarnings;)V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2ImplStatement.execute()V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2PackageManager.getMaxSections()I(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2PackageManager.initialize(Lweblogic.jdbc.db2.drda.DRDALoginRequest;)V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2ImplConnection.open()V(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.connect()V(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.setupImplConnection(I)Lweblogic.jdbc.base.BaseImplConnection;(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.open(Lweblogic.jdbc.base.BaseConnectionProperties;Lweblogic.jdbc.base.BaseExceptions;Lweblogic.util.UtilDebug;)V(Unknown Source)
[java] Load Failed
[java]      at weblogic.jdbc.base.BaseDriver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
[java]      at com.bea.plateng.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:266)
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:153)
[java]      ... 1 more
I am trying to upgrade the schema for WL/Portal 9.2 from 8.1SP4 using the scripts supplied from BEA using the BEA DB2 driver.
-mike

Michael Melvin wrote:
Has anyone encountered this before:
create_database_objects:
[echo] ***** Calling JDBCDataLoader ** to create database objects and insert seed data
[java] Loading Database...
[java] logFile=upgrade_db.log
[java] user=db2admin
[java] password=********
[java] url=jdbc:bea:db2://pod248:50000;DatabaseName=iwcontnt
[java] files=C:\bea\WEBLOG~2/common/p13n/db/db2/jdbc_index/UPGRADE/jdbc.index,C:\bea\WEBLOG~2/portal/db/db2/jdbc_index/UPGRADE/jdbc.index
[java] driver=weblogic.jdbc.db2.DB2Driver
[java] saltFile=C:\bea\weblogic92\portal\upgrade\db/security/SerializedSystemIni.dat
[java] prodDir=C:\bea\WEBLOG~2
[java] Processing file 'C:\bea\WEBLOG~2\common\p13n\db\db2\jdbc_index\UPGRADE\jdbc.index'
[java] Files=
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_constraints.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_create_tables.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_create_indexes.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/data/required/p13n9_insert_system_data.sql
[java]      file:/C:/bea/WEBLOG~2/common/p13n/db/data/required/bt9_insert_system_data.sql
[java] Error = SQLException when executing file file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java] java.lang.Exception: SQLException when executing file file:/C:/bea/WEBLOG~2/common/p13n/db/db2/p13n9_drop_indexes.sql
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:182)
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.main(JDBCDataLoader.java:1320)
[java] Caused by: java.sql.SQLException: [BEA][DB2 JDBC Driver]Resource Limits Reached( ALLOCATE MEMORY FOR NEW SQLSTT FAILED ). Diagnostic Info: FUNCTION ID = 0049 , PROBE POINT = 0400 , TRACE POINT = 0030 , SUBCODE1 = 8B0F0000, SUBCODE2 = 78A68A98, SUBCODE3 = 00000000, ERROR MSG = Parser: Memory allocation error.
[java]      at weblogic.jdbc.base.BaseExceptions.createException(Ljava.lang.String;Ljava.lang.String;)Ljava.sql.SQLException;(Unknown Source)
[java]      at weblogic.jdbc.base.BaseExceptions.getException(I[Ljava.lang.String;)Ljava.sql.SQLException;(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDARequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDAStatementRequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDAQueryStatementRequest.processCodePoint(IILweblogic.jdbc.base.BaseWarnings;)Z(Unknown Source)
[java]      at weblogic.jdbc.db2.drda.DRDARequest.processReply(Lweblogic.jdbc.base.BaseWarnings;)V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2ImplStatement.execute()V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2PackageManager.getMaxSections()I(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2PackageManager.initialize(Lweblogic.jdbc.db2.drda.DRDALoginRequest;)V(Unknown Source)
[java]      at weblogic.jdbc.db2.DB2ImplConnection.open()V(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.connect()V(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.setupImplConnection(I)Lweblogic.jdbc.base.BaseImplConnection;(Unknown Source)
[java]      at weblogic.jdbc.base.BaseConnection.open(Lweblogic.jdbc.base.BaseConnectionProperties;Lweblogic.jdbc.base.BaseExceptions;Lweblogic.util.UtilDebug;)V(Unknown Source)
[java] Load Failed
[java]      at weblogic.jdbc.base.BaseDriver.connect(Ljava.lang.String;Ljava.util.Properties;)Ljava.sql.Connection;(Unknown Source)
[java]      at com.bea.plateng.domain.jdbc.JDBCConnectionTester.createConnection(JDBCConnectionTester.java:266)
[java]      at com.bea.plateng.domain.jdbc.JDBCDataLoader.load(JDBCDataLoader.java:153)
[java]      ... 1 more
I am trying to upgrade the schema for WL/Portal 9.2 from 8.1SP4 using the scripts supplied from BEA using the BEA DB2 driver.
-mikeHi. You may need to consult your DB2 DBA. This is just the driver reporting that
it's processing failed at the DBMS because of hitting a DBMS resource limit on
memory.
Joe

Similar Messages

  • Upgrade DB2 database from 9.1 to 10.5

    Dear All,
    We are using Ecc6 with db2 database 9.1 now we want to upgrade database from 9.1 to 10.5. Is it possible to upgrade database & what are those steps are required for this operation. We are waiting your valuable support in this regards.
    Regards
    Abhijit

    Hello,
    Please check the guide https://websmp201.sap-ag.de/~sapdownload/011000358700000843422013E/DB6UpgrGuide10_5_upd.pdf
    Database-Related Restrictions
    If you are running DB2 for Linux, UNIX, and Windows Version 9.5 or lower, you first have to upgrade
    the database to DB2 Version 9.7 or 10.1 as described in the relevant upgrade guide at:
    http://service.sap.com/instguides Database Upgrades DB2 UDB
    BR,
    K.

  • ORA-03113: Error while upgrading the Database from 11.1.0.6 to 11.1.0.7

    Hi,
    I am trying to upgrade the database from 11.1.0.6 to 11.1.0.7 on OEL operating system.
    After applying the patch "6890831" when trying to start the database using "Startup Upgrade" command I am getting the below error.
    ORA-03113: end-of-file on communication channel
    Process ID: 20826
    Session ID: 170 Serial number: 3
    I am getting the same error when trying to create the new database using "DBCA".
    Please provide me the probable outcomes.
    Thanks
    Amith

    Below entries found in alert_orcl.log file
    MMNL started with pid=15, OS id=20571
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Thu Dec 03 20:11:11 2009
    ALTER DATABASE MOUNT
    Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_mman_20557.trc:
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    MMAN (ospid: 20557): terminating the instance due to error 27103
    Instance terminated by MMAN, pid = 20557
    Below entries found in the Trace file generated
    error 27103 detected in background process
    ORA-27103: internal error
    Linux-x86_64 Error: 11: Resource temporarily unavailable
    Additional information: -1
    Additional information: 1
    *** 2009-12-03 20:11:14.727
    MMAN (ospid: 20557): terminating the instance due to error 27103

  • How do I connect to a DB2 database from Oracle 10G on linux?

    Hi
    I have tryed to connect to a DB2 database from oracle 10 G on linux.
    I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
    select * from testtable@acc_spc_gr2
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
    ORA-02063: preceding 3 lines from ACC_SPC_GR2
    What am I doing wrong? Any one have a guide to do this?
    - Jesper

    this is my complete configuration
    Database_
    -bash-3.2$ export ORACLE_SID=XE
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Conectado a:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Platform_
    Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
    */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
    #This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    #HS_FDS_CONNECT_INFO = ODBC_DSN
    HS_FDS_CONNECT_INFO = prueba
    HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
    HS_FDS_CONNECT_INFO = DB2DATABASE
    #HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    set DB2INSTANCE=is400
    listener.ora_
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = DB2DATABASE)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM =hsodbc)
    (ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora_
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DB2DATABASE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DB2DATABASE)
    (HS=OK)
    odbc.ini_
    [prueba]
    Description = iSeries Access ODBC Driver
    Driver = iSeries Access ODBC Driver
    System = xxx.xx.3.2
    UserID = xxxxxx
    Password = xxxxxx
    Naming = 0
    DefaultLibraries = QGPL
    Database = CHERRYWEB
    ConnectionType = 0
    CommitMode = 2
    ExtendedDynamic = 0
    DefaultPkgLibrary = QGPL
    DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
    AllowDataCompression = 0
    MaxFieldLength = 32
    BlockFetch = 1
    BlockSizeKB = 128
    ExtendedColInfo = 0
    LibraryView = 0
    AllowUnsupportedChar = 0
    ForceTranslation = 0
    Trace = 0
    odbcinst.ini_
    [PostgreSQL]
    Description = ODBC for PostgreSQL
    Driver = /usr/lib/libodbcpsql.so
    Setup = /usr/lib/libodbcpsqlS.so
    FileUsage = 1
    [iSeries Access ODBC Driver]
    Description = iSeries Access for Linux ODBC Driver
    Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
    Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    UsageCount = 1
    CPTimeout =
    CPReuse =
    System = 172.18.3.2
    User = inf5mito
    Password = lonco3pue
    NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
    NOTE2 = the following Driver64/Setup64 keywords will provide that support.
    Threading = 2
    DontDLClose = 1
    ODBC Driver_
    -bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
    -bash-3.2$ ls -ltr
    total 2260
    -r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
    -r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
    -r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
    -r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
    -r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
    and this is my error.
    SQL> /
    select from display@db2database*
    ERROR en línea 1:
    ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
    mensaje:
    *[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
    in dynamic library
    *[C079] Failed to load dynamic library*
    *'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
    ORA-02063: 3 lines precediendo a DB2DATABASE
    Edited by: user6669081 on 07-jul-2010 6:31

  • Migrate and Upgrade ReportServer database from SQLServer 2012 to SQLServer2014

    Hi,
    Today I migrated one reporting service from sql server 2012 to new server which running sql server 2014.
    Firstly I  back up encryption key and restored to new server, then follow the https://msdn.microsoft.com/en-AU/library/ms156421.aspx (e.g. backup, restore reportserver). In section "How to Configure the Report Server Database Connection" , I
    cannot pass this step as it complains it is not a report server, please see error below:
    However I can see my original reports/data srouces in below url and I can create new items like data source:
    http://sydwt-ssql-1/ReportServer
    http://sydwt-ssql-1/Reports/
    Anyone knows what happened?
    Here are the version information:
    - From
    Microsoft SQL Server 2012 (SP1) - 11.0.3412.0 (X64) 
    Mar  2 2014 01:25:09 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: )
    - To
    Microsoft SQL Server 2014 - 12.0.2480.0 (X64) 
    Jan 28 2015 18:53:20 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: )
    Thanks,
    Albert

    Hi
    As Alberto’s post, it's not supported to run a Windows Server Update Services (WSUS) database on SQL Server 2012 in Server 2008 R2. Since your application requires SQL Server 2012 Express as a minimum, you can try the following method:
    1. WSUS in Server 2012 supports SQL Server 2012, if you want to upgrade WSUS database supports SQL Server 2012, you need to upgrade WSUS 3.0 SP1, operation system and so on. For more information, you can post the question about WSUS in the
    Windows Server forums. It is appropriate and more experts will assist you. In addition, upgrade SQL Server 2005 to SQL Server 2012, as Shanky’s post, you need to make sure that your SQL Server 2005 has been applied Service Pack 4.
    2. However, if you don’t want to upgrade WSUS database from SQL Server 2005 to SQL Server 2012, I recommend you to install a new instance of SQL Server 2012 on Windows Server 2008 R2.
    In addition, before installing SQL Server 2012 or upgrading to SQL Server 2012, your system should meets the following prerequisites:
      • The Windows Installer service must be running.
      • Microsoft .NET Framework 3.5 SP1 and .NET Framework 4.0 are required.
      • Windows PowerShell 2.0 or later is required if you're upgrading the database engine.
    For more information about the prerequisites for installing SQL Server 2012, please review the following link:
    Hardware and Software Requirements for Installing SQL Server 2012:
    http://msdn.microsoft.com/en-us/library/ms143506(v=sql.110).aspx
    Thanks
    Lydia Zhang

  • Upgrading the database from Oracle 8.0.6 to Oracle 9.2.0

    Dear SDN,
    We are in the process of upgrading SAP 4.6b to 4.7 R/3 Enterprise.
    Source Release:Windows 2000/Oracle 8.0.6/SAP 4.6b
    Target Release:Windows 2000/Oracle 9.2.0/SAP R/3 4.7
    Can anyone help us in explaining the procedure for upgrading the database from Oracle 8.0.6 to Oracle 9.2.0.
    Thanks n Regards ,
    Anantha Raman E.

    Thanks Mr.Mohan
        We tried to upgrade from 8.0.6 to 8.1.7 with the help of Inst Guides from service market place..the thing is we created another oracle home with new DBSID ither than the old DBSID...when we started the migration using 8.1.7 Data migration tool its not responding after the first phase CHECKING THE OLD DATABASE...
    Pls help us in this regard
    Whether we have to migrate or what...

  • Upgrading a database from 8.1.6 to 9.2.0

    Hi,
    Oracle provides scripts to directly upgrade a database from an older release to the latest release. In the 9.2.0 installation, scripts are available to upgrade from 8.0.6, 8.1.7 and 9.0.1. No scripts is present for upgrading my 8.1.6 database to 9.2.0.
    Can somebody suggest a way to achieve this upgrade?
    Thanks
    Yash

    Unfortunately, you will have to upgrade to 8.1.7 or 9.0.1 before upgrading to 9.2.0. Oracle appears to be supplying upgrade scripts for terminal releases.

  • Upgrading a database from 8.1.7.2 to 10gR2 on another machine

    Hello all,
    We have database DB1 (in version 8.1.7.2) on MACH1 (AIX 4.3) and I'd like to move this database to another machine called MACH2 (AIX 5.3) as Oracle10gR2 version (Oracle8.1.7.4 and Oracle10gR2 bianries are already installed on MACH2).
    MACH1 will be scrapped after this operation.
    Since I don't need to upgrade the Oracle binaries of MACH1 and I just would like to upgrade the database DB1 from 8.1.7.2 to 10gR2, can I do the following to achieve this:
    On MACH2, there is a 8.1.7.4 database called DB2: I do an export of DB1 and import it into DB2.
    Then, I create a new database DB3 in version 10gR2 on MACH2.
    Then, I export DB2 and import it into DB3.
    Is this enough to finally have the database DB1 change version from 8.1.7.2 to version 10gR2, or are there other steps to take care of?
    Thanks a lot for your feedbacks.
    Cheers

    while for "full" exp/imp we have to pass by 8174 as an intermediate stage.That's not true, you need at least 8.1.7.4 for a direct upgrade using DBUA, export/import doesn't have such a prerequisite.
    Despite of this I always prefer schema export/import of pure user data, especially from 8i to 10g there are so many changes (as one example think of the new tablespace SYSAUX,which now holds objects earlier located in the SYSTEM tablespace). That makes a full export not useless, but - let's say - less useful.
    Werner

  • Error upgrading company db from patch45 to 47

    Hello, Im having an error upgrading my company database to patch 47 from patch 45. while on the upgrade screen, I can see on the status bar that the upgrade process cannot find a "Department" object
    Ive done upgrades before with no problem, but this time I had to run it twice because the first time an error showed up that it couldnt upgrade the b1_share folder. 
    Here is the log file.
    UPG_DoObjectUpgradeInt 2, error in object index=124, object name=Departments, object ID=119
    STACK:
    Frame id=00: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x02AD2460
    Frame id=01: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x028A1606
    Frame id=02: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x028A0322
    Frame id=03: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x028A029D
    Frame id=04: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x0289E2F4
    Frame id=05: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x02273CCA
    Frame id=06: "C:\Program Files\SAP\SAP Business One\SAP Business One.exe"; base=0x00400000, offset=0x029146C1
    Frame id=07: "C:\WINDOWS\system32\kernel32.dll"; base=0x7C800000, offset=0x7C80B50B
         C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=3220     TID=256
    28/03/2009  13:10:19:443910        Upgrade            NoteLogAlways     FromVersion=800180     ToVersion=800181     Ending the company upgrade     C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=3220     TID=1640

    Thank you for reply, I found out the reason, there was a record missing in the departments table (record num -2).... i dont know why... we added the record and then the upgrade proceeded as expected.
    Thank you.

  • Upgrading Oracle Database from 10.2.0.3 to 10.2.0.4 on Windows XP

    Hi,
    My moto is to install Oracle DB 10.2.0.4 but i didn't find that vesion of DB. so i installed 10.2.0.3 and now wanted to upgrade it to 10.2.0.4. Please redirect me to proper documentation or patch that will help me.
    Is there 10.2.0.4 setup directly insted of upgrading from previous version??

    Hi,
    Case 1) On top of Oracle Database 10.2.0.3 directly install and apply the patch for Oracle database 10.2.0.4 provided with Database ORACLE_HOME and SYS password parameters at the patch installation time.
    Case 2) If you installed only Database software from 10.2.0.3 to 10.2.0.4, using dbua utility you can upgrade the database version.
    Thanks,
    Ajay Babu Pentela

  • Error while duplicate database from one server to another server

    Hi there,
    I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
    --------------------- Clone site:
    1. modify listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME= orcl)
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    2. stop and start listener again, message show like :
    Service “orcl” has 1 instance(s).
    Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
    The command completed successfully
    3. create pfile from spfile.
    4. shutdown and startup nomount with pfile is new pfile create from step 3.
    --------------------------------------- Source site
    1. modify tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    2. run command from rman like these:
    rman> connect target sys@vvcoredb
    rman> target database Password:
    rman> connect auxiliary sys@orcl
    rman> auxiliary database Password:
    rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
    Then the result show below:
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a file destination directory
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
    orcl.__db_cache_size=1476395008
    orcl.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=1342177280
    orcl.__sga_target=1979711488
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=436207616
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=3313500160
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please suggest me do i miss some steps when try to duplicate database?
    Any suggestions are welcome.
    Thanks in advance!
    P/s: Sorry for my bad English.

    Oh god, it worked. Thank you. But i got another problem like this:
    duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''VVCOREDB'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''ORCL'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
    '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    Starting backup at 24-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
    Edited by: 788420 on Sep 24, 2012 4:44 AM

  • Error connecting to database from Crystal Report

    Hi,
    I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008
    I have a batch that generates report (via export) then this batch will send the exported report via email.
    I am encountering this error when reading report from BO Server
    Error: CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    While when trying to read the report from physical file within the server, it will give me this error
    Error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ] ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    The report is working in our SIT environment but it is not working in our UAT environment.
    I have tried the following:
    1) running the batch (that generates the report) in SIT environment to call SIT database
    Working fine
    2) running the batch (that generates the report) in SIT environment to call UAT database
    Will give the above error
    3) running the batch (that generates the report) in UAT environment to call UAT database
    Will give the above error
    4) running the batch (that generates the report) in UAT environment to call SIT database
    Working fine
    For reading report from BO Server, I have tried viewing the report directly and scheduling the report directly from BO Server and it works fine.
    Also I have tried to 'verify database' on the UAT report, but it seems it didn't solve the issue.
    Does anyone have any idea how to solve this? Or what could cause this?
    Appreciate your help.
    Thanks.

    Here's how I connect to the database
    when reading report from bo server:
    Dim enterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
                Dim enterpriseService As CrystalDecisions.Enterprise.EnterpriseService
                Dim infoObjects As CrystalDecisions.Enterprise.InfoObjects
                Dim infoObject As CrystalDecisions.Enterprise.InfoObject
                Dim infoStore As CrystalDecisions.Enterprise.InfoStore
                Dim query As String = ""
                query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_NAME LIKE '" & reportName & "'"
                'Create a session manager
                Dim sessionMgr As New CrystalDecisions.Enterprise.SessionMgr
                'Log into BusinessObjects Enterprise
                enterpriseSession = sessionMgr.Logon(cu.BOXIUser, cu.BOXIPwd, cu.BOXIServer, cu.BOXIAuthentication)
                'Create the infostore object
                enterpriseService = enterpriseSession.GetService("InfoStore")
                infoStore = New CrystalDecisions.Enterprise.InfoStore(enterpriseService)
                infoObjects = infoStore.Query(query)
                If (infoObjects.Count > 0) Then
                    infoObject = infoObjects(1)
                    crDoc.Load(infoObject, enterpriseSession)
                    crDoc.SetParameterValue("@batchID", batchID)
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
                    Dim CrPDFFormatOptions As New PdfRtfWordFormatOptions
                    Dim CrExcelFormatOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = reportFile
                    CrExportOptions = crDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = IIf(reportFormat = IAConstant.PDF, _
                                                ExportFormatType.PortableDocFormat, _
                                                IIf(FINRptFormat = IAConstant.EXCELONLY, _
                                                ExportFormatType.ExcelRecord, ExportFormatType.Excel))
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = IIf(reportFormat = IAConstant.PDF, _
                                             CrPDFFormatOptions, CrExcelFormatOptions)
                    End With
                    crDoc.Export()
                Else
                    Throw New ApplicationException(Constant.APP_ERR & " - Report not found")
                End If
    The error is thrown when trying to export --> crDoc.Export()
    The username and password are correct because it is the same username and password that the batch used to extract the data in the initial stage.
    Here's how my batch works:
    1) Extract and massage data directly from .net SP (this is working fine)
    2) Obtain the report then use the same connection string (for physical path report) or use the report connection string (for bo server report), this report is using Stored Procedure (the problem starts here)
    For reading report from bo server, I have also checked that the connection from the report itself is correct, because we can schedule/view the report from bo server successfully.
    SQL Driver, is it the SQL Native Client you are saying? It's SQL Native Client 10.
    I think we are using Business Objects Enterprise XI 3.1 Client Tools SP2 in our apps server.

  • How to Upgrade 11i Database from 10.2.0.2 to 10.2.0.3

    Hi Friends,
    I have 11i database with (10.2.0.2)...now i want to upgrade my database to 10.2.0.3.....
    I have gone through the 10.2.0.3 pre instalaltion tasks....Do we again need to run the DBUA from 10g Oracle Home....
    Please suggest

    You can use one of the following for upgrading an Oracle Database 10g release 10.2.0.x to Oracle Database 10g release 10.2.0.3:
    - Upgrading a Release 10.2 Database using Oracle Database Upgrade Assistant (Run dbua)
    - Manually Upgrading a Release 10.2 Database (Run catupgrd.sql)
    For more details, please check "Upgrading Oracle Database 10g Release 10.2.0.x to Oracle Database 10g Release 10.2.0.3" section of the readme file of 10.2.0.3 patch (Patch 5337014).

  • Steps to upgrade Oracle database from 11.2.0.3.8 to 11.2.0.4.0

    Hi Support,
    Could anyone please provide the steps to upgrade Oracle Database EE from 11.2.0.3.8 to 11.2.0.4.0.
    Thanks
    Imtiyaz

    You will need to install 11.2.0.4 into a new ORACLE_HOME, apply the latest 11.2.0.4 PSU patch to the new ORACLE_HOME (see MOS Doc 1454618.1) and then follow the steps in the Upgrade Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#UPGRD003
    see MOS Doc 1189783.1

  • Error : Restore oracle database from TSM

    Hi ,
    we have the RAMN backups of database in TSM.
    presently that database is droped in USNODE1.
    now we are trying to restore database from USSERVR23.
    i am getting below error,i think its TSM error. related to hostname changes.(ANS1302E (RC2) )
    http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp?topic=/com.ibm.itsmm.doc_5.3.3/update/ANS1302E.htm
    Plz suggest me
    RMAN> run{
    2> ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS "ENV=(TDPO_OPTFILE=/u02/oracle/admin/tdpo.opt)";
    3>
    4> restore controlfile ;
    5> }
    allocated channel: c1
    channel c1: sid=1641 devtype=SBT_TAPE
    channel c1: Tivoli Data Protection for Oracle: version 5.2.0.0
    Starting restore at 29-MAY-09
    channel c1: starting datafile backupset restore
    channel c1: restoring control file
    channel c1: reading from backup piece HOT1-20090424_1600-5fkd9nr6_1_1
    ORA-19870: error reading backup piece HOT1-20090424_1600-5fkd9nr6_1_1
    ORA-19507: failed to retrieve sequential file, handle="HOT1-20090424_1600-5fkd9nr6_1_1", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    ANS1302E (RC2) No objects on server match query
    failover to previous backup
    Thanks,
    VIJ

    May I ask a couple of questions?
    Is the original backup from a RAC instance?
    Are you using a Catalog for backup/restore?
    What happens if you just use the control file backup, can the restore find the file?
    See my question posted in this forum RMAN RAC and TSM features
    Robert

Maybe you are looking for