{"id":2791,"date":"2021-03-17T09:00:09","date_gmt":"2021-03-17T09:00:09","guid":{"rendered":"https:\/\/swiv.com.br\/solved-issue-ora-01031-insufficient-privileges-creating-a-new-pdb\/"},"modified":"2026-05-27T20:02:50","modified_gmt":"2026-05-27T19:02:50","slug":"solved-issue-ora-01031-insufficient-privileges-creating-a-new-pdb","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2021\/03\/17\/solved-issue-ora-01031-insufficient-privileges-creating-a-new-pdb\/","title":{"rendered":"[Solved] Issue: ORA-01031: insufficient privileges creating a new PDB"},"content":{"rendered":"\n<p>Ao tentar criar o novo PDB com origem remota, via DB_LINK, me deparei com o erro abaixo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=CDB$ROOT;\n \nSession altered.\n \nSQL&gt; SHO CON_NAME CON_ID\n \nCON_NAME\n------------------------------\nCDB$ROOT\n \nCON_ID\n------------------------------\n1\nSQL&gt; CREATE DATABASE LINK ROOT_DBLINK CONNECT TO system IDENTIFIED BY oracle USING &#039;TALAMO&#039;;\n \nDatabase link created.\n \nSQL&gt; SELECT * FROM DUAL@ROOT_DBLINK;\n \nD\n-\nX\n \nSQL&gt; CREATE PLUGGABLE DATABASE HIPOFISE4 FROM HIPOFISE3@ROOT_DBLINK;\nCREATE PLUGGABLE DATABASE HIPOFISE4 FROM HIPOFISE3@ROOT_DBLINK\n*\nERROR at line 1:\nORA-17628: Oracle error 1031 returned by remote Oracle server\nORA-01031: insufficient privileges\n<\/pre><\/div>\n\n\n<p>Encontrei a nota &#8220;<strong>ORA-01031: insufficient privileges creating pluggable database from a seed (Doc ID 2386084.1)<\/strong>&#8220;, que menciona que \u00e9 necess\u00e1rio dar o grant de CREATE PLUGGABLE DATABASE para o usu\u00e1rio SYSTEM. Fazendo o processo:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=HIPOFISE3;\n \nSession altered.\n \nSQL&gt; grant CREATE PLUGGABLE DATABASE to system;\n \nGrant succeeded.\n<\/pre><\/div>\n\n\n<p>Disparando novamente o comando:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSQL&gt; ALTER SESSION SET CONTAINER=CDB$ROOT;\n \nSession altered.\n \nSQL&gt; CREATE PLUGGABLE DATABASE HIPOFISE4 FROM HIPOFISE3@ROOT_DBLINK;\n \nPluggable database created.\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Ao tentar criar o novo PDB com origem remota, via DB_LINK, me deparei com o erro abaixo: Encontrei a nota &#8220;ORA-01031: insufficient privileges creating pluggable database from a seed (Doc ID 2386084.1)&#8220;, que menciona que \u00e9 necess\u00e1rio dar o grant de CREATE PLUGGABLE DATABASE para o usu\u00e1rio SYSTEM. Fazendo o processo: Disparando novamente o comando:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2791","post","type-post","status-publish","format-standard","hentry","category-multitenant"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=2791"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2791\/revisions"}],"predecessor-version":[{"id":9224,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/2791\/revisions\/9224"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=2791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=2791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=2791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}