Create an index with url_datastore
I must create an index with the parameter URL_DATASTORE in oracle 11 but, when I try to create this index, oracle return me this error
create index IDX_IT on informazioni_testi(
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.URL_DATASTORE' );
Error starting at line 1 in command:
create index IDX_IT on informazioni_testi(url)
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.FILE_DATASTORE' )
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10758: index owner does not have the privilege to use file or URL datastore
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
I think to have given all possible grant
grant RESOURCE TO parlamento2018; -->GRANT RESOURCE succeeded.
grant CONNECT TO parlamento2018; --> grant CONNECT succeeded.
grant CTXAPP TO parlamento2018; --> grant CTXAPP succeeded.
grant execute on ctx_ddl to parlamento2018; --> grant execute succeeded.
grant execute on CTX_CLS to parlamento2018; --> grant execute succeeded.
grant execute on CTX_DOC to parlamento2018; --> grant execute succeeded.
grant execute on CTX_OUTPUT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_QUERY to parlamento2018; --> grant execute succeeded.
grant execute on CTX_REPORT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_THES to parlamento2018; --> grant execute succeeded.
oracle oracle11g oracle-text
add a comment |
I must create an index with the parameter URL_DATASTORE in oracle 11 but, when I try to create this index, oracle return me this error
create index IDX_IT on informazioni_testi(
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.URL_DATASTORE' );
Error starting at line 1 in command:
create index IDX_IT on informazioni_testi(url)
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.FILE_DATASTORE' )
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10758: index owner does not have the privilege to use file or URL datastore
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
I think to have given all possible grant
grant RESOURCE TO parlamento2018; -->GRANT RESOURCE succeeded.
grant CONNECT TO parlamento2018; --> grant CONNECT succeeded.
grant CTXAPP TO parlamento2018; --> grant CTXAPP succeeded.
grant execute on ctx_ddl to parlamento2018; --> grant execute succeeded.
grant execute on CTX_CLS to parlamento2018; --> grant execute succeeded.
grant execute on CTX_DOC to parlamento2018; --> grant execute succeeded.
grant execute on CTX_OUTPUT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_QUERY to parlamento2018; --> grant execute succeeded.
grant execute on CTX_REPORT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_THES to parlamento2018; --> grant execute succeeded.
oracle oracle11g oracle-text
add a comment |
I must create an index with the parameter URL_DATASTORE in oracle 11 but, when I try to create this index, oracle return me this error
create index IDX_IT on informazioni_testi(
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.URL_DATASTORE' );
Error starting at line 1 in command:
create index IDX_IT on informazioni_testi(url)
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.FILE_DATASTORE' )
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10758: index owner does not have the privilege to use file or URL datastore
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
I think to have given all possible grant
grant RESOURCE TO parlamento2018; -->GRANT RESOURCE succeeded.
grant CONNECT TO parlamento2018; --> grant CONNECT succeeded.
grant CTXAPP TO parlamento2018; --> grant CTXAPP succeeded.
grant execute on ctx_ddl to parlamento2018; --> grant execute succeeded.
grant execute on CTX_CLS to parlamento2018; --> grant execute succeeded.
grant execute on CTX_DOC to parlamento2018; --> grant execute succeeded.
grant execute on CTX_OUTPUT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_QUERY to parlamento2018; --> grant execute succeeded.
grant execute on CTX_REPORT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_THES to parlamento2018; --> grant execute succeeded.
oracle oracle11g oracle-text
I must create an index with the parameter URL_DATASTORE in oracle 11 but, when I try to create this index, oracle return me this error
create index IDX_IT on informazioni_testi(
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.URL_DATASTORE' );
Error starting at line 1 in command:
create index IDX_IT on informazioni_testi(url)
indextype is ctxsys.context
parameters ( 'Datastore CTXSYS.FILE_DATASTORE' )
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10758: index owner does not have the privilege to use file or URL datastore
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
I think to have given all possible grant
grant RESOURCE TO parlamento2018; -->GRANT RESOURCE succeeded.
grant CONNECT TO parlamento2018; --> grant CONNECT succeeded.
grant CTXAPP TO parlamento2018; --> grant CTXAPP succeeded.
grant execute on ctx_ddl to parlamento2018; --> grant execute succeeded.
grant execute on CTX_CLS to parlamento2018; --> grant execute succeeded.
grant execute on CTX_DOC to parlamento2018; --> grant execute succeeded.
grant execute on CTX_OUTPUT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_QUERY to parlamento2018; --> grant execute succeeded.
grant execute on CTX_REPORT to parlamento2018; --> grant execute succeeded.
grant execute on CTX_THES to parlamento2018; --> grant execute succeeded.
oracle oracle11g oracle-text
oracle oracle11g oracle-text
edited Nov 18 '18 at 19:26
Barbaros Özhan
13.2k71633
13.2k71633
asked Nov 18 '18 at 17:49
keiichikeiichi
467
467
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Connect as SYS and run
exec ctxsys.ctx_adm.set_parameter('FILE_ACCESS_ROLE', 'KEIICHI') ;
-------
username that is trying to create index
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53363822%2fcreate-an-index-with-url-datastore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Connect as SYS and run
exec ctxsys.ctx_adm.set_parameter('FILE_ACCESS_ROLE', 'KEIICHI') ;
-------
username that is trying to create index
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
add a comment |
Connect as SYS and run
exec ctxsys.ctx_adm.set_parameter('FILE_ACCESS_ROLE', 'KEIICHI') ;
-------
username that is trying to create index
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
add a comment |
Connect as SYS and run
exec ctxsys.ctx_adm.set_parameter('FILE_ACCESS_ROLE', 'KEIICHI') ;
-------
username that is trying to create index
Connect as SYS and run
exec ctxsys.ctx_adm.set_parameter('FILE_ACCESS_ROLE', 'KEIICHI') ;
-------
username that is trying to create index
answered Nov 18 '18 at 20:58
LittlefootLittlefoot
22.3k71533
22.3k71533
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
add a comment |
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
Unfortunately, I already gave this command >sqlplus.exe / as sysdba SQL> exec ctxsys.ctx_adm.set_parameter('file_access_role', 'public') PL/SQL procedure successfully completed.
– keiichi
Nov 18 '18 at 22:45
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53363822%2fcreate-an-index-with-url-datastore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown