Skip to Main Content

SQL & PL/SQL

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!

obtaining my ip_address through sql*plus

user13328581Mar 13 2012 — edited Mar 14 2012
dear all;

I tried using
select sys_context('Userenv', 'ip_address') from dual;
to obtain my ip address and it is returning a blank, furthermore i tried using
select utl_inaddr.get_host_address('johnp') from dual
and it is giving me the following error below
       *
ERROR at line 1:
ORA-24247: network access denied by access control list (ACL)
ORA-06512: at "SYS.UTL_INADDR", line 19
ORA-06512: at "SYS.UTL_INADDR", line 40
ORA-06512: at line 1
and I give all the required grant to the associated user using
grant execute on utl_inaddr to financecc;
Edited by: user13328581 on Mar 13, 2012 8:06 AM
This post has been answered by Billy Verreynne on Mar 14 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2012
Added on Mar 13 2012
9 comments
2,725 views