Ora-24247 (ACL Error ) is coming in Oracle SE not in Oracle EE

Hi
I am using the below select statement to get the host ipaddress
select utl_inaddr.GET_HOST_ADDRESS into v_HostIPAddress from dual;
It's Working fine when i am running in the SQL Prompt .it is giving me the correct ip address but when i have included this piece of code in the procedure then it's giving me the error
Sample Code which i am using :
procedure getPatAPI(p_Id IN varchar2,
                               p_path     in out varchar2) is
    v_HostIPAddress      varchar2(20);
  begin
      select utl_inaddr.GET_HOST_ADDRESS into v_HostIPAddress from dual;
  EXCEPTION
    WHEN OTHERS THEN
      raise_application_error(-20001,
                                      'getPathAPI:' ||
                                      SQLCODE || ' -ERROR- ' || SQLERRM);
  end;
Try to execute by passing the p_Id  = 1 then giving the
Error:
ERROR- 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
I have run these below set of command in Oracle Standard Edition and Oracle Enterprise Edition.
In the SE i am getting the same error ORA-24247 but it's working fine in the EE .
Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
SQL>
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('acl_for_oracle.xml','ACL for www.oracle.com', 'GENEVA_ADMIN', TRUE, 'resolve');
PL/SQL procedure successfully completed.
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE('acl_for_oracle.xml','GENEVA_ADMIN', TRUE, 'resolve');
PL/SQL procedure successfully completed.
SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('acl_for_oracle.xml','*');
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
So to run the UTL_INADDR in the Oracle Standard Edition is there any other kind of permission is required ???

And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
a) environment settings that differ from session to session
b) or more often, data
The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction).

Similar Messages

  • ORA-00905ISSING KEYWORD ERROR IS COMING

    CREATE TABLE TEST
    ( INSTITUTIONLINKID NUMBER(*,0) NOT NULL ENABLE,
    CARDMANAGEMENT_MODE VARCHAR2(8) NOT NULL ENABLE,
    PINGENERATION_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    PIN_LENGTH NUMBER(*,0),
    PIN_MODE VARCHAR2(8),
    RE_REGISTRATION_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    CON_SMS_RETRY_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    CON_SMS_RETRY_COUNT NUMBER(*,0),
    CON_SMS_RETRY_INTERVAL NUMBER(*,0),
    SMS_RETRY_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    SMS_RETRY_COUNT NUMBER(*,0),
    SMS_RETRY_INTERVAL NUMBER(*,0),
    ERROR_SMS_RETRY_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    ERROR_SMS_COUNT NUMBER(*,0),
    ERROR_SMS_INTERVAL NUMBER(*,0),
    SAF_RETRY_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    SAF_RETRY_COUNT NUMBER(*,0),
    SAF_RETRY_COUNT_INTERVAL NUMBER(*,0),
    PIN_ONRECEIPT_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    LABEL_ONRECEIPT VARCHAR2(3) NOT NULL ENABLE,
    FLASHMSG_REQUIRED VARCHAR2(3) NOT NULL ENABLE,
    INSTITUTIONID VARCHAR2(6) NOT NULL ENABLE,
    INSTITUTION_FIID VARCHAR2(20) NOT NULL ENABLE,
    INSTITUTION_LOGICAL_NETWORK VARCHAR2(20) NOT NULL ENABLE,
    AIRLINEPAYMENTFLAG VARCHAR2(1),
    BILLPAYMENTFLAG VARCHAR2(1),
    EXPIRY_PERIOD NUMBER(*,0),
    INACTIVITY_PERIOD NUMBER(*,0),
    PASSWORD_EXPIRYPERIOD NUMBER(*,0),
    NOOFUNSUCCESSFULATTEMPTS NUMBER(*,0),
    PASSWORDCHANGESPERDAY NUMBER(*,0),
    LOGONLYFLAG VARCHAR2(1),
    EMAILSMSALERTSREQUIRED VARCHAR2(3),
    CAPCHE_REQUIRED VARCHAR2(3),
    ONETIMEPASSWORD VARCHAR2(3),
    OTPREMINDER VARCHAR2(6),
    ACTIVATION_REQUIRED CHAR(1),
    ACQ_INSTITUTION_IDEN_CODE VARCHAR2(11),
    ADDITIONALBUFFER1 VARCHAR2(47),
    ACCOUNT_LINKAGE_INDICATOR CHAR(1) DEFAULT 1 NOT NULL ENABLE,
    CARDACCEPTORTERMID VARCHAR2(40) NOT NULL ENABLE,
    CARDACCEPTORTERMNAME VARCHAR2(40) NOT NULL ENABLE,
    AUTHID_P38 VARCHAR2(6) DEFAULT '000000' NOT NULL ENABLE,
    CARDISSUERAUTHORIZERDATA_P61 VARCHAR2(19) DEFAULT '0000000000000000000' NOT N
    ULL ENABLE,
    POSADD_DATA_P63 VARCHAR2(48) DEFAULT '896523' NOT NULL ENABLE,
    ACQ_INSTID_S100 VARCHAR2(11) DEFAULT '00000000000' NOT NULL ENABLE,
    AUTH_INDICATORS_S121 VARCHAR2(20) DEFAULT '78562' NOT NULL ENABLE,
    INVOICEDATA_S123 VARCHAR2(15) DEFAULT '012MPAY' NOT NULL ENABLE,
    BATCH_SHIFT_DATA_S124 VARCHAR2(9) DEFAULT '123456' NOT NULL ENABLE,
    REG_RECEIPT VARCHAR2(300) DEFAULT 'YOUR MOBILE NUMBER REGISTERED SUCCESSFULLY
    ' NOT NULL ENABLE,
    CHEQUE_LENGTH VARCHAR2(2),
    VIRTUALCARD VARCHAR2(45),
    VIRTUALCARDPREFIX VARCHAR2(6),
    CARD_SEQUENCE VARCHAR2(13) DEFAULT 1111111111,
    POS_DISCLAIMER VARCHAR2(200),
    POS_TRAN_COMM VARCHAR2(12),
    FSS_FTTYPE CHAR(1),
    FSS_ACCOUNTNO VARCHAR2(25),
    FSS_ACCOUNTTYPE VARCHAR2(2),
    FSS_IFSCCODE VARCHAR2(25),
    FSS_ACCOUNTHOLDERNAME VARCHAR2(50),
    MBTACCOUNTNO VARCHAR2(20),
    MBTACCOUNTTYPE VARCHAR2(2),
    SAVINGACCOUNTLIST VARCHAR2(500),
    CURRENTACCOUNTLIST VARCHAR2(500),
    BRANCHFLAG CHAR(1) DEFAULT 'N',
    NBIN VARCHAR2(4),
    NPCIPACQUIRERID VARCHAR2(11),
    FUNCODE_P24 VARCHAR2(5),
    FWDINSTID_P33 VARCHAR2(12),
    P42_MCOMID VARCHAR2(30),
    P43_MCOMNAME VARCHAR2(30),
    SMSPIN_REQUIRED VARCHAR2(10),
    BENREGCONFIRMREQ VARCHAR2(1),
    IMPS_VERIFICATION_REQUIRED VARCHAR2(1),
    BUILD_MM_STATUS VARCHAR2(1),
    WAP_PWD_REQUIRED VARCHAR2(1) DEFAULT NULL,
    CONSTRAINT PK_INSTITUTIONLINK PRIMARY KEY (INSTITUTIONLINKID)
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    ENABLE,
    CONSTRAINT ILI_IID FOREIGN KEY (INSTITUTIONID)
    REFERENCES INSTITUTIONINFO (INSTITUTION_ID) ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT);

    Hi,
    You should look at sqlplus error and line number:
    >
    CARDISSUERAUTHORIZERDATA_P61 VARCHAR2(19) DEFAULT '0000000000000000000' NOT N
    ERROR at line 45:
    ORA-00905: missing keyword
    >
    You have got "not null" keyword splitting to 2 lines:
    >
    CARDISSUERAUTHORIZERDATA_P61 VARCHAR2(19) DEFAULT '0000000000000000000' NOT N
    ULL ENABLE,
    Should be :
    CARDISSUERAUTHORIZERDATA_P61 VARCHAR2(19) DEFAULT '0000000000000000000' NOT NULL ENABLE,

  • While Installing this error is coming This Program can not display the pag

    When I Try to Install SAP B1 8.8 on Win server 2008.
    I am receiving this message.
    This Program can not display the page
    The website is encountering Problem
    There might be a typing error in the address
    At the time of Installation which site we need to access.
    My Internet is working.
    Still i am facing this Problem please suggest me what should I do.

    HI Ram ,
    Internet is not required while Installation .
    Go through :
    Re: SAP Business Installation
    Thanks
    Ashish

  • OraOLEDB.Oracle: Provider not found: Oracle 10.1.0.2.0 Client installation

    Hi All,
    I am working on a SSIS task in which i need to get data from Oracle database which is on remote server.
    But when created the SSIS package and tried to create the connection from the connection manager using OLE DB connection, I am not able to find the provder 'Oracle Provider for OLE DB' . I have oracle client, toad installed on my machine.Using toad, I am able to connect to the Oracle database.
    Please suggest. For time being I am using 'Microsoft OLE DB provider for Oracle' to make the SSIS working.
    Edited by: 982652 on Jan 17, 2013 11:02 PM

    Alright, so it's not that. It's possible the OLE DB provider isn't installed, depending on how you installed the Oracle client.
    This link has a little windows script that can list all the known OLE DB providers. That should tell you if its installed and SSIS isn't finding it, or if it's not installed at all. http://www.motobit.com/help/regedit/sa117.htm

  • ORA-00600: internal error code, arguments: [25012], [19], [21], [], [], [],

    when i execute dbcheck in db13, i receive this message:
    ORA-00600: internal error code, arguments: [25012], [19], [21], [], [], [], [], []  
    i have Oracle 9.2.0 and i don't find any note in the OSS notes.

    This may point you in the right direction?
    Look at Note 758563 - Oracle Metalink access for SAP customers.
    Oracle Metalink WebSite is:
    https://metalink.oracle.com/metalink/plsql/f?p=200:101:5428529246127535152
    Metalink Username and Password deleted by Moderator.
    Please do not post this kind of information in the forum.
    Thanks.
    Then do a search on ORA-00600: internal error code, arguments: [25012]
    This should get you started.
    Message was edited by: Christian Graf

  • ORA-00600: internal error code, arguments: [12333], [0], [0], [0], [], [],

    ORA-00600: Occurred in production database. I did not contact oracle support yet, because I know they will ask to upgrade or apply a patch. I want do that as a last resort. Do you see any other reason for this ORA-600 error or solution?
    Thanks.
    part of trace file:
    Dump file /tmp/rmsdv84_ora_11548.trc
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.0 - Production
    ORACLE_HOME = /usr/oracle/product/8.1.7
    System name:     SunOS
    Node name:     fcdb239
    Release:     5.8
    Version:     Generic_108528-12
    Machine:     sun4u
    Instance name: RMSDV84
    Redo thread mounted by this instance: 1
    Oracle process number: 32
    Unix process pid: 11548, image: oracle@fcdb239 (TNS V1-V3)
    *** SESSION ID:(34.1296) 2003-01-23 16:46:43.524
    *** 2003-01-23 16:46:43.524
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [12333], [0], [0], [0], [], [], [], []
    Current SQL statement for this session:
    SELECT OWNERID FROM PS.PSDBOWNER WHERE DBNAME=:1
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp()+168 CALL ksedst()+0 230 ? 1 ? FFBED080 ?
    FFBECB24 ? FFBECB08 ? 0 ?
    kgeriv()+196 PTR_CALL 00000000 3 ? 0 ? 0 ? 258 ? 1 ? 302D ?

    ORA-00600 12333 usually means there was a communications error between the client and server. If you kill a session or perform a shutdown while a users connected you could potentially get this error. There's other reasons too. I think you're probably right that Oracle support will tell you to upgrade if you file a TAR with them.
    Did this error crash your database or does it happen frequently? If the answer is no then I wouldn't worry about it unless the end user has said something about it. If this is a problem then I'd contact Oracle support.
    I'm also running 8.1.7.2 and get maybe 1-2 of these errors a month from the same PC. In our case this error didn't correspond with a database shutdown or a killed session. We also tried reinstalling the client software and this didn't fix it either. I think our error may be because of this one PC being on a very old part of our network that probably needs upgrading.

  • Ora-00600 internal error code arguments qctosop like transform], [],[],[],

    Hi,
    After registered NLS parameters
    SORT----->BINARY_CI
    COMP----->LINGUISTIC in registry.
    If I run following query in sql command prompt
    select * from (select emp_name, row_number() over(order by hire_date) from emp where emp_name like 'S%') temp;
    I am getting following error:
    ora-00600 internal error code arguments qctosop like transform], [],[],[],[],[],[],[]
    Note: If I remove registry parameters it it working fine.
    How can I avoid this error.
    Thanks
    TK
    Edited by: user11803878 on Aug 18, 2009 9:16 PM

    Hi,
    >
    ORA-00600:
         internal error code, arguments: [string], [string], [string], [string], [string], [string], [string], [string]
    Cause:      This is the generic internal error number for Oracle program exceptions. This indicates that a process has encountered an exceptional condition.
    Action:      Report as a bug - the first argument is the internal error number
    >
    So, you should probably open a SR on this.
    Regards
    Peter

  • Migrate Oracle 8i database to Oracle 11g

    Hi,
    I am a newbie to Oracle. I want to migrate a Oracle 8i database to a news server where Oracle 11gR2 already installed. Please, provide me step by step guideline.
    - Bijit

    Bijit,
    This forum is for questions about migrating from non-Oracle databases to Oracle and not for Oracle to Oracle migrations.
    You should open a thread in the Database Upgrade forum -
    Database Upgrade
    where they will have more experience of Oracle to Oracle upgrades and migrations.
    Regards,
    Mike

  • Oracle 12 on Debian 7: 'oracle' is not created

    Hi - I know, of course, that debian is not supported, but I have worked with Oracle for many years, and it generally turns out to be possible. And others have claimed success, so I ought to be able to as well.
    I had a few failures when linking, which I believed to have solved, but a number of files ended up with size 0; running relink all fixed some of them, but not 'oracle' itself. How do I relink that one? In fact, all the following have that problem:
    dg4pwd expdp extproc impdp oracle rman tnnfg trcldr
    There doesn't seem to be a target in the makefiles.

    If you know it all so well and are so experienced, why do you have to ask? As far as I can see you were given a professional response and reasonable suggestion. I see no valid reason to attack someone who was tyring to help you and suggesting to use a supported OS. Please keep in mind that nobody here has to respond to your inquiry.
    The installation of Oracle database requires a modified developement environment and certain software packages that are obviously different under Debian and Red Hat based Linux distributions, which is why program linking fails.
    If I remember correctly, I posted a guide for Debian 6 around Janurary last year, but I cannot find it anymore. Maybe it got lost during the last forum upgrade. I also wrote various other guides to install Oracle 11g and XE under Ubuntu, which could be useful. Unfortuantely, several people have literally copied the information and used it to shine on their own blogs without giving any credit to the information source. Lesson learned.
    Searching Google will be your best option. For instance:
    Installing Oracle11 and Oracle12 on Debian Wheezy, Squeeze
    There are some issues though, probably because some info was simply copied from someone else . For instance, the oracle startup script should use su oracle and not su - oracle, which overwrites local variables, etc.

  • ORA-24247: network access denied by access control list (ACL)error-UTL_HTTP

    I am getting following ACL error while executing following procedure:
    create or replace procedure sat_proc as
    http_req utl_http.req;
    http_resp utl_http.resp;
    BEGIN
    http_req := utl_http.begin_request('www.yahoo.com');
    http_resp := utl_http.get_response(http_req);
    utl_http.end_response(http_resp);
    END;
    exec sat_proc;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "TRANSDBA.SAT_PROC", line 5
    ORA-06512: at line 1
    I am able to execute successfully while executing above code as PL/SQL block:
    DECLARE
    http_req utl_http.req;
    http_resp utl_http.resp;
    BEGIN
    http_req := utl_http.begin_request('www.yahoo.com');
    http_resp := utl_http.get_response(http_req);
    utl_http.end_response(http_resp);
    END;
    PL/SQL procedure successfully completed.
    Could help me find why I am getting error while executing same code in a procedure? Is there any privilege missing?

    GRANT EXECUTE ON SYS.UTL_HTTP TO <your_user>;
    SQL> set time on
    17:21:01 SQL> set role none;
    Role set.
    17:21:23 SQL> @utl_http.sql
    17:21:34 SQL> DECLARE
    17:21:34   2  http_req utl_http.req;
    17:21:34   3  http_resp utl_http.resp;
    17:21:34   4  BEGIN
    17:21:34   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:21:34   6  http_resp := utl_http.get_response(http_req);
    17:21:34   7  utl_http.end_response(http_resp);
    17:21:34   8  END;
    17:21:34   9  /
    PL/SQL procedure successfully completed.
    17:21:35 SQL> connect / as sysdba
    Connected.
    17:22:47 SQL> connect dbadmin/admindb
    Connected.
    17:23:06 SQL> @utl_http.sql
    17:23:22 SQL> DECLARE
    17:23:22   2  http_req utl_http.req;
    17:23:22   3  http_resp utl_http.resp;
    17:23:22   4  BEGIN
    17:23:22   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:23:22   6  http_resp := utl_http.get_response(http_req);
    17:23:22   7  utl_http.end_response(http_resp);
    17:23:22   8  END;
    17:23:22   9  /
    PL/SQL procedure successfully completed.
    17:23:23 SQL> set role none;
    Role set.
    17:23:29 SQL> @utl_http.sql
    17:23:31 SQL> DECLARE
    17:23:31   2  http_req utl_http.req;
    17:23:31   3  http_resp utl_http.resp;
    17:23:31   4  BEGIN
    17:23:31   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:23:31   6  http_resp := utl_http.get_response(http_req);
    17:23:31   7  utl_http.end_response(http_resp);
    17:23:31   8  END;
    17:23:31   9  /
    DECLARE
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at line 5
    17:23:31 SQL> above is from test user
    Below is from SYSDBA account
    SQL> set time on
    17:20:53 SQL> revoke execute on sys.utl_http to dbadmin;
    revoke execute on sys.utl_http to dbadmin
    ERROR at line 1:
    ORA-00905: missing keyword
    17:22:03 SQL> revoke execute on sys.utl_http from dbadmin;
    revoke execute on sys.utl_http from dbadmin
    ERROR at line 1:
    ORA-04020: deadlock detected while trying to lock object
    ACLiLZU+w09hR7gQAB/AQAjcw==
    17:22:32 SQL> /
    Revoke succeeded.
    17:22:52 SQL> Edited by: sb92075 on Jun 10, 2010 5:24 PM

  • ORA-24247: network access denied by access control list (ACL)

    Hi All,
    I am sending a mail thru OWB 11g ( and using database 11g) after successful or failure of process. My process is completing successfully but am not able to send mail. At the time of sending mail it is giving me error as below
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 246
    ORA-06512: at "SYS.UTL_SMTP", line 115
    ORA-06512: at "SYS.UTL_SMTP", line 138
    ORA-06512: at line 8
    I have created ACL using the following code
    BEGIN
    dbms_network_acl_admin.create_acl(acl => 'oramail.xml',
    description => 'Network permissions for mail.oracle.com',
    principal => 'OWF_MGR', is_grant => TRUE, privilege => 'connect');
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl => 'oramail.xml',
    principal => 'OWF_MGR',
    is_grant => true,
    privilege => 'resolve');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'oramail.xml',
    host => '141.146.46.30');
    END;
    commit;
    where 141.146.46.30 is my mail server IP. I am still not able to send mail by OWB. Please let me know if I have missed any steps in this.
    Thanks.

    For Oracle Warehouse Builder 11g running in 11g dB you need to set the ACL for the OWBSYS user. For example:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('acl_for_owb_cc.xml', 'ACL for Control Center', 'OWBSYS', TRUE, 'connect');
    For Oracle Warehouse Builder 10.2.0.4 running in 11g dB you need to set the ACL for the OWB repository owner. For example:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('acl_for_owb.xml', 'ACL for OWB', 'MY_OWB_REPO_OWNER', TRUE, 'connect');"

  • APEX and ORA-24247: network access denied by access control list (ACL)

    Hi,
    I try to send email with APEX.
    I have enter the parameters of my mail server and activate the email on my application.
    I have follow the APEX installation guide and apply the script given in the "Granting Connect Privileges" section.
    When I try to send email or make a subscription, I don't receive any email and can see this error in the table "WWV_FLOW_MAIL_LOG"
    +"MAIL_TO","MAIL_FROM","MAIL_REPLYTO","MAIL_SUBJ","MAIL_CC","MAIL_BCC","MAIL_SEND_ERROR","LAST_UPDATED_BY","LAST_UPDATED_ON","SECURITY_GROUP_ID"+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",24/02/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    Do you see what is wrong in my configuration ?
    I use APEX 4.1, Oracle 11g.
    The script that I have apply is :
    DECLARE
    ACL_PATH  VARCHAR2(4000);
    ACL_ID    RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_040100
    -- the "connect" privilege if APEX_040100 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, make sure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    --+
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_040100'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    --+
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040100',
    +'connect') IS NULL THEN+
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    +'APEX_040100', TRUE, 'connect');+
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    +'ACL that lets power users to connect to everywhere',+
    +'APEX_040100', TRUE, 'connect');+
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    +/+
    COMMIT;
    Thanks for your help,

    Hi,
    You need to grant privilege to the user.
    i.e add principal
    You can use script :
    DECLARE
    ACL_ID   RAW(16);
    CNT      NUMBER;
    BEGIN
    -- Look for the object ID of the ACL currently assigned to ''*
    SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS
    WHERE HOST = '' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;*
    -- If just some users referenced in the ACL are invalid, remove just those
    -- users in the ACL. Otherwise, drop the ACL completely.
    SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE
    WHERE ACLID = ACL_ID AND
    EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL);
    IF (CNT > 0) THEN
    FOR R IN (SELECT PRINCIPAL FROM XDS_ACE
    WHERE ACLID = ACL_ID AND
    NOT EXISTS (SELECT NULL FROM ALL_USERS
    WHERE USERNAME = PRINCIPAL)) LOOP
    UPDATE XDB.XDB$ACL
    SET OBJECT_VALUE =
    DELETEXML(OBJECT_VALUE,
    *'/ACL/ACE[PRINCIPAL="'||R.PRINCIPAL||'"]')*
    WHERE OBJECT_ID = ACL_ID;
    END LOOP;
    ELSE
    DELETE FROM XDB.XDB$ACL WHERE OBJECT_ID = ACL_ID;
    END IF;
    END;
    REM commit the changes.
    COMMIT;
    Or you need to add privilege to specific user/schema using following script:
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE (
    acl          => 'aclfilename.xml',
    principal    => 'databaseuser',
    is_grant     => TRUE,
    privilege    => 'connect',
    position     => null);
    COMMIT;
    END;
    Please execute this code after connect as sysdba user.
    Thanks & Regards,
    Jaydipsinh Raulji
    Web: [www.oracleapexconsultant.com|www.oracleapexconsultant.com]

  • ORA-24247: network access denied by access control list (ACL) using FTP

    What used to work on our 10g server now doesn't work on 11g. We recently migrated to a new server and this FTP download process is the only thing that is giving me problems.
    I have tried using the IP Address and Domain name, opened up the ports 10 to 80 (just in case) and even tried FTPing to a local FTP site and cannot seem to get past the ORA-24247 error. At this point I am not sure what else to try. The FTP process worked great in 10g...
    begin
    dbms_network_acl_admin.create_acl (
    acl => 'cwtoto_acl_file.xml',
    description => 'FTP Access',
    principal => 'CWT_OPERATOR',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => null,
    end_date => null
    dbms_network_acl_admin.add_privilege (
    acl => 'cwtoto_acl_file.xml',
    principal => 'CWT_OPERATOR',
    is_grant => TRUE,
    privilege => 'resolve',
    start_date => null,
    end_date => null
    dbms_network_acl_admin.assign_acl (
    acl => 'cwtoto_acl_file.xml',
    host => '69.30.63.173',
    lower_port => 10,
    upper_port => 80
    dbms_network_acl_admin.assign_acl (
    acl => 'cwtoto_acl_file.xml',
    host => 'ftp.rmpc.org',
    lower_port => 10,
    upper_port => 80
    dbms_network_acl_admin.assign_acl (
    acl => 'cwtoto_acl_file.xml',
    host => 'ftp.taglab.org',
    lower_port => 10,
    upper_port => 80
    dbms_network_acl_admin.assign_acl (
    acl => 'cwtoto_acl_file.xml',
    host => '146.63.252.61',
    lower_port => 10,
    upper_port => 80
    commit;
    end;
    Edited by: tfrawley on Jan 20, 2011 10:23 AM

    So, I have contacted support to fix my inability to login to Oracle Support. In the meantime I'll just run through this problem one more time:
    I executed the following:
    begin
    dbms_network_acl_admin.create_acl (
    acl => 'cwtoto_acl_file.xml',
    description => 'FTP Access',
    principal => 'CWT_OPERATOR',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => null,
    end_date => null
    dbms_network_acl_admin.assign_acl (
    acl => 'cwtoto_acl_file.xml',
    host => 'ftp.rmpc.org',
    lower_port => 1,
    upper_port => 1000
    commit;
    end;
    This should give me an ACL xml file and permission for CWT_OPERATOR to connect to ftp.rmpc.org on ports 1 through 1000.
    I can look and see if the creation was successful: SELECT host, lower_port, upper_port, acl FROM dba_network_acls t ;
         HOST     LOWER_PORT     UPPER_PORT     ACL
    1     ftp.rmpc.org     1     1000     /sys/acls/cwtoto_acl_file.xml
    Looks good right?
    So I test it using the following:
    DECLARE
    l_conn UTL_TCP.connection;
    BEGIN
    l_conn := ftp.login('ftp.rmpc.org','21','[email protected]','anonymous');
    ftp.logout( l_conn);
    END;
    And get the following errors:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 246
    ORA-06512: at "SYSTEM.FTP", line 49
    ORA-06512: at line 4
    Has anyone else tried to use UTL_TCP and experienced a simliar issue?

  • ORA-24247: Netzwerkzugriff von Access Control-Liste (ACL) abgelehnt

    Hi,
    I am trying to send email in APEX but all the emails are in APEX mail queue with error status,
    ORA-24247: Netzwerkzugriff von Access Control-Liste (ACL) abgelehnt
    I already configured smtp server in manage instance. Please suggest me why the error is happening.
    Thanks & Regards,
    Sagarika

    Probably you need to add the SMTP server address to the ACL list. There are numerous resources showing how to do that. Google on "how to create acl in oracle" and you will get many links showing up. This one is explaining a how to quite good:
    http://www.oracleflash.com/36/Oracle-11g-Access-Control-List-for-External-Network-Services.html
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Error ORA-24247 after migrating from 10g to 11g

    Hi all,
    After a migration from a 10.2.0.3 (32bits) database to a 11.2.0.3 (64bits) database, we are facing a problem related to the UTL_SMTP package. I vale already created a ACL, as you can see below:
    -- create acl
    BEGIN
        DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (acl => 'user_processos.xml',
                                                                         description => 'abc',
                                                                    principal => 'PROCES',
                                                                    is_grant => TRUE,
                                                                    privilege => 'connect');
    END; 
    -- assign acl
    BEGIN
        DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (acl => 'user_processos.xml'
                                                                    host => 'rac-abc',
                                                                 lower_port => 1521,
                                                                 upper_port => NULL);
              END;The problem is: After we try to execute a procedure that calls UTL_SMTP, with user PROCES the error ORA-24247 is raised. I did some research and they all point to the it is necessary to create an ACL to solve this probles, but the ACL already exists, as you can see above.

    Hi,
    I had the same issue, well multiple issues, with this at first. You should find the solution in one of these links. Make sure you have done each step in the lists and it will work.
    [url http://www.ora00600.com/scripts/databaseconfig/ORA-29278.html]ORA-29278 SMTP
    [url http://www.ora00600.com/scripts/11g/UTL_SMTP_ORA-06512.html]ORA-06512: at SYS.UTL_SMTP
    There are various parameters and configuration steps you need to make sure you have performed for it to work.
    Hopefully that helps,
    Rob
    Edited by: Rob_J on Feb 15, 2013 11:53 AM
    *link was not working                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • ABC Indicator field in PM MODULE

    Hi gurus, I have a problem. I change a ABC Indicator value of Functional Locations to A via transaction IL02. However, when i get a report with transaction IW38, I dont see A value in ABC Indicator field in some of the Functional Locations. I am sure

  • 10.4.8 and HP Printer conflict

    I'd like to report a big, honking, piece of worthless equipment in my closet... My HP Color Laserjet 4500 was rendered inoperable after the recent update to OS 10.4.8. I called HP but they couldn't help me. It is clearly a driver/system conflict. The

  • COBOL format into Oracle 11.1.0.6.0

    hi We encountered problem while writing into Oracle 11.1.0.6.0 database from Compressed values through COBOL. The problem occurred for some specific values. Actual Values: We encountered while writing amount +2000.000 (to +2007.000) COBOL format into

  • Error Running Oracle forms

    I have Oracle 8i with developer 6i installed on a win-xp professional(sp1) system. when i try to run my developed application thru an icon from the desktop it creates a file by name ifrun60_dump_47244 (the no changes every time i try to do) and this

  • Free Trial won't install

    Last week I downloaded the free trial version of Adobe InDesign but my computer's operating system was too old to install/run the program. Today I upgraded my operating system from Mac OSX 10.4 to 10.6 and attempted to re-install the InDesign program