Datapatch on the new empty container (CBD, exadata 12.1.0.2) database returns the error state of the PDB.

I created a new CBD CAR empty database on a cluster exadata using an ORACLE_HOME (12.1.0.2) which has been patched with patch latest bundle.

I ran the datapatch utility to apply these patches to the container before any new APB to a database that is already patched the cloning.

However, datapatch first correctly identifies adjustments but it fails on a prereq error:

DINVCDB:Oracle@dev-EXD-dbadm01:~/DINVCDB > datapatch

Remedial tool version 12.1.0.2.0 SQL kill him Dec 22 21:14:15 2015

Copyright (c) 2015, Oracle.  All rights reserved.

Connecting to the database... Ok

Note: Datapatch will only apply or rollback SQL fix for PDB

that are in an open State, no patches will be applied to the closed PDBs.

Please refer to the Note: Datapatch: database 12 c Post Patch SQL Automation

(Doc ID 1585822.1)

Determine the current state...

Adding patches to the installation queue and execution prereq checks...

Queue the installation:

For the following PDB files: PEH$ ROOT APB$ SEEDS

Nothing to roll back

Apply the following patches:

21555660 (database 12.1.0.2.5, consisting of virtual machine Java of Oracle (Oct2015) power supply)

21694919 (DATABASE PATCH BUNDLE: 12.1.0.2.13 (21694919))

Error: failure of prereq cheques!

patch 21555660: pluggable databases that need to be patched should be in upgrade mode

PREREQ check failed, out without having to install patches.


Please refer to 1609718.1 Note MOS and/or the log of the invocation

/U01/app/Oracle/cfgtoollogs/sqlpatch/sqlpatch_11932_2015_12_22_21_14_15/sqlpatch_invocation.log

For more information on how to fix the above errors.


Patching SQL tool on Mar 22 21:16:26 dec 2015


Unfortunately the MOS score is General and I do not see this situation described. The newspaper simply indicates this same error.


Since there is no PDB, why make this mistake?  I don't think it's possible to open the PDB$ SEEDS as upgrade?


I had already tried cloning my non - PDB in a PDB here (successfully) file, but then I also met problems with datapatch (in PDB not at CDB patch).  I tried with the options and force database and this succeeded with warnings, but I was unable to open the PDB.  I thought, okay, what oracle says that the whole point of multitenant is to be able to update the plugin, it should be possible to patch a CBD empty.  I can't seem to find much on this point, somebody manage this problem?


What is the best method to establish the original CDB and ensure that it is patched in line with its ORACLE_HOME?


Thank you!

Sandra

sidneys wrote:

Error: failure of prereq cheques!

patch 21555660: pluggable databases that need to be patched should be in upgrade mode

PREREQ check failed, out without having to install patches.

to work around this problem, new PSU have a new dependency for the datapatch to be applied correctly.

1 starting in fashion upgrade instance

start upgrade

2. then apply datapach

$ORACLE_HOME/OPatch/datapach - verbose

3. restart the instance in normal mode

Tags: Database

Similar Questions

  • Create/remove the container following the event full/empty container

    Mr President.

    I'm creating a simple editor. now, I want to create a new container each previous time container is full with text and/or images. I also want to delete if it is empty. Can you help me event that will be useful to make these two

    Thank you

    Hello Raja

    You must do the following

    Add

    If (textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).calculateH eight() > textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).comp ositionHeight) {}

    create the next controller

    }

    To remove

    {If (textFlow.flowComposer.getControllerAt(textFlow.flowComposer.numControllers-1).calculateH {eight () == 0)}

    remove the last empty container
    }
  • I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • In the last week of firefox won't open a new empty tab and will not bring upward bookmarks options organization when I bookmark on a page. I have not changed my settings and can not find the settings that cause this difference. Any ideas?

    I hear a new empty tab, this is what happens if I click on the button with the + next door already open tabs or navigate to the file and click New tab nothing.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

  • When I start the Director I get "the collection of files its not valid or its corrupted. A new empty collections file has been created ".

    I've been using Director windows 2.6 on my operating system from vista for several months.   I just did the upgrade to windows 7 and now I get this message.

    "The collection file is not valid or its corrupted." A new empty collections file has been created "."

    Then, it closes the program.

    I had to rename a file called FFDshow.ax to another program called Muvee AutoProducer 6.1 works but I do not see how would the file collections of this program.

    Help, please.

    Thank you...

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to / stationed there.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • Cannot open the new empty file, message with adobe color engine problem

    Hello:

    I upgraded to elements 9 has received as a gift from Christtmas.  Installed on imac 27 "of the disc.  When I try to open a new empty file it tells me that there is a problem with the adobe color engine?  I thought that I had used the software, but I guess the last thing I did was before Christmas with pse 8.

    Help

    Thank you

    Uninstall (use uninstaller in applications > PSE 9) and reinstall. If you have any type of antivirus software, disable it for installation. Not a bad idea to create a new admin user (System Preferences > accounts) and log in there for the installation. (If all goes well, you can delete the new account later).

  • When I answer a mail, or want to send an e-mail, a new empty email opens. It started a few weeks ago. No idea how to stop what is happening. Help, please.

    I use an iMac with El Capitan 10.11.3 in my email software, a problem started a few weeks ago. When I answer a mail, or want to send an e-mail, a new empty email opens. No idea how to stop what is happening.

    E-mail programs must close and restart. Empty mails are stored under Concepts and should be deleted.

    Then a mail can be answered, but with the 2nd mail, the same thing happens again, and an empty mailpage appears again.

    Very annoying. Help, please.

    Please remove "Report", also known as the 'Trusteer Endpoint Protection', following the instructions on this page.

    Back up all data before making any changes.

  • Synchronization between the CBD and the PDB 12 c

    Hello

    I read the following the my 12 c new student guide:

    If a common to users and roles had been created beforehand, the PDB new or closed must be synchronized to retrieve new common users and roles of the root. The synchronization is performed automatically if the PDB is opened in read-write mode. If you open the PDB in read-only mode, an error is returned.

    SQL> select version from v$instance;
      12.1.0.1.0
    SQL> sho con_name
      CDB$ROOT
    SQL> select con_id,name, open_mode from v$pdbs;
      2 PDB$SEED            READ ONLY
      3 PDB2_1              READ ONLY
    SQL> create user c##dude identified by dude;
      User created.
    SQL> select * from PDB_PLUG_IN_VIOLATIONS;
      no rows selected.
    SQL> drop user c##dude cascade;
      User dropped.
    
    User dropped.
    
    

    If I understand the student's guide, creating a common root user $ CBD can be created, modified, dropped when the PDB is mounted mode, but read-only must return an error.

    Any ideas that I can not reproduce this behavior?

    Thank you!

    I suggest that repost you this thread in the forum shared.

    Re-read that quote you posted.

    In your example the PDB is NOT closed when you created the common user.

    For this purpose, you do not have "open the PDB in read-only mode after having created a common user.

    Common users must have privileges in all PDB files.

    If you create a common user when a PDB file is closed the PDB data dictionary entries will not be updated.

    When you open then the PDB in view write Oracle detects that the PDB data dictionary is out of sync and refresh it. It cannot do this if you open the PDB read-only.

  • KKT response: there was an error trying to get the status of the job. 1: the server returned an error of CloseJob treatment: empty stack.

    In response to KKT:

    "Just to give my opinion on it.

    When you try to restore a backup file of Version, you get this error.

    This is a known fault.  The problem is caused by missing values in properties such as AddedOn, AddedBy, which can occur when a version is copied with "Clearly changed properties" selected.

    It is a known bug, but to work around - mix version in a new empty version, which will fill the properties of "ChangedOn". You can then save this version and restore it.

    Thank you

    "~ MICHEL ~".

    KKT thanks for your response.  Unfortunately, this error occurs on all Versions in our Test of DRM environment. Recently, we have copied on the Production of DRM scheme to the Test environment. So... not sure what causes this error.  Any other suggestions?

    Why you open post for answers, please answer on the same post.

    also I will offer you to Open SR with Oracle parallel until you found the answer.

    Close the other threads.

    Thank you

    ~ KKT ~.

  • How to recompile PKG not valid in the PDB by referring to the CBD as LINK of METADATA

    Hello

    I would like to recompile invalid package belonged to SYS in PDB. This package point as METADATA LINK to package in the SYS schema in CBD (it has been recompiled successfully in CBD previously).

    See scenario:

    sqlplus sys/[email protected]/cdb_db as sysdba

    SQL > select status, owner, object_name, con_id from cdb_objects where object_name = 'HTMLDB_SYSTEM' and object_type 'PACKAGE Body ';

    OWNER OF CON_IDOBJECT_NAMESTATUS

    ------ ---------- ---------------  --------

    1 SYS
    HTMLDB_SYSTEM
    VALID
    2 SYSHTMLDB_SYSTEMNot valid
    3 SYSHTMLDB_SYSTEMNot valid

    SQL > alter session set container = pdb12;

    Modified session.

    SQL > show con_id

    CON_ID

    ------------------------------

    3

    SQL > select owner object_name object_type, status, sharing, con_id from cdb_objects where <>of status "VALID."

    OWNER OBJECT_NAME OBJECT_TYPE STATUS SHARING CON_ID

    --------- -------------------------- --------------- ------- ------------- ----------

    SYS HTMLDB_SYSTEM PACKAGE METADATA BODY NO VALID LINK 3

    APEX_PKG_APP_INSTALL_LOG PUBLIC SYNONYM OF METADATA NOT VALID LINK 3

    SYS HTMLDB_SYSTEM PACKAGE METADATA BODY NO VALID LINK 2

    APEX_PKG_APP_INSTALL_LOG PUBLIC SYNONYM OF METADATA NOT VALID LINK 2

    SQL > change the SYS package. HTMLDB_SYSTEM compile body;

    change the SYS package. HTMLDB_SYSTEM compile body

    *

    ERROR on line 1:

    ORA-65040: operation not allowed a pluggable database

    How to compile HTMLDB_SYSTEM in PDB when more metadata referring to CBD link?


    Hello

    Check this note

    HTMLDB_SYSTEM package is not valid after deletion APEX (Doc ID 1231863.1)

    HTH

    Anuj

  • Once you install a new printer firmware for your printer, is it possible to return to the earlier version of the firmware of the printer in case an error occurs?

    Once you install a new printer firmware for your printer, is it possible to return to the earlier version of the firmware of the printer in case an error occurs?

    It may be an option, as long as the error prevents you to connect to the machine. Even so, some firmware update software will not allow a downgrade. This is something that you should go to the manufacturer of the printer for more information.

  • Adobe CC will not update my Photoshop and Lightroom for the new 2015 CC, it fails at 43% every time and gives an error code of 50

    Adobe CC will not update my Photoshop and Lightroom for the new 2015 CC, it fails at 43% every time and gives an error code 50.

    Hi Gregory,

    Please refer to the threads below to resolve the error code 50:

    Which is updated CC 50 error Code?

    Setup error - code error 50 creative cloud.

    You can also try to download the app from the link below:

    Direct download links of Adobe CC 2015: 2015 creative cloud release | ProDesignTools

    * Be sure to read the important Instructions before downloading *.

    Kind regards

    Sheena

  • Customize the location of the PDB file $ SEEDS

    Hello

    I have 2 nodes PAP with ASM fs (+ data)

    When I created a database with dbca (an empty container without PDB) CBD PDB$ ORIGINAL data file is not stored in the directory /pdbseed /.

    as following

    SQL > select file_name in dba_data_files;

    FILE_NAME

    --------------------------------------------------------------------------------

    + DATA / pdb$ seed_system01.dbf

    + DATA / pdb$ seed_sysaux01.dbf

    SQL > select file_name in dba_temp_files;

    FILE_NAME

    --------------------------------------------------------------------------------

    + DATA / pdbseed_temp01.dbf

    I have a few question:

    1. SEEDS of $ PDB will look good if it is stored in its own directory, for example:

    +Data/pdbseed/System01.dbf

    2. when I try to create the PDB PDB the seed file $ I can't convert the seed of $ pdb because I have 2 seeds of $ format pdb for system and sysaux pdbseed temp.

    SQL > CREATE PLUGGABLE DATABASE pdb3

    Pdb3_admin IDENTIFIED BY the USER ADMIN ROLES oracle = (CONNECT)

    FILE_NAME_CONVERT = ('+ DATA/PDB$ seed_ ',' + DATA / pdb3 /');  2 3

    CREATE a DATABASE PLUG-IN pdb3

    *

    ERROR on line 1:

    ORA-65005: missing or not valid file name for the file model.

    + DATA / pdbseed_temp01.dbf

    What can I do to resolve above problem, I think that if I solve problem 1 problem 2 is not applicable.

    I have solved this, watch as we need to take care of the suffix of file temp

    FILE_NAME_CONVERT = ('+ DATA/PDB$ seed_ ',' + DATA / pdb3 / ',' + DATA/pdbseed_ ',' + DATA / pdb3 /')

    What's new in Oracle Database 12 c: APB create PDB$ SEEDS (appropriate PDB directory)

  • Incompatibility of fix SQL: installed in the PDB but not in the CDB - how to fix?

    I have a 12.1.0.1 database in which I wanted to migrate a number of PDB files in the AL32UTF character set. To do this I created a second database (temporary) with the character OK, unplugged and re plugged each PDB and ran the DMA you to migrate the PDB files - all right.

    Then, I dropped the first database and built another one with the correct character set.

    When I disconnect and reconnect the PDB from temporary to the new database, I get the PDB next violation:

    PDB_ACPT_CLONE SQL patch 19648840 offset: installed in the PDB but not in the CDB.

    This patch had been applied to the original and then rolled database before the new and temporary databases have been created.

    datapatch says:

    C:\oracle\product\12.1.0\dbhome_1\OPatch > datapatch-verb

    Patching SQL tool version 12.1.0.1.0 Wed Jan 21 09:43

    Copyright (c) 2012, Oracle.  All rights reserved.

    Connecting to the database... Ok

    Determine the current state...

    SQL patches currently installed:

    PDB CBD$ ROOT:

    PDB PDB$ SEED:

    PDB_ORCL12C OF THE PDB:

    PDB_ACPT_CLONE OF THE PDB:

    C patches currently installed:

    For the following PDB files: PEH$ ROOT

    Nothing to roll back

    Nothing to apply

    For the following PDB files: APB$ SEEDS

    Nothing to roll back

    Nothing to apply

    For the following PDB files: PDB_ORCL12C

    Nothing to roll back

    Nothing to apply

    For the following PDB files: PDB_ACPT_CLONE

    Nothing to roll back

    Nothing to apply

    Patching SQL tool Wed Jan 21 09:43:44 2015

    C:\oracle\product\12.1.0\dbhome_1\OPatch >

    PDB_ORCL12C has been created in the new database.

    Moved PDB is now stuck in RESTRICTED mode.

    Any ideas on how to solve this problem?

    Looks like the restoration of the original patch in CBD was not perfect.

    Option could be applying the fix to the PIC and try to plug in the PDB.

    If critical instances raise SR

    concerning

    Pravin

  • oracle12c: I can connect to PDB directly to the client, but I can't connect to the PDB on server.

    My CBD is orcl and PDB is pdborcl.

    Here is my TNS.ora

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.122.119)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl.dalian.hisoft.com)

    )

    )

    PDBORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.122.119)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = PDBORCL)

    )

    )

    LISTENER.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = d:\app\pactera\product\12.1.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:d:\app\pactera\product\12.1.0\dbhome_1\bin\oraclr12.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = WIN - LNCGCE7GS14.dalian.hisoft.com)(PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    Can I conncet to pdborcl directly using the SQL Developer client.

    But I can't connect to pdborcl on the server SQL developer with ora-12514 error.

    What should I do if I want to connect to PDB, directly on the server?

    I think you may have some confusion about service names. The service of the PDB PDORCL or is - this PDBORCL.dalian.hisoft.com? It is rare to have a domain for the service of the root container, but not for the plug-in container service.

Maybe you are looking for