ORA-24248 XMLDB extensible security not installed |
We found the correct way to install the xml database piece.
Oracle 11g introduces more secure and fine grained access on network packages like UTL_TCP, UTL_SMTP, UTL_MAIL, UTL_HTTP and UTL_INADDR,
i.e. an execute privilege on these packages is not enough to access an external network resource using these packages.
You have to configure ACL (Access Control List), assign the network host and port to it and grant connect privilege to the users through this ACL.
First check to see what you have installed:
SQL> select comp_name from dba_registry;
As can be seen from the output of the above query, you will be missing Oracle XML Database.
Here is how to install :
Install XML Database: Oracle 11g Enterprise Edition
$ cd $ORACLE_HOME/rdbms/admin$ sqlplus / as sysdba
Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> spool install_xml.log
SQL> @catqm xdb sysaux temp NO
...[output trimmed]...
SQL> declare
2 suf varchar2(26);
3 stmt varchar2(2000);
4 begin
5 select toksuf into suf from xdb.xdb$ttset where flags = 0;
6 stmt := 'grant all on XDB.X$PT' || suf || ' to DBA';
7 execute immediate stmt;
8 stmt := 'grant all on XDB.X$PT' || suf || ' to SYSTEM WITH GRANT OPTION';
9 execute immediate stmt;
10 end;
11 /
PL/SQL procedure successfully completed.
SQL>spool off
The XML Database installation is complete.
Open the install_xml.log and check for any significant errors in it.
Then verify from dba_registry again to see the status of XML Database installed as follows:
SQL> select comp_name , status from dba_registry;
COMP_NAME STATUS
---------------------------------------- --------------------------------------------
Oracle XML Database VALID
Oracle Enterprise Manager VALID
OLAP Catalog VALID
Oracle Database Catalog Views VALID
Oracle Database Packages and Types VALID
JServer JAVA Virtual Machine VALID
Oracle Database Java Packages VALID
7 rows selected.
SQL>
The status should be VALID to indicate that the installation was successfull.
After this, you should not get the ORA-24248 XMLDB extensible security not installed
error message again.
Hope this helps.
Thanks,