How to convert the non - CBD CBD
Hello
I recently updated my 11.2.0.2 test to 12.1.0.2 database. I did it using the manual method using perl script. I'm trying to convert the non - CBD CBD. But it fails with the following error.
Can you please guide me where I am wrong?
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> startup mount exclusive ORACLE instance started. Total System Global Area 2684354560 bytes Fixed Size 3788008 bytes Variable Size 1006633752 bytes Database Buffers 1660944384 bytes Redo Buffers 12988416 bytes Database mounted. SQL> alter database open read only; Database altered. SQL> !mkdir -p /oracle/TEST/oradata/noncdb SQL> exec dbms_pdb.describe(pdb_descr_file=>'/oracle/TEST/oradata/noncdb/noncdbtest12c.xml'); PL/SQL procedure successfully completed. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 2684354560 bytes Fixed Size 3788008 bytes Variable Size 1006633752 bytes Database Buffers 1660944384 bytes Redo Buffers 12988416 bytes Database mounted. Database opened. SQL> sho con_name CON_NAME ------------------------------ test12c SQL> sho con_id CON_ID ------------------------------ 0 SQL> create pluggable database exnoncdb_test12c as clone using '/oracle/TEST/oradata/noncdb/noncdbtest12c.xml' file_name_convert=('/oracle/TEST/oradata/','/oracle/TEST/oradata/noncdb/') copy; 2 3 4 5 create pluggable database exnoncdb_test12c * ERROR at line 1: ORA-65090: operation only allowed in a container database cted to: O
Thank you
Arul
1723552 wrote:
Hello
I recently updated my 11.2.0.2 test to 12.1.0.2 database. I did it using the manual method using perl script. I'm trying to convert the non - CBD CBD. But it fails with the following error.
Can you please guide me where I am wrong?
- SQL > startup mount exclusive
- . . .
- SQL > alter database open read-only.
- . . .
- SQL >! mkdir/oracle/TEST/oradata/noncdb Pei
- . . .
- SQL > shutdown immediate
- . . .
- SQL > startup
- . . .
- SQL > create pluggable database at exnoncdb_test12c
- as clone
- using the ' / oracle/TEST/oradata/noncdb/noncdbtest12c.xml'
- file_name_convert =('/Oracle/test/oradata/','/Oracle/test/oradata/noncdb/')
- copy; 2 3 4 5
- create exnoncdb_test12c of the database plug-in
- *
- ERROR on line 1:
- ORA-65090: operation only allowed in a database of the container
- Executive management to:
- O
Arul
This link shows the steps to follow:
Adopting a Non - CBD as a snap-in database in a shared container database
Looks like you MISSED a step.
I think that your last START command (line #10 in my shortlist above) begins to the top of the newly converted DB and NOT the new CBD.
See step of binding ' creation and plug a PDB file in cdb2 using noncdb manifest file.
See where he uses '. oraenv' for cdb2 environmental? It doesn't seem like you have done this step. So I think that bad environment variables have been used when you did this last start.
That's why you got the exception 60090 on 'operation only allowed in a database of the container' - you are NOT in a database of the container.
Check your environment variables and make sure that you are connected to and the correct instance, started...
Tags: Database
Similar Questions
-
How to convert the precision extended float to float in C++
Hello
Could someone me please how to convert the extended precision (floatExt) float normal float in C++?
What is the difference in the float between Labview and C++ data type?
When I tried to receive a range of float of a function of the DLL generated by Labview in C++, data are bad.
Thank you
Victor King
You can search for numeric data types in LabVIEW help for more information on the different types of data. Before sending the data to the C++ application, you can use the function of Double precision on digital / range of Conversion to convert number to Double precision.
-
How to convert the date in milliseconds?
Hi all
Can I know how to convert the date in milliseconds?
My current datetime like this Formate
QDateTime::currentDateTime (m:System.NET.SocketAddress.ToString ("MMMM dd, yyyy HH"))
Seconds since January 1, 1970
http://Qt-project.org/doc/Qt-4.8/QDateTime.html#toTime_t
Sinds milliseconds January 1, 1970
http://Qt-project.org/doc/Qt-4.8/QDateTime.html#toMSecsSinceEpoch
-
Please how to convert the photo to the second
Please guys how to convert the kia rio pictures the second perfect like this, and with any program, I know that all steps in details please its very important
That looks just like you would use the tool pen to redraw on the image and create shape layers (black areas). It could be done in Photoshop or Illustrator.
-
Hello, I have a full desktop in Adobe Muse, site and I want to convert it into a version Tablet & phone, then, how would convert the site Office to Tablet & phone to copy the entire office content and site structure? Thanks for any help.
You can not automatically convert. Click on the "tablet" or "Phone" at the top of your plan view to create these versions.
You can then copy and paste on any content you want has more of your office.
-
How to convert the following code in as3?
As the title says... How to convert the following code to as3?... Thanks in advance.
import flash.display.BitmapData;
linkageId = "landscape";
myBitmapData = BitmapData.loadBitmap (linkageId);
MC = this.createEmptyMovieClip ("mc", 1);
mc.attachBitmap (myBitmapData, 1);onMouseMove = function() {}
myNewColor = "0 x" + myBitmapData.getPixel(_xmouse,_ymouse).toString (16);
newColor.setRGB (myNewColor);
selectedColor.colorValue.text = myNewColor;
}
selectedColor.swapDepths (_root.getNextHighestDepth ());
newColor = new Color (selectedColor.sample);:
var myBitmapData:landscape = new landscape (0,0);
var bmp:Bitmap = new Bitmap (myBitmapData);
addChild (bmp);stage.addEventListener (MouseEvent.MOUSE_MOVE, f);
function f(e:MouseEvent):void {}
var myNewColor:String = "0 x" + myBitmapData.getPixel(mouseX,mouseY).toString (16);
newColorTransform.color = uint (myNewColor);
selectedColor.sample.transform.colorTransform = newColorTransform;
selectedColor.colorValue.text = myNewColor;
}
addChild (selectedColor);
var newColorTransform:ColorTransform = selectedColor.sample.transform.colorTransform; -
How to convert the hierarchical query of SQL Server (CTE) to Oracle?
How to convert the hierarchical query of SQL Server (CTE) to Oracle?
WITH cte (col1, col2) AS
(
SELECT col1, col2
FROM dbo. [tb1]
WHERE col1 = 12
UNION ALL
SELECT c.col1, c.col2
FROM dbo. [tb1] AS c INNER JOIN cte AS p ON c.col2 = p.col1
)
DELETE one
FROM dbo. [tb1] AS an INNER JOIN b cte
ON a.col1 = b.col1Hello
Something like this maybe:DELETE FROM dbo.tb1 a WHERE EXISTS ( SELECT 1 FROM dbo.tb1 b WHERE a.co11 = b.col1 AND a.col2 = b.col2 START WITH b.col1 = 12 CONNECT BY b.col2 = PRIOR b.col1)
Although you need to do here is to check that CONNECT it BY SELECT, returns records you wait first, then the DELETION should work too.
-
My sync key was of 12 characters, no dashes (xxxxxxxxxxxx). After uninstalling and reinstalling FF 3.6.13, Sync 1.6.1 refuses my sync key to 12 characters.
I discovered, that the keys of synchronization for all users have been activated to 31 characters including 5 dashes (x-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx). How can I get the new key for synchronization?
I have no PC connected to Firefox Sync more but Firefox Home and 360 browser on my iPhone successfully sync. Unfortunately on the iPhone I can't display the sync currently used key. Is there a way to convert the old key to sync to the new?
I need the bookmarks saved in my sync account.
Thanks for your help!I had the same exact symptoms as you did. Here is my solution:
I installed an older version of firefox sync (1.4.something, I think) and then added my account using my old short firefox sync key. When you try to synchronize, the out of date addon says to do synchronization, it must be updated. After update, I always signed, but now had the additional device to see my new long firefox sync key that was compatible with FF 4 b, etc. Everything works fine now and my computer is properly synchronize. -
How to convert the substring to waveform
Hello
I have an input file with a lot of numbers that need to be converted to a waveform. I used the match model vi to extract the data I need to be traced out. These data can be seen in 'before the substring"but I do not know how to convert these data to waveform. Can anyone help? I have attached the input file and the vi as well. Thank you
Try using the worksheet File.vi reading. It converts a text file delimited by tab characters in a table of numbers in one step.
Lynn
-
How to convert the array of integer to string
Hi, I'm trying to convert the table of 32-bit integers to a string. For ex: If the array contains {1234, 4567, 8, 9} I need string like {00.00, 34,12, 00, 00, 45, 67,...}
How to do this one.
Help, please
Thank you best regards &,.
Harish. G.
Hi Haris,
use the above solution as it seems you really want figures BCD...
Or this slightly improved version:
-
How to convert the timestamp in varchar2
How to convert
-timestamp
TO_TIMESTAMP (' 29.01.2015 08:36:41 ','fmDDfm.fmMMfm.YYYY fmHH24fm:MI:SS') of double
in
-varchar2
20150129083641
Hello
Maybe something like this:
select to_char(to_date(substr(to_char(TO_TIMESTAMP('29.01.2015 08:36:41','fmDDfm.fmMMfm.YYYY fmHH24fm:MI:SS')),1,17), 'dd.mm.yy hh24:mi:ss'), 'yyyymmddhh24miss') from dual;
But the question is: what do you do? Sorting? Or you have a (very) old data model with varchars or numbers to organize the date fields?
concerning
Kay
-
How to convert the B/R channel on near infrared videos?
Hello
Context:
Using a defiltered DSLR equipped with near infrared infrared filter (590 or 665 nm) for example, we can take pictures of the IR. Then by a simple postprocesseing using an image editor, we can swap the red and blue channels to restore the blue color to the sky in the preservation of the color of the ntaure (tree, grass, etc.).
I know that using AE, we can enhance the colors of the individual frames of a movie.
Now, I want to move forward a step: convert R/B channels
Question:
Can we use After Effects to convert the blue and red of this video channels (B becomes R and R become B) to restore the blue color of the sky?
If we can, could list you the menu options AE access to do this?
Thanks in advance
Thierry
I did it. If you use curves to reverse the red and blue in Photoshop using curves in AE. If you want to swap the channels use a set of channels.
AE's Photoshop on steroids. He will do everything and more that you can do in Photoshop and most of the controls in the color is the same.
If you do not know how something use the help search field in the upper right corner of the app, and learn about the resources of the community.
-
How to convert the attribute into a processing instruction in indesign?
Hi all Experts,
How to convert attributes selected in a processing instruction using javascript in indesign.Please suggest me.
Kind regards
Jack
The problem came from namespace 'help '. You must add the namespace to the root element if they do not exist.
Try this...
var doc = app.activeDocument; var _root = doc.xmlElements[0]; if( !_root.xmlAttributes.itemByName("xmlns:aid").isValid ){ _root.xmlAttributes.add( "xmlns:aid", "http://ns.adobe.com/Adobe InDesign/4.0/" ); } var _xmlElements = _root.evaluateXPathExpression("descendant-or-self::*[@*[name()='aid:pstyle']]"); var i = _xmlElements.length; while( i-- ){ _xmlElements[i].xmlInstructions.add('aid:pstyle', _xmlElements[i].xmlAttributes.item('aid:pstyle').value); _xmlElements[i].xmlAttributes.item('aid:pstyle').remove(); }
-
How to convert the FrontPage Web in Muse?
I have an existing Web site that is based on Microsoft FrontPage. From now on, I would use the Muse instead of Dreamweaver among the two candidates that I love. How is - a converts the FrontPage in the Muse?
Hello
Please see the forum below links for the same survey.
https://forums.Adobe.com/message/6048080
https://forums.Adobe.com/message/4319657
https://forums.Adobe.com/message/5310368
Concerning
Vivek
-
How to convert the entries in the zip code format valid UK
I want to take an entry of users and convert it to a format of postal code valid UK. Specifically, I want to add a space to the topic, if they are not entered in it.
then "G13NU" is converted to "G1 3NU.
Valid postal code formats are
A0 0AA eg G1 3NU
A00 0AA
A0A 0AA
AA0 0AA
AA00 0AA
AA0A 0AA
Has anyone done similar before, or have any advice?Hello
What exactly are the rules for where we need to go?
Will there always be exactly 1 space, and it will always immediately before the last digit?
If so:REGEXP_REPLACE ( REPLACE (postal_code, ' ') , '([0-9][^0-9]+$)' , ' \1' )
REPLACE (in the first argukment to REGEXP_REPLACE) is required only if the original zip_code can contain spaces.
I hope that answers your question.
If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements), and the results you want from this data.
Highlight a few places where the expression above does not do what you need and explain how you get the correct results of the data in these places.
Always tell what version of Oracle you are using.
Maybe you are looking for
-
I have a new iMac OS X 10.6.7With my old computer, I could save my online banking login id, but I can't make it work on this one. I put the following privacy settings: use the custom settings for historyPoints to check are:Remember my browsing histor
-
What I need to install in another pc without LabView and wants use executable Vi
Hi, everyone, please, help me I want to use another VI without LabVIEW PC executable, what I have to do to run the VI.exe? Thank you
-
I get the CO1033 error code in Outlook Express.
I got the CO133 error code in Outlook Express. I can receive emails, but I can't send them. I also about 25 000 emails I receive is no longer, so I can't delete them even more. What is the cure? original title: CO133 error code
-
Problem caused by the time change this morning. Internal drive is exactly 60 minutes off (earlier) of/that the corresponding files on external drives. Problem always happens to changes in time.
-
Latest version of the BIOS for m1070n Media Center PC?
My PC will start if I have 512 MB or RAM charge (2-256 MB DIMM), but when I add 2 - 1 GB DIMM modules, it starts to boot and then displays the blue screen, saying: a program attempted to access or release memory that it doesn't have permission to acc