Skip to Main Content

SQL Developer

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!

ERROR at line 1: ORA-24247: network access denied by access control list (ACL) ORA-06512: at “SYS.UT

Lior Asras -OracleMay 8 2018 — edited May 9 2018

Hi all ,

in new with ACL and ive got some issues here please ,

i'm started the step over my DB and to make HTTP/HTTPS web request to provide the

ability to communicate to the outside world.

from this site : ORACLE-SOLUTIONS - Oracle 11g Acces Control List ORA-24247.

and im now stuck right befor end to check the ACL priviliges -

i yting run this and iv'e got this error :

pastedImage_0.png

---------------------------------------------------------------------------------------------------

Error starting at line : 200 in command -

begin

dbms_network_acl_admin.assign_acl(

acl => 'utl_http.xml',

host => 'www.tiger.com',

lower_port => 80,

upper_port => 80);

end;

Error report -

ORA-06550: line 2, column 2:

PLS-00103: Encountered the symbol " " when expecting one of the following:

( begin case declare exit for goto if loop mod null pragma

raise return select update while with <an identifier>

<a double-quoted delimited-identifier> <a bind variable> <<

continue close current delete fetch lock insert open rollback

savepoint set sql execute commit forall merge pipe purge

json_exists json_value json_query json_object json_array

06550. 00000 - "line %s, column %s:\n%s"

*Cause: Usually a PL/SQL compilation error.

*Action:

------------------------------------------------------------------------------------------------

i ran these command in separate :

------------------------------------------------

begin

dbms_network_acl_admin.create_acl (

acl         => 'utl\_http.xml',

description => 'HTTP Access',

principal   => 'SCOTT',

is\_grant    => TRUE,

privilege   => 'connect',

start\_date  => null,

end\_date    => null

);

end;

-------------------------------------------------

And :

-------------------------------------------------

begin

dbms_network_acl_admin.add_privilege (

acl        => 'utl\_http.xml',

principal  => 'SCOTT',

is\_grant   => TRUE,

privilege  => 'resolve',

start\_date => null,

end\_date   => null

);

end;

----------------------------------------------

the 2 commands was successfully run,

but the error that im got is on this command :

-----------------------------------------------

begin

dbms_network_acl_admin.assign_acl (

acl        => 'utl\_http.xml',

host       => 'www.tiger.com',

lower\_port => 80,

upper\_port => 80

);

commit;

end;

-------------------------------------------

any one encountered with these issue ?

i cant continue the steps,

@"thatJeffSmith-Oracle"

any help will help,

thanks,

regards.

This post has been answered by SeánMacGC on May 9 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2018
Added on May 8 2018
2 comments
945 views