CREATE PLUGGABLE DATABASE fails [message #675350] |
Fri, 22 March 2019 09:16 |
|
a100
Messages: 34 Registered: March 2019
|
Member |
|
|
Hello,
(please forgive my ignorance - I am not oracle admin and we don't have any oracle admin - I am just unix sysadmin tasks to create a database for testing purposes)
I am trying to create PDB in Oracle 12 and have the following error:
CREATE PLUGGABLE DATABASE ORCLPDB
ADMIN USER admin IDENTIFIED BY pass
STORAGE (MAXSIZE 10G)
DEFAULT TABLESPACE users
DATAFILE '/u02/app/oracle/oradata/orclpdb/orclpdb.dbf' SIZE 250M AUTOEXTEND ON
PATH_PREFIX = '/u02/app/oracle/oradata/orclpdb/'
FILE_NAME_CONVERT = ('/u02/app/oracle/oradata/ORCLCDB/pdbseed/', '/u02/app/oracle/oradata/orclpdb/');
Query execution failed
Reason:
SQL Error [65005] [99999]: ORA-65005: missing or invalid file name pattern for file - /u02/app/oracle/oradata/ORCL/pdbseed/system01.dbf
Can anyone hint me what should I change to get it working ?
[Updated on: Fri, 22 March 2019 09:17] Report message to a moderator
|
|
|
Re: CREATE PLUGGABLE DATABASE fails [message #675355 is a reply to message #675350] |
Fri, 22 March 2019 11:09 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I think you have the wrong name conversion string. It is searching for this '/u02/app/oracle/oradata/ORCLCDB/pdbseed/' but it should searching for this '/u02/app/oracle/oradata/ORCL/pdbseed/'.
|
|
|
|
|
|
|
|
|
Re: CREATE PLUGGABLE DATABASE fails [message #675366 is a reply to message #675361] |
Sat, 23 March 2019 02:40 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
a100 wrote on Fri, 22 March 2019 22:24I said that the PDB has been created successfully but ... when I run this query:
SELECT name, open_mode from v$pdbs;
I get nothing ...
Perhaps you are connected to a different database, a non-CDB. v$containers is a better view to query.
[Updated on: Sat, 23 March 2019 02:41] Report message to a moderator
|
|
|
|