ora-24247

Oracle 12c Apex 4.2 ORA-24247 network access denied by access control list (ACL)

烈酒焚心 提交于 2020-06-13 00:08:38
问题 hope you can help me too. I'm developing an APEX-Application. Oracle 12c APEX 4.2. I'm using the workspace wrk_projects in pdborcl. I need some information about the client. The client will act in the same domain. So I'm building a report: select utl_inaddr.get_host_name(sys_context('userenv','ip_address')) as hostname from dual; When I run it: report error: ORA-24247 network access denied by access control list (ACL) My question is: I have to define the ACL in the container or in pdb? How to

Oracle 12c Apex 4.2 ORA-24247 network access denied by access control list (ACL)

匆匆过客 提交于 2020-06-13 00:06:34
问题 hope you can help me too. I'm developing an APEX-Application. Oracle 12c APEX 4.2. I'm using the workspace wrk_projects in pdborcl. I need some information about the client. The client will act in the same domain. So I'm building a report: select utl_inaddr.get_host_name(sys_context('userenv','ip_address')) as hostname from dual; When I run it: report error: ORA-24247 network access denied by access control list (ACL) My question is: I have to define the ACL in the container or in pdb? How to

Oracle 12c Apex 4.2 ORA-24247 network access denied by access control list (ACL)

半城伤御伤魂 提交于 2020-06-13 00:05:22
问题 hope you can help me too. I'm developing an APEX-Application. Oracle 12c APEX 4.2. I'm using the workspace wrk_projects in pdborcl. I need some information about the client. The client will act in the same domain. So I'm building a report: select utl_inaddr.get_host_name(sys_context('userenv','ip_address')) as hostname from dual; When I run it: report error: ORA-24247 network access denied by access control list (ACL) My question is: I have to define the ACL in the container or in pdb? How to

Oracle 12c Apex 4.2 ORA-24247 network access denied by access control list (ACL)

对着背影说爱祢 提交于 2020-06-13 00:05:14
问题 hope you can help me too. I'm developing an APEX-Application. Oracle 12c APEX 4.2. I'm using the workspace wrk_projects in pdborcl. I need some information about the client. The client will act in the same domain. So I'm building a report: select utl_inaddr.get_host_name(sys_context('userenv','ip_address')) as hostname from dual; When I run it: report error: ORA-24247 network access denied by access control list (ACL) My question is: I have to define the ACL in the container or in pdb? How to

Network access denied by access control list (ACL) in Oracle Database 11g

人盡茶涼 提交于 2020-01-01 18:55:11
问题 Recently we have switched from Oracle 10g to 11g, and only now I noticed that my mailing function does not work, I now get an error: ORA-24247: network access denied by access control list (ACL) So I did a bit of googling and was able to figure out that a new feature in Oracle 11g is now restricting users from using certain packages including utl_smtp. Because I am looking for a quick solution I did not read Oracle documentation, but instead I went looking for easier solutions and came across

ORA-24247 when sending through FTP

柔情痞子 提交于 2019-12-25 02:57:06
问题 I've been trying to solve this problem for days and I always get the same error over and over. I am user Oracle SQL Developer Version 3.2.20.09 and I want to send files through FTP with this code CREATE OR REPLACE PROCEDURE subirFTP(dirServer VARCHAR2, port VARCHAR2, usr VARCHAR2, pass VARCHAR2, dirRemitente VARCHAR2, dirDestinatario VARCHAR2, nombreArchivo VARCHAR2) IS l_conn UTL_TCP.connection; BEGIN l_conn := ftp.login(dirServer,port,usr,pass); ftp.binary(p_conn => l_conn); ftp.put(p_conn

ACL error when trying to send mail via Oracle UTL_SMTP

只谈情不闲聊 提交于 2019-12-24 10:21:14
问题 I was trying to send an email via oracle utl_smtp, but every time i execute the apex_mail_p.mail procedure i get an ACL error, to be more precise it's the error ORA-24247. But i've created the acl, added the right previliege and also added the host and port to the ACL. I don't understand why it's giving me an error. This is the code: -- create acl begin dbms_network_acl_admin.create_acl ( acl => 'gmail.xml', description => 'Normal Access', principal => 'CONNECT', is_grant => TRUE, privilege =

Get IP addresses of established connections to Oracle 11

ぐ巨炮叔叔 提交于 2019-12-07 08:00:27
问题 During development I found that database have large number of lived connections by: SELECT username, COUNT(*) FROM v$session GROUP BY username; In order to find who actually hold connection I want to get a list of IP addresses. During general web search and reading official docs I build query: SELECT username, seconds_in_wait, machine, port, terminal, program, module, service_name FROM v$session WHERE type = 'USER'; where machine is most important part of select . But unfortunately machine

Get IP addresses of established connections to Oracle 11

旧城冷巷雨未停 提交于 2019-12-05 16:27:00
During development I found that database have large number of lived connections by: SELECT username, COUNT(*) FROM v$session GROUP BY username; In order to find who actually hold connection I want to get a list of IP addresses. During general web search and reading official docs I build query: SELECT username, seconds_in_wait, machine, port, terminal, program, module, service_name FROM v$session WHERE type = 'USER'; where machine is most important part of select . But unfortunately machine field shows host name known by client OS . Internet full of recommendation to use UTL_INADDR.GET_HOST

ORA-24247: network access denied by access control list (ACL) while sending email oracle

北城余情 提交于 2019-12-02 02:29:08
问题 i have done all the activity i.e mention below, please tell which step / activity i am missing. BEGIN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL( acl => 'apex_user.xml', description => 'access to apex email', principal => 'DBUSER', is_grant => TRUE, privilege => 'connect', start_date => SYSTIMESTAMP, end_date =>Null ); COMMIT; END; BEGIN DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE( acl => 'apex_user.xml', principal => 'DBUSER', is_grant => true, privilege => 'resolve' ); COMMIT; END; BEGIN DBMS_NETWORK_ACL