Database upgrade in a Dataguard Configuration - Help !

Hello Everyone,
I am upgrading our test Oracle 11G RAC/Dataguard Configuration from 11.1.0.6 to patchset 11.1.0.7 and have run into an issue when trying to apply the patchset to one of our standby databases.
I have upgraded our primary database to 11.1.0.7 with no problems, however when this was done the Dataguard Broker configuration was disabled and redo log apply to our standby databases (all physical) was stopped. I next attempted to upgrade one of our standby databases to 11.1.0.7, whilst DG Broker was disabled. The clusterware (all our databases are part of RAC clusters) and DB Software upgrades were OK, but I was unable to run DBUA successfully (or at all) as it wont run against the standby DB.
Looking at the process for applying upgrades with Physical Standby databases in place in the Dataguard Concepts manual, it seems as though the recommended process is that I should have upgraded the standby database(s) first rather than the primary database. The two Oracle Consultants that were on site when I upgraded the primary DB, did not seem to be aware of this !
What now is the easiest (and quickest) way of upgrading the standby db to 11.1.0.7 (preferably without reenabling the DG Broker Configuration). Is it possible to re-instanitate the standby DB from the primary DB?
Any advice would be much appreciated.
Thanks,
Shaun.

Hi!
Updating a standby DB must be so easy, but I suppose now you are in troubble because your primary DB is ...0.7 and standby are ...0.6, but in this situaction there isn't any problem. You only need to have same version at Oracle DBs (...0.7) and initiate the recovery process or start DataGuard Broker process (if you have all redo logs since the beggining of update process).
Chiao!

Similar Messages

  • Upgrade of database in Dataguard Configuration

    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?
    - Is that we have to install only different OH in both? And once the catupgrade script is run on primary, it will automatically upgrade standby as well?
    - Or is that we have to upgrade both separately? i.e, standby first and then primary or vice versa
    - Can we reduce downtime by breaking the dataguard config. Do a switchover and make secondary as primary and upgrade primary first?
    And once the upgrade is completed in primary, bring it up and later upgrade the standby. And later once the upgrade is completed on standby, synch both primary and standby.
    Please share your ideas and thoughts!
    Thanks!

    First of all, -steps may differ regarding the upgrade versions but- my post with the following link would help you clarify the concept.
    http://emrebaransel.blogspot.com/2009/02/10204-upgrade-with-dataguard.html
    user1982050 wrote:
    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?First you patch the Oracle binaries on both primary and standby. Then open dataguard services and upgrade the primary database, standby will update itself already.

  • Database upgrade in Dataguard Broker Environment

    Hi All,
    OS: Wndows 32 bit
    DB: 11.2.0.1
    We have an upgrade activity due, in this, we have a windows Primary Database and it has 2 Physical Standby databases. There is no concept of Near DR and Far DR. Both the databases are getting sync'd directly from the Primary database.We are also using Dataguard Broker. Following is the skeletol POA for the same:
    1. Install an out of place DATABASE Software (11.2.0.3 ) on both the Standby databases and also the Primary database.
    2.Disable the configuration of the database broker on all the 3 servers
    3.Copy the files init/spfile, tnsnames.ora, listener.ora, sqlnet.ora and the password file from the old oracle home to the new oracle home location on all the 3 servers.
    4.Take a clean shutdown of the Standby databases only and then stop the services and delete the services as well.
    5.Get into the new oracle home and create the oracle services for both the standby databases
    6.Once, the services are created, mount both the standby databases and enable their recovery.
    7. Now, we will connect to the Priamry database server and start the upgrade here. I will be using the manuall method of upgrade for the database here which all includes all the pre and post tasks.
    8. Once the upgrade is done succesfully on the primary databases, the changes will be automatically replicated on its 2 Standby databases as well.
    9. Post this, we will enable the broker configuration and check for the syncronziation by doing some switch's.
    10. Lastly we will remove the old oracle home's.
    Any suggestions?
    Regards,
    SPhinx

    After the upgrade the home directory will change and all I need to do is change the home directory path in the extract/replicate prm file correct ?
    this what I will do :
    1. stop GG services on both source and target
    2. upgrade the db.
    3. change the path of the db in the prm files as required.
    4. start the extract and replicate process on source and target respectively.

  • 'dns' server failed to upgrade the Network Registrar configuration databases!!!

    I have problem with installation the Network Registrar 7.2. According to the install log: "The 'dhcp' server failed to upgrade the Network Registrar configuration databases !!! See C:\NetworkRegistrar\Local\temp/dhcp_upgrade_status_log for details." The dhcp_upgrade_status_log is not found on my PC.
    Do somebody familar with such problem?
    Thank in advance.

    Hi Dave,
    Any luck on this thread? Where you able to find a work around on this problem? I am encountering also the same problem thou my OCR and Voting Disk are on raw partition.
    I have done clean-up using the "dd" command and re-install CRS a couple of times and still with no luck...
    Hope RAC gurus can help us on this.
    Any help would be much appreciated.
    Thanks!

  • Help needed in 10gR2 to 11gR2 EBS Database Upgrade

    Hi,
    I am upgrading EBS Database from 10gR2 (10.2.0.3) to 11gR2 11.2.0.3. While going through Oracle Note Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1], under the point 3 of "Recommendations from Source database" it says:
    "Disable the custom triggers that would fire before/after DDL and enable them after the upgrade is complete."
    I want to know is it compulsory to disable the custom triggers? If yes then how can I get the list of those custom triggers and disable/enable them before and after the database upgrade?
    Please let me know the commands. My operating system is Oracle Enterprise Linux 5.8.
    Thanks,
    Abdul

    Hi Srini,
    Thanks for the docs.
    EBS version is R12 (12.0.6) and 10gR2 (10.2.0.3).
    Currently I am only upgrading EBS Database from 10gR2 (10.2.0.3) to 11gR2 (11.2.0.3) and want to use it with my current R12 version.
    Currently I am following these Oracle notes:
    - Complete Checklist for Manual Upgrades to 11gR2 [ID 837570.1]
    - Interoperability Notes EBS 12.0 and 12.1 with Database 11gR2 [ID 1058763.1]
    I hope I am on the right track?
    Regards,
    Abdul

  • Database Upgradation from oracle 9.2.0.8 to oracle11gR2

    Hi
    we are using AIX 5.3 TL 10 SP4 and we are upgrading DB from oracle9.2.0.8 to oracle 11.2.0.2
    i am having some doubt from below pre-upgrade scripts out put.
    oratst@ebsdevdb on /tmp # sqlplus "/as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Jul 4 10:11:48 2011
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> spool 11202_upgrade.txt
    SQL> @utlu112i.sql
    Oracle Database 11.2 Pre-Upgrade Information Tool 07-04-2011 10:17:06
    Script Version: 11.2.0.2.0 Build: 001
    Database:
    --> name: EBSTEST
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V1
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8546 MB
    --> TOOLS tablespace is adequate for the upgrade.
    .... minimum required size: 8 MB
    --> TEMP tablespace is adequate for the upgrade.
    .... minimum required size: 61 MB
    --> AR_TABLE tablespace is adequate for the upgrade.
    .... minimum required size: 33497 MB
    --> FND_TABLE tablespace is adequate for the upgrade.
    .... minimum required size: 45447 MB
    --> AMVD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> ASOD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> CCTD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> IBUD tablespace is adequate for the upgrade.
    .... minimum required size: 1 MB
    --> IEMD tablespace is adequate for the upgrade.
    .... minimum required size: 5 MB
    --> IEOD tablespace is adequate for the upgrade.
    .... minimum required size: 4 MB
    --> JTFD tablespace is adequate for the upgrade.
    .... minimum required size: 135 MB
    --> OKCD tablespace is adequate for the upgrade.
    .... minimum required size: 34 MB
    --> XDPD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> XNPD tablespace is adequate for the upgrade.
    .... minimum required size: 7 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 849 MB
    Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    Note: Pre-upgrade tool was run on a lower version 64-bit database.
    --> If Target Oracle is 32-Bit, refer here for Update Parameters:
    WARNING: --> "compatible" must be set to at least 10.1.0
    --> If Target Oracle is 64-Bit, refer here for Update Parameters:
    WARNING: --> "compatible" must be set to at least 10.1.0
    WARNING: --> "shared_pool_size" needs to be increased to at least 532 MB
    WARNING: --> "java_pool_size" needs to be increased to at least 128 MB
    Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
    --> optimizer_max_permutations 10.1 OBSOLETE
    --> row_locking 10.1 OBSOLETE
    --> undo_suppress_errors 10.1 OBSOLETE
    --> max_enabled_roles 10.1 DEPRECATED
    --> enqueue_resources 10.2 OBSOLETE
    --> sql_trace 10.2 DEPRECATED
    --> background_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
    --> user_dump_dest 11.1 DEPRECATED replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database is using a timezone file older than version 14.
    .... After the release migration, it is recommended that DBMS_DST package
    .... be used to upgrade the 9.2.0.8.0 database timezone version
    .... to the latest version which comes with the new release.
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER ADWANIAH has 1 INVALID objects.
    .... USER APPS has 34 INVALID objects.
    .... USER CHAKKACHANSA has 1 INVALID objects.
    .... USER FA_USER has 9 INVALID objects.
    .... USER SYSSEL has 2 INVALID objects.
    .... USER SYSTEM has 30 INVALID objects.
    .... USER XXITDFINAD has 7 INVALID objects.
    WARNING: --> SYSTEM schema default tablespace has been altered.
    .... The SYSTEM schema default tablespace is currently set to TOOLS.
    .... Prior to upgrading your database please reset the
    .... SYSTEM schema default tablespace to SYSTEM using the command:
    .... ALTER USER SYSTEM DEFAULT TABLESPACE SYSTEM;
    WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    Recommendations
    Oracle recommends gathering dictionary statistics prior to
    upgrading the database.
    To gather dictionary statistics execute the following commands
    while connected as SYSDBA:
    EXECUTE dbms_stats.gather_schema_stats('CTXSYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('DBSNMP',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('MDSYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('ORDPLUGINS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('ORDSYS',options=>'GATHER'
    estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('OUTLN',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('SYS',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    EXECUTE dbms_stats.gather_schema_stats('SYSTEM',options=>'GATHER'
    ,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE
    ,method_opt=>'FOR ALL COLUMNS SIZE AUTO'
    ,cascade=>TRUE);
    Oracle recommends removing all hidden parameters prior to upgrading.
    To view existing hidden parameters execute the following command
    while connected AS SYSDBA:
    SELECT name,description from SYS.V$PARAMETER WHERE name
    LIKE '\_%' ESCAPE '\'
    Changes will need to be made in the init.ora or spfile.
    Oracle recommends reviewing any defined events prior to upgrading.
    Changes will need to be made in the init.ora or spfile.
    Oracle recommends reviewing any defined events prior to upgrading.
    To view existing non-default events execute the following commands
    while connected AS SYSDBA:
    Events:
    SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
    WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'
    Trace Events:
    SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
    WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'
    Changes will need to be made in the init.ora or spfile.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.2 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    From above output script
    1)SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8546 MB
    From system tablespace minimum required size means free space from system tablespace or total size of system tablespace?
    i am going to use dbua utility for upgrade means does it alter tablespace as per output of scripts or we need to manually alter tablespace size as per requirement?
    2)WARNING: --> Database contains schemas with objects dependent on DBMS_LDAP package.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    what is above warning and how can i configure ACL's for APPS User?
    Thanks
    With Regards
    A-Z

    Hi
    oratst@ebsdevdb on /ebdbh/11g/data/cfgtoollogs/dbua/ebstest/upgrade1 # more Upgrade_Directive.log
    Connected.
    ODMA_DIRECTIVE:VERSION:9.2.0.8
    ODMA_DIRECTIVE:MIGRATE_SID:
    ODMA_DIRECTIVE:ORA:IGNORE:06512:
    ODMA_DIRECTIVE:ORA:FATAL:00600:
    ODMA_DIRECTIVE:ORA:FATAL:01012:
    ODMA_DIRECTIVE:ORA:FATAL:01031:
    ODMA_DIRECTIVE:ORA:FATAL:01034:
    ODMA_DIRECTIVE:ORA:FATAL:01078:
    ODMA_DIRECTIVE:ORA:FATAL:01092:
    ODMA_DIRECTIVE:ORA:FATAL:01109:
    ODMA_DIRECTIVE:ORA:FATAL:01119:
    ODMA_DIRECTIVE:ORA:FATAL:01507:
    ODMA_DIRECTIVE:ORA:FATAL:01722:
    ODMA_DIRECTIVE:ORA:FATAL:03113:
    ODMA_DIRECTIVE:ORA:FATAL:03114:
    ODMA_DIRECTIVE:ORA:FATAL:07445:
    ODMA_DIRECTIVE:ORA:FATAL:12560:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01650:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01651:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01652:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01653:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01654:
    ODMA_DIRECTIVE:ORA:RECOVER_TBS:01655:
    ODMA_DIRECTIVE:ORA:RECOVER_ROLL:01562:
    ODMA_DIRECTIVE:ORA:RECOVER_INIT:04031:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catupgrd.sql:
    ODMA_DIRECTIVE:BOUNCE_DATABASE:UPGRADE:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:rdbms/admin/catuppst.sql:
    ODMA_DIRECTIVE:SCRIPT:UPGRADE:sqlplus/admin/help/hlpbld.sql helpus.sql:
    Thanks
    With Regards
    A-Z

  • Database Upgrade in Data Gaurd

    Hi all,
    i have an active data guard running
    i wont to upgrade my database what should i do?? should i stop my dataguard
    shutdown both primary database and secondary database
    upgrade primary first then secondary database, then i'll make again dataguard  ??
    or any other best recommendations ??

    Hi CKPT,
    Can you help me to find the best method how to upgrade 10.2.0.4 to 11.2.0.3 with physical standby database, in my opinion :
    1. Stop applying redo log
    2. Stop all standby service
    3. Upgrade standby
    4. Switchover to upgrade standby
    5. Upgrade old primary if no error in step 4
    6. Switchback
    Please give any suggestion to best method and minimal downtime, and note i have more 4TB data, thank's.

  • Third party backup software support for dataguard configurations

    Any Oracle document about the subject?
    I would be interested in an answer about backupexec 2010 r2 in particular, because reading the manual for its oracle agent there is information about Oracle/RMAN and RAC support, but nothing about Dataguard integration, that could be a value added.
    Anyone using third party backup agents in a Dataguard configuration?
    Interested in version 11gR2 on Linux.
    Thanks,
    Gianluca

    yes, you should be able to use the full backup taken in middle and use the rest of the log backups taken afterwards to restore the database.while I do not use TSM, we use QUEST(DELL) LITESPEED, that takes full backup once a day and log backups
    every 15mins.
    if someone accidentally takes full backup in the middle of day with out 'copy only',
    log sequence will break and successive log backups depend on this full back up.
    while this should be prevented from happening in first place, you can still restore from native full backup and then apply log backups taken from third party taken after the  native Full backup.
    if this happens, I would restore the FULLBACKP with NORECOVERY using NATIVE SQL and then use  lite speed syntax to restore the log backups.Remember, native sql cannot read third party formatted backups(atleast litespeed), thats why I restore the full backup
    using native sql, since it was taken with native sql backup and log backups using litespeed syntax.
    Hope it Helps!!
    Thanks, well it was just a theory discussion we had about the issue. But none of us could find info on the internet easy to prove our point :) Thanks.

  • Breaking DataGuard Configuration

    Hi
    We are in process of doing database upgrade in dataguard configuration and we are planning to break the dataguard configuration and we will do the upgrade in standby database then we will do it in primary. My questions here is
    1)I am going to break the Dg configuration like disabling the DGBROKER,unset the archivelog dest,dg_broker_start=false.....so onnn
    2)How to open the standby database in readwrite mode.
    DB VERSION IS 9.2.0.6
    os is WINDOWS-2000
    kk

    Hi Ogan,
    Can i do the following steps to break primary and standby.
    1)DISABLE DATAGUARD BROKER CONFIGURATION
    2)STOP MRP PROCESS ON STANDBY --->ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;---->
    3) On the primary disable any archive destinations that are archiving to the standby:
    SQL> select dest_id,destination,status from v$archive_dest where target=’STANDBY’;
    SQL> alter system set log_archive_dest_state_2=defer scope=both;
    4)on standby database mount standby database and issues the below command
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    if i do like this is it going to work as primary???
    KK

  • Forms HOST command no longer works after database upgrade from 10g to 11g

    Hi,
    After upgrading the database 10g to 11g the forms HOST command no longer works on Unix server. The form used to work fine prior the upgrade. I read all the threads I could find and did not see any solutions. Adding PATH and LD_LIBRARY_PATH does not work because it does not even run a basic shell script. (I saw this solution, adding PATH and LD_LIBRARY_PATH, in many questions / threads).
    1. I wouldn't expect the database upgrade to be an issue, but it is the only change we had.
    2. Note, 11g is Oracle Fusion Middleware which is quite a bit different than 10g.
    I even tried the most basic commands like "echo" which is a build-in Unix command and there is no directory for it (ie. no /usr/bin - so variable PATH is irrelvent). i.e HOST('echo hi'); and HOST('echo "hi" '); and even HOST ('echo hi > /my_file.txt'); all returns FORMS_FAILURE (actually the if is IF FORM_SUCCESS THEN ... else ... and the else part always runs now - whereas it didn't before.).
    Or basic commands like /usr/bin/ls as in HOST(/usr/bin/ls). At that point I was just testing the Unix command would return FORM_SUCCESS even though I could not see the results (because they weren't writing to a log file). Notice that I'm using the direct path /usr/bin so no Unix environment variables were needed.
    The form does use webutil but that part works. For example, we have webutil_file_transfer( ....) The file shows up on the application server and in the expected directory.
    Here's the main goal. Upload a file from clients local PC to the datebase server. The form uploads the file to the Application server, then we have a Unix script to scp (secure copy) the file from the application server to the database server. IF webutil, or any other Oracle functions could put the file on the database server that would be better. But, I don't know of any procedures that do that - or would have done it cleanly (i.e. storing to database and write back to server and then using a blob etc. )
    Anyway, I was hoping someone would help with either of these.
    1) Get the HOST command to work. - If we can get that to work then I wouldn't need any more help. We can just call the already existing Unix script to copy the file from the application server to the database.
    2) OR be able to upload directly to the database server - wanted to do that originally
    Any help would be appreciated

    Solution for those interested and for anyone else searching this forum for a solution
    I found this on My Oracle Support:
    <h3>Host Command from Forms Not Working in 11g in Sun Solaris Sparc OS [ID 1157346.1]</h3>
    Applies To: Oracle Forms - Version 11.1.1.1.0 and later
    Sun SPARC Sun OS
    Symptoms:
    When trying to execute a Shell script or any OS command using the host() Built-in from Forms 11g, the host()command is not getting executed. The same functionality works on other operating systems and in previous versions like 10gR2.
    Steps to be followed:
    1) Take a backup and edit the $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config/default.env or any custom environment file.
    2) Locate the following environment variable:
    LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) Comment out this variable. After the changes, it will look like the following:
    #LD_PRELOAD=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    3) a) Instead of LD_PRELOAD, kindly use LD_PRELOAD_64 as given below :
    LD_PRELOAD_64=/ora10gas/app/11.1.0/Middleware/as_1/jdk/jre/lib/sparcv9/libjsig.so
    (This makes HOST AND RUN_REPORT_OBJECT work fine).
    4) Save the file and execute your forms. The Host() built-in will work as expected
    The LD_PRELOAD setting in default.env is only required for the working of signal chaining facility in JVM version 1.5 and later. If you are not using theSignal chaining facility, this variable is not required. For more information, refer to the following documentation
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14772/forms.htm#CJAJGAFF

  • Oracle Database upgrade to 11G (Host_Command Issues)

    Sorry I'm posting this again. Original post in Database - Upgrade. I'm not getting a lot of clicks in that category
    We recently upgraded to Oracle 11g (Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production). Our PL/SQL release: (PL/SQL Release 11.2.0.2.0 - Production). We use a lot of host commands inside our PL/SQL stored procedures. One of these included fetching data from an external server and pushing the data into Oracle Tables.
    Most of this process is running fine, except the execution never completes. There is no issue data wise. It's just that the Host_command doesn't receive the completion status and seems to be running even though there's nothing going on in the background.
    The Oracle e-business suite's concurrent program based on this stored proc also never completes, though it doesn't do anything in the background. For testing purpose, our DBA used 2 insert statements one before and one after the host_command. The insert before the host_command worked but not the one after. Please help! This is happening after we upgraded to 11g 3 weeks ago!
    Thanks, Naveen Gagadam.

    Pl do not post duplicates - Upgrade to 11g, Host Command Inside Stored Proc doesn't end.
    I have moved your duplicate post to the EBS forums
    Srini

  • 11.5.10.2 12.1.1 and 10g 11g database upgrade at same time

    I have just started an 11.5.10.2 > 12.1.1 upgrade and have created a project in MWIZ 2.15 for it.
    I would also like to upgrade the 10.2.0.2 database to 11.1.0.7 as part of the same upgrade and create an MWIZ project for that.
    I have a couple of questions that the MWIZ FAQ does not address:
    1. At what point in the 11.5.10.2 > 12.1.1 upgrade should I do the database upgrade?
    MWIZ has two points when it can be done based on apps/database versions. One is at the end of the 'Prep for Upgrade' category and the other is during the 'Upg to Rel 12.1.1' category. The MWIZ step notes cover upgrading to the latest 10g or 11g patch version but not upgrading from 10g to 11g so I am unsure which category to go for.
    2. When I create the database upgrade project which 'Destination Version' should I choose?
    The two options are 'RDBMS 11.1 and E-Business Suite 11.5' and 'RDBMS 11.1 and E-Business Suite 12'.
    As I haven't upgraded to R12 yet and am still at the pre-upgrade stage should I pick 11.5? Or should I go with R12 because I am upgrading Apps and the database at the same time?
    Any help and advice gratefully received.
    Thanks

    Answer to above question not required now as:
    Having read the 24th December update of note 761570.1 - 'Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade' I have decided to upgrade the database to 11.2.0.x by following the Path C option.
    Unfortunately as the 11.2.0.x upgrade isn't covered by MWIZ yet I will have to follow the manual steps.

  • SCCM 2012 R2 SQL Database Upgrade Fails : Setup cannot upgrade the ConfigMgr database. Contact your SQL administrator.

    Hi Friends,
    We have planned to upgrade our SCCM 2012 SP1 infrastructure to SCCM 2012 R2 so we have setup test environment to test SQL database upgrade before doing same in production.
    But while testing SQL database upgrade on test machine, it is getting failed with below error.
    ConfigMgrSetupWizard.log
    ConfigMgrSetupWizard Verbose: 1 : Scripted setup failure handling callback called. Failure: 29.
    ConfigMgrSetupWizard Verbose: 1 : Received error [Setup cannot upgrade the ConfigMgr database. Contact your SQL administrator.] from native code.
    ConfigMgrSetup.log
    ERROR: SQL Server error: [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL Server]Violation of PRIMARY KEY constraint 'ContentDistribution_PK'. Cannot insert duplicate key in object 'dbo.ContentDistribution'. The duplicate key value is (921). :
    tr_ContentDistributionNotification_insert
    ERROR: Failed to execute SQL Server command:  ~-- ~-- Rebuild ContentDistribution tables ~-- ~IF (EXISTS(SELECT TOP 1 1 FROM dbo.SMSData WHERE SMSBuildNumber <=  7900) AND dbo.fnIsSecondary() != 1) ~BEGIN ~    exec spRebuildContentDistribution
    @TruncateTables=0 ~END
    Failed to create process of SetupWpf.exe.
    Can anyone please help to get this resolved.
    Thanks. 

    We found out that there were duplicate entries in the PkgStatus_G and the PkgServers_G tables in the SCCM DB.  We identified them, deleted them , and then we were able to run the /TESTDBUPGRADE command and it went through fine.  We performed
    all of this on a COPY of the PROD DB and then moved the changes in PROD.  Hope this helps someone.
    - Dave

  • How can I determine what sites are being referenced within Central Admin Upgrade and Migration Manage Databases Upgrade Status?

    When I go to Central Admin > Upgrade and Migration  > Manage Databases Upgrade Status, I have 2 content databases which have the status:
    Database is up to date, but some sites are not completely upgraded.
    How can I determine which sites are not completely upgraded?

    Manage Databases Upgrade Status will provide you all active and offline DB details, you can get same result
    using below PowerShell cmdlet.
    Get-SPDatabase and Get-SPContentDatabase will provide all active database/Content DB in Farm which include Service application db, central admin DB.
    Get-SPDatabase | Format-Table Name, ID
    Coming back to your question, if you find that there are some site are not completely upgraded then run below command and understand the cause if issue on specific DB.
    Test-SPContentDatabase WSS_ContentDB_Name
    If you find any missing file issue in DB then resolve these issue to upgrade content database.
    (verify all customizations referenced within the content database are also installed in the web application. This cmdlet can be issued
    against a content database currently attached to the farm, or a content database that is not connected to the farm )
    Use the Upgrade-SPContentDatabase cmdlet
    to resume a failed database upgrade or begin a build-to-build database upgrade against a SharePoint content database
    Upgrade-SPContentDatabase WSS_Content
    reference:
    http://technet.microsoft.com/en-us/library/ff607813(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ff607941(v=office.15).aspx
    If my contribution helps you, please click Mark As Answer on that post and
    Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Database Upgrade 10.1.0.4 to 10.2.0.4

    Newbie here.
    So I am starting to use OEM on Windows XP workstation and have upgraded it to 10.2.0.4 and also wanted to upgrade the repository to 10.2.0.4 as well.
    So this is what I have done so far.
    I have installed 10.2.0.1 into a new home. I have patch it to 10.2.0.4. I am using DBUA to upgrade the database and have set my ORACLE_HOME to the new home and started DBUA. Everything is working just fine until the new OracleService is created and is trying to start. I received a message that it is unable to start service. If i click on continue I received the ORA-12560 TNS error. I have tried multiple times to get this to work and it always fails on this part..
    Also to let you know that when I connect to SQLPlus before upgrade I have to connect using sysplus sysman/xxxxx@emrep with out emrep it won't connect. I have also set TNS_ADMIN to the original homes network/admin directory.
    I have research the documentation on upgrading, but maybe I am missing a step or someone has run into the same issue.
    Any help you can lend me would be appreciated.

    The database files won't be copied over. As general practice, databases aren't stored under Oracle Homes. You could always fix that by moving the database, backup the control file to trace, and edit it with new file locations. I wouldn't worry about that right now.
    Did you run the prerequisite script before trying to upgrade?
    <10.2 HOME>/rdbms/admin/utlu102i.sql
    Once a database is opened upgrade, you won't be able to open it with the old binaries.
    Was the listener up when you tried to connect to it with 10.1? Were there any errors?
    The manual process of upgrading the database is to export the 10.2 env, open the database upgrade, upgrade the data dictionary <10.2HOME>/rdbms/admin/catupgrd.sql, startup the database normally, and Compile all the invalid objects <10.2HOME>/rdbms/admin/utlrp.sql. I would make sure to go over the sql that executes prerequisite checks and read through the upgrade docs. I would also take a backup before doing anything.

Maybe you are looking for

  • ERROR IN STOCK POSTING

    while doing stock posting I am getting the bellow error T.code:MB1C (Period 004/2014 is not open for account type S and G/L 799999) Discussion locked. Reason: 1. Basic question. Please put some effort in search & trail, before you post your query as

  • Unable to send or receive email this morning

    Hello, I'm not able to send or recieve emails from Verizon this moring using Windows Live Mail.  I've rebooted my PC but still problem pesists.  Below is the message I receive.  Is there an issue with Verizon mail this morning? Thank you for your ass

  • Question for Capacity Planning

    We are planning a large expansion of users and regions and therefore, data in our application. I am trying to figure the most important items that need to be covered for this move from an oracle architecture standpoint. So far I have: # of users curr

  • Why have my contacts disappeared?

    I've got an iPhone 4s running OS 7.0.6. Today my contacts disappeared. I have always had my iCloud backup enabled and I've used it to restore on previous occasions, but when I went to the settings it was disabled. Is there any reasone why this would

  • Anti-aliased text when exporting PDF to image

    I need to be able to batch-convert multi-page PDFs to individual bitmap images (one image for each page) with anti-aliased text. Photoshop works this way if you open a single PDF, allowing you to select one or more pages to rasterize as separate imag