12 c: privileges required to create a pdb file

I'm trying to craete a PDB file as a non - sys user

CDB1 > con_name sho

CON_NAME

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

CBD$ ROOT

CDB1 > select con_id, name, open_mode from v$ PDB;

CON_ID NAME OPEN_MODE

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

2 SEEDS OF $ PDB IN READ ONLY

4 PDB3_COPY IN READ ONLY

CDB1 > create user c ##sys identified by oracle.

Created by the user.

CDB1 > grant connect, resources to c ##sys;

Grant succeeded.

CDB1 > grant create a plug-in database to c ##sys;

CDB1 > grant dba to c ##sys;



CDB1 > conn c##sys/oracle@cdb1

Connected.

CDB1 > user sho

The USER is 'C ##SYS '.

CDB1 > create database pdb1 connectable from pdb3_copy;

create pdb1 connectable database from pdb3_copy

*

ERROR on line 1:

ORA-01031: insufficient privileges

That all minimum privileges are required to create a PDB file?

Concerning

Probably, you do not have the permissions to create or write to this file location.

Maybe you missed this part of my response above?

>

Note especially the use of the FILE_NAME_CONVERT clause to tell Oracle how to name and where to put the new files.

>

See the example in the DOC that I posted above. Even better to see the doc on the link I provided

>

CREATE a DATABASE PLUG-IN FROM salespdb FILE_NAME_CONVERT = newpdb ('/ disk1/oracle/dbs/salespdb / ',' / disk1/oracle/dbs/newpdb /') PATH_PREFIX = ' / disk1/oracle/dbs/newpdb ";

>

Tags: Database

Similar Questions

  • Create a PDB, OMF and PDB_FILE_NAME_CONVERT

    Hello

    I created a database of CBD with DB_CREATE_FILE_DEST = ' / u02/oradata.

    Data using OMF files, were created as follows:

    1    810      SYSTEM               YES     /u02/oradata/CDB2/datafile/o1_mf_system_b5f2f8s8_.dbf
    3    870      SYSAUX               NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2c7x3_.dbf
    4    220      UNDOTBS1             YES     /u02/oradata/CDB2/datafile/o1_mf_undotbs1_b5f2ho2y_.dbf
    5    250      PDB$SEED:SYSTEM      NO      /u02/oradata/CDB2/datafile/o1_mf_system_b5f2jy43_.dbf
    6    5        USERS                NO      /u02/oradata/CDB2/datafile/o1_mf_users_b5f2hmyl_.dbf
    7    550      PDB$SEED:SYSAUX      NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2jy41_.dbf
    

    I would like to create a plug-in database (PDB) with its data files located in/u02/oradata/CDB2/pdb2_1.

    I can't use FILE_NAME_CONVERT as the database use OMF.

    So I thought I would use the new parameter PDB_FILE_NAME_CONVERT:

    SQL> alter system set PDB_FILE_NAME_CONVERT = '/u02/oradata/CDB2','/u02/oradata/CDB2/PDB2_1';
    

    SQL> CREATE PLUGGABLE DATABASE pdb2_1 ADMIN USER pdb2_1_admin IDENTIFIED BY oracle_4U ROLES=(CONNECT);
    

    According to the report, RMAN, data files were created as follows:

    1    810      SYSTEM               YES     /u02/oradata/CDB2/datafile/o1_mf_system_b5f2f8s8_.dbf
    3    880      SYSAUX               NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2c7x3_.dbf
    4    220      UNDOTBS1             YES     /u02/oradata/CDB2/datafile/o1_mf_undotbs1_b5f2ho2y_.dbf
    5    250      PDB$SEED:SYSTEM      NO      /u02/oradata/CDB2/datafile/o1_mf_system_b5f2jy43_.dbf
    6    5        USERS                NO      /u02/oradata/CDB2/datafile/o1_mf_users_b5f2hmyl_.dbf
    7    550      PDB$SEED:SYSAUX      NO      /u02/oradata/CDB2/datafile/o1_mf_sysaux_b5f2jy41_.dbf
    10   250      PDB2_1:SYSTEM        NO      /u02/oradata/CDB2/07DA9CA33E5A49D8E053013C000AB7E5/datafile/o1_mf_system_b6f2gw99_.dbf
    11   550      PDB2_1:SYSAUX        NO      /u02/oradata/CDB2/07DA9CA33E5A49D8E053013C000AB7E5/datafile/o1_mf_sysaux_b6f2gw9h_.dbf
    

    Problem: For some reason any he uses '07DA9CA33E5A49D8E053013C000AB7E5' instead of PDB2_1.

    The same also happens when you set DB_CREATE_FILE_DEST = / u02/oradata/CDB2/pdb2_1

    It creates files in pdb2_1/u02/oradata/CDB2/pdb2_1//CDB207D25A844AA4E14DE053013C000A677C/datafile

    How can I use OMF to create data files in/u02/oradata/CDB2/pdb2_1/datafiles?

    The database is 12.1.0.2 running in the Oracle Linux 6.6

    Any ideas? Thank you!

    Unless someone has a better idea, I came to the following conclusion:

    Under 12.1.0.2, when you create a PDB file using OMF, there is no way to avoid the PDB GUID directory structure in the PDB name. However, it is possible to place the data to the PDB files inside or outside the directory of the CBD.

    The following example shows the order in the manner in which the settings are applied, according to the 12.1.0.2 Guide features:

    1. The FILE_NAME_CONVERT clause
    2. The CREATE_FILE_DEST clause
    3. The DB_CREATE_FILE_DEST initialization parameter located in the root
    4. The PDB_FILE_NAME_CONVERT initialization parameter

    FILE_NAME_CONVERT and PDB_FILE_NAME_CONVERT do not apply to OMF and cannot be used, the later being an initialization parameter and ignored when using OMF.

  • What privileges granted to select from all the PDB files

    Why the two selected does not return the same result? Or if you want the broader question - what privileges granted to select from all the PDB files.


    I want to leave common user that I created to select and see all of the synonyms of all PDB files.


    conn / as sysdba

    create user c##nir identified by c##nir container=all;

    grant connect,dba,resource to c##nir container=all;
    grant select on cdb_synonyms to c##nir container=all;

    select CON_ID  from cdb_synonyms  group by CON_ID;

      CON_ID
    ----------
      
    1
      
    4
      
    11
      
    10
      
    14
      
    5
      
    8
      
    13
      
    3
      
    7
      
    15
      
    6
      
    12
      
    9

    conn c
    ##nir/c##nir

    select CON_ID  from cdb_synonyms  group by CON_ID;

      CON_ID
    ----------
      
    1

    select CON_ID  from containers(dba_synonyms)  group by CON_ID
      
    *
    ERROR at line
    1:
    ORA-00942
    : table or view does not exist

    You must use the CONTAINER_DATA clause:

    ALTER USER ##nir set container_data = container c all = current;

    After running the above command, try to select again to cdb_synonyms and you will see the data of all containers.

    Read more in my Post of Blog

  • How can I include all of the necessary files required for the DAQ Assistant create an executable file?

    I create an executable file to run on a computer that does not have LabVIEW.  The problem is that I am using the DAQ Assistant.  The hierarchy of the VI is big enough, and I do not know how to include all the required files to eliminate the error "the version of LabVIEw full development is necessary to correct the errors."  A picture of the hierarchy of the VI is attached.

    I think I'm missing something in the installation.  I'm downloading now the DAQmx.  I knowticed that all 7 of my missing Subvi are DAQmx * .vi

  • Cannot save settings: unable to create a configuration file for the required configuration object

    When I try to open the application in the administrator account it say - could not save the settings: unable to create a configuration file for the required configuration object

    Thanks for the reply.i think that a virus changed I scan my computer and discovered C:\users\jason\AppData\local\temp\low\temporary internet files\content. IE5\TLIFXGRH\ why is Task Manager disabled people [1]

  • How to make the fields of metadata required when creating folders

    Hi all...

    Related issue with SR 3-6472229431 and 3-6471130611 SR.
    We use SAY 11.1.6 64 - bits (2011_11_29 (rev 9756) 11.1.6.97) in a Workstation Windows 7 64-bit (with the AAU 11.1.1.5 in a Linux machine). Check-in of images at the Complutense University of MADRID's fine.
    I'm doing some metadata fields required when creating a folder. These fields are required at check-in, but not in the creation of records.
    Folders_g is enabled. DesktopTag too.
    EDIT: The Patch: 14695303 - COE 11.1.1.5.0 BUNDLE (MLR 16) November 6, 2012 applied.

    Is this possible?

    Thank you for all.

    Published by: fgomes on 11/22/2012 03:24

    After reading your response and re-reading the original question a bit closer, the function of metadata guidance does not apply to the creation of new files, only content.

    Again, however, I think that the focus is in the wrong place. The metadata applied to a folder are intended to be applied to the content. You can create global rules that fire on submitting content to check if a field has a value and throws an error if the value is empty.

    If you expect that users create folders (and apply effectively all the metadata in the file real itself), you will be disappointed. Experience shows that users are not interested in this level of detail when creating content, not to mention records. Leave typical users to create folders is a bad idea anyway, because they tend to create the same ineffective folder structures, they created previously in shares within Content Server.

    If you need control over the attributes of the file, you will be better served by locking the ability to create new folders. Otherwise, you are looking at some kind of customization. Remember that you will not be able to customize the behavior of right click and SAY. Any changes to the SAID should be an enhancement request.

  • The 9/10 CF Enterprise is required to create a failover cluster?

    Hi all

    I just had one heck of a week of recovery from our production of Coldfusion environment. I think that he convinced us to create a high availability/failover for the site.

    My question is is business of 9/10 CF required to create a failover cluster?

    Thank you

    Mark

    Hi, yes CF Enterprise. Suggest deploy CF10 because CF9 will end of support December 2014. Reference:

    http://www.Adobe.com/au/products/ColdFusion-Enterprise/features._sl_id-contentfilter_sl_fe aturedisplaytypes_sl_all.html

    References to URL slot - Business Infrastructure:

    Get a scalability to create and manage multiple instances of server in a clustered or virtualized environment.

    HTH, Carl.

  • How to create a PDF file of a Web site that requires a login to view the content?

    Hello

    I want to create a PDF from a thread on a forum.  However, the forum requires a login to view the content of the thread.  When I paste the URL in acrobat to create the PDF file, it creates a PDF of the login page (not wire).  Is there a way to achieve this?

    Thank you.

    Go to the web page and use the file > Print > printer Adobe PDF?

  • can I create a DLL file for labview that has DLL library with inside?

    Hello everyone,

    I am developing an application for the cards PCI devicenet in labview (beginner to labview) environment.  Is there a DLL file for the PCI card from the provider. But it's too complicated for a beginner to call each function in the DLL of labview. Therefore, I'm trying to re - use a VC ++ program (working properly) that calls some sellers DLL library functions.    To do this, I created the DLL file which includes all headers and libraries the provider DLL, as indicated in the attached figure. But I couln can't see the effect on the device. is it possible to create a DLL file for labview that has DLL library with inside? If this is not the case, how can I implement the program shown in figure?

    I would like to wish a huge as to advance.

    It is not something I have a lot of experience in so I don't know all the details of the restrictions or requirements etc - but it is certainly possible to create wrappers for the dll and then use them in LabVIEW - this is sometimes necessary to convert some native types/data structures in C/C++ into something that you can switch to your other DLL LabVIEW.

    There is a link here: http://digital.ni.com/public.nsf/allkb/06ECDC689DDA0F3D862574440074CD95

  • How to create the .cod file to run on the Simulator BB9900

    Hi, I already from the zip package in order to use the bbwp command to create the .cod file and be able to run on the simulator of BB9900, but when I run this command as described in: https://developer.blackberry.com/html5/documentation/compile_ww_app_for_smartphones_1873321_11.html

    It creates two files, each with a .bar file, this type of file, I can't run it on the 9900 Simulator but a .cod file is required to run applications on the sim card.

    I don't know how to create the .cod file.

    Thank you

    Have you used Blackberry Webworks SDK for smartphone or Tablet SDK? The .cod files should be located in the subfolder OTAInstall of your output folder if you are using the Webworks SDK for Smartphone

  • Windows cannot copy files required for installation. The files may be damaged or missing. Error code: 0 x 80070241.

    I had a lot of trouble trying to install the 64-bit version of windows 7 Home Premium on my 64-bit vista, and my question is multi-part. If it is relevant, it's my 2nd copy of windows 7 I have tried. Initially, I had the problem of not being able to run the installation on two copies with the error "'autorun.dll' could not be found or is damaged. Error code is [0x7E]. "However, I managed to get into with my 2nd copy installation after restarting my computer. Once in Setup, I got another error that stopped the installation that says "windows not could create an installation folder. Error code is 0 x 80070017. "Again, I rebooted my computer and started the installation again, this time following installation was decently through but stopped when I got the error"Windows cannot copy files required for installation. The files may be damaged or missing. Error code is 0 x 80070241. "I then backed up and restarted my computer and then tried to use the option to install custom but then got the error"E:\sources\autorun.dll is not designed to run on windows or it contains an error. Try to install the program using the original media, or contact your system administrator. "coupled with the error"the file 'autorun.dll' could not be loaded or is corrupt. Error code is 0xC1"again once I restarted and tried the custom option but got the error" Windows has no load the required file WinSetup.dll.» The file is possibly corrupted. To install windows, restart the installation. Error code is 0x3E6. "I restarted my computer and tried the custom triple option more and still have the error"Windows cannot copy files required for installation. The files may be damaged or missing. Error code is 0 x 80070241. »

    I understand that my problem is very complex, but it seems to be built around a missing or damaged file. Thanks if you can tell what's wrong or what to do.

    Tips for solving common problems when Windows 7 won't install troubleshooting

    1. start Windows Upgrade Advisor to see if there are known issues that might affect the installation and correct them.
    http://Windows.Microsoft.com/en-us/Windows/downloads/Upgrade-Advisor

    2 disable any security software, including anti-virus programs and firewalls.
    3 make sure that your computer has the BIOS and latest drivers.
    4. disconnect all external devices except the keyboard and mouse before installing.
    5. If your computer/motherboard integrated video use and remove the dedicated video card.
    6. If you have a large amount of RAM (memory), try to reduce the amount of RAM installed. 1 GB if 32-bit installation, 2 GB for 64-bit, then replace RAM if the upgrade was successful.
    7. If you have downloaded Windows 7 and it burned a DVD test burn again at the slowest speed possible. It is also possible the download may have errors, you can try to download it again.

    8. check your RAM (memory) to find errors. This can take some time.
    (A) Insert the Windows 7 DVD and restart the computer.
    (B) start from the Windows 7 DVD.
    (C) select your language, and then click Next.
    (D) click on "repair your computer" then select the operating system to fix it.
    (E) click on the link of the Memory Diagnostics in the system recovery menu.
    (F) the computer will restart and your memory is checked for errors.

    9 turn off startup programs:
    (A). Click Start, type MSCONFIG in the search box and press ENTER.
    OK the authorization of user account control and password if necessary
    If you are using XP: click Start, run, and type: MSCONFIG and click OK.
    (B) on the general tab, click Selective startup.
    (C) just below the selective startup, clear the checkbox "Load Startup items".
    (D) click the Services tab, check "Hide all Microsoft Services", and then click Disable all.
    (E) click OK, and then restart the computer.
    (F) try the upgrade again.

    (NOTE: If the upgrade fails and you continue to use your rear security software, then also go back into MSCONFIG and under the general Tower XP/Vista tab, click "Normal startup", and then click OK to exit.)

    Questions about installing Windows 7?
    FAQ - Frequently Asked Questions from Installation Windows 7 & responses

  • Cannot create a data file with a size of less than 1000 M

    Hello

    I have a problem that I can't solve. Whenever I try to create a DATA file with a size of less than 1000 MB, I get an ORA-03214

    Example:

    Select * from version of v$.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    "CORE 11.2.0.4.0 Production."

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    -----

    ALTER TABLESPACE "IDX_PRETR1".

    ADD DATAFILE ' / appli/oracle/PR3/data4/TEST.dbf'

    SIZE 500 M;

    XXIX error on line 1 of the command:

    ALTER TABLESPACE "IDX_PRETR1".

    ADD DATAFILE ' / appli/oracle/PR3/data4/TEST.dbf'

    SIZE 500M

    Error report:

    SQL error: ORA-03214: the file size is less than the minimum required

    03214 00000 - "specified file size is smaller than the minimum required.

    * Cause: Specified for add/resize datafile/tempfile file size does not work

    provide the minimum required of an allocation unit.

    * Action: Increase the size of the file specification

    Thanks for the help and sorry for my English

    Hello

    The answer may lie in the INITIAL_EXTENT configuration in your space of tables, check DBA_tablespaces view.

    Also, try to use autoextend on and maxsize in your file data creation but better try with the highest value during the action of the mentioned error.

    Kind regards

    Juan M

  • Problem, create a PDF file by dragging a doc on Acrobat file, after installing Office Mac 2016

    We have recently installed Office 2016 on a couple of Macs at work. We have XI of Acrobat Pro installed, and the other has the version of Creative Suite (Acrobat Pro DC) subscription. After you have installed Office 2016, we have two different problems when trying to create a PDF file from a doc or docx file by dragging the Word on Acrobat file (which we always used to do before, without any problems):

    1. on the computer with Acrobat Pro XI, drag the Acrobat doc file try to open Word 2016 with Acrobat, but then gives an error (cannot open Word) and the process stops. Do drag directly on doc file Word can open without error, and drag a PDF Acrobat file opens without error. We have tried to reinstall Microsoft Office and Acrobat and of course restarting the computer, but without success - the problem persists. Before installing Office 2016, the conversion would happen almost immediately, without the word being opened in the background.

    2. on computer 2, it's a different problem. The process works, but when you drag the file doc on Acrobat Pro DC, it begins to convert, but then he said that additional permissions are required to access the files (the way it gives looks like: private/var/folders/hn/vpyjby8d7r34y68chxfx9mpc0000gn/T/Acr175842024411136-91550.tmp) I have to then click on "Select" and grant access to the folder. It wouldn't be a problem if this were to be done once, but she does whenever I try to convert a doc in this way file (the path is always the same, but the .tmp file is always different). I thought it may be a permissions problem - do a read the information on file shows (/ T /) read & write access to me and "no access" for "everyone." I tried to settle temporarily "read and write" access to "everyone", but that did not help. Is there another way to give access to the applications in a folder without having to manually grant whenever an action?

    Thanks in advance to anyone who can offer a solution to these two problems!

    Integration between older versions of Acrobat (11 and earlier versions) and office 2016 will not be forthcoming. You need Acrobat DC for that integration. Sorry!

    -Dov

  • How can I create a pdf file that is read-only as a resume so that no one can change it

    How can I create a pdf file that is read-only as a resume so that no one can change it

    Hi carolanns81914351,

    You require the Acrobat application for this, see this KB document for the parameters to restrict modification of a PDF Acrobat help. Securing PDF files with passwords.

    Let me know if you have any additional questions.

    Kind regards

    Nicos

  • creating a w2k3 file sharing

    Hey guys, need help... Please offer guidance that you can.

    I was instructed to create a new file w2k3 share in our virtual using vSphere 5.0

    I said I need to build a new volume, then set it to a LUN.

    After that, I want to clone an existing VM that extend the 40 GB partition, preferably 1 TB.

    I believe that it meets the requirements for my tasks, though having very little experience with VMware is what actually task harding than what it is.

    Can anyone provide a step by step guide for this mission?

    Unlike many other publishers, the VMware documentation is really complete and should be the first reference to any operational or administrative task. This and of course, to use these communities for all your questions of unaswered. Good luck!

Maybe you are looking for

  • Sounds of notifications could not be changed

    So I've recently upgraded to IOS 10 However my notification sound had not acted the same as previously. All of my iMessages, Whatsapps, and Snapchats about the noise rang like how I recorded it. All this while they were still set to "Note". However,

  • logging in issues

    tryimg to log in. tells me that the username and password is correct. tried several times to put in sentence captcha. keeps refusing the captcha even when it is correct. Another way to open a session?

  • SDHC card do not work on the Satellite A200-1J0 with a clean Vista install

    Greetings, When I bought this laptop he had 32-bit Vista preinstalled and as usual some Toshiba drivers and software. As I remember there wasn't that no problem with no built in memory card reader, he read regular SD and SDHC cards. One day I had to

  • How to recovery when the XP Home user profile disappear

    XP Home won't miss all the icons in the menu programs after I login by john. However, I believe the user 'john' disappear on Documents and Settings when I connect by another user to view the user profile.

  • Why can't run Sfc/Scannow as administrator when I'm the admin?

    When I try to organize my photos in windows, he repeats to me "Windows Explorer has stopped responding".  In the search for bugs, I saw that someone said run Sfc/scannow, but it keeps telling me you can run this as admin, BUT I am the only user on th