Skip to Main Content

Oracle Database Express Edition (XE)

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 18c XE - Win10 Pro - installation hangs

AAndreiJan 23 2020 — edited Mar 26 2020

Hello,

I am trying to install Oracle 18c XE on Win10 Pro with admin privileges and at about 90-95% progress, it just hangs ("Creating Oracle XE Database")... even when i cancel the operation, after i confirm that i want to cancel it, it doesn't do anything, so the only way to interrupt it is by ending the task. Afterwards, if i try to run the installer again, it says that Oracle is already installed, so i have to uninstall it manually (delete Oracle Win registers, Oracle home directory, Windows user/groups).

I've checked the previous conversations regarding this issue, applied the possible solutions (NetBIOS enabled) and still i get the same result.

Can you please advice what should i try to solve/get around this problem?

Please let me know if i need to attach any logs.

All the best,

Andrei

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 Jan 23 2020
9 comments
9,940 views