Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORACLE XE APEX 19.2 installation problem / ORA-12954

FischertDec 16 2019 — edited Dec 16 2019

During installation/upgrade APEX in ORACLE XE (XEPDB1) iget the following error - after a lot of lines showing OK

pastedImage_0.png

I'm sure there was no error upgrading to 19.1 and I' think I didn't reach the limits of ORACL XE.

Database show the following information:

pastedImage_1.png

Can anybody give me a hint were the point is and a howto solving the problem.

regards

Thorsten

This post has been answered by Fischert on Dec 16 2019
Jump to Answer

Comments

Frank Kulash
Answer

Hi, @francy77
In schema1 i granted
grant insert,update, delete on t_table_var to ico
Grant the SELECT privilege, as well as INSERT, UPDATE and DELETE.
It sounds like ico has the SELECT privilege only via a role. Roles don't count in AUTHID OWNER stored procedures; all the necessary privileges must be granted directly to the user, or to PUBLIC.
Also, does ico have the CREATE PROCEDURE system privilege?
EDIT: After reading @paulzip 's reply (below) I added AUTHID OWNER above.

Marked as Answer by francy77 · Feb 2 2021
Paulzip

You need the select privilege too,
Also, another thing to bear in mind, is the procedure defined with definer rights (permissions are based on who owns the procedure) or invoker rights (permissions are based on who is calling the procedure)?
The default is definer rights.
Example of invoker rights....

create or replace procedure update_par(pcod in varchar2) authid current_user is 
francy77

I don t know why but granting select was enought, as your suggestion there was a missing SELECT in the grant instruction, so I added it and it works;
The strange thing is that indeed without the select even the delete dos't worked;

1 - 3

Post Details

Added on Dec 16 2019
4 comments
469 views