Home » SQL & PL/SQL » SQL & PL/SQL » ORA-24248: XML DB extensible security not installed (Oracle 11.2.0.1.0, Windows)
ORA-24248: XML DB extensible security not installed [message #549263] Thu, 29 March 2012 04:38 Go to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Hi,

When i try to gather server information by running the below query , i get error.

SQL>
SQL> select utl_inaddr.get_host_address ('Hostnamename') from dual;
select utl_inaddr.get_host_address ('Hostnamename') from dual
       *
ERROR at line 1:
ORA-24248: XML DB extensible security not installed
ORA-06512: at "SYS.UTL_INADDR", line 19
ORA-06512: at "SYS.UTL_INADDR", line 40
ORA-06512: at line 1


I ran below query to see what is installed.

SQL>
SQL> select comp_name from dba_registry;

COMP_NAME
-----------------------------------------
Oracle Database Catalog Views
Oracle Database Packages and Types
Oracle Real Application Clusters


My question is do i need to install XML database to resolve this issue and is SYS user is required to perform this install?

Please clarify my questions.

Regards,
Re: ORA-24248: XML DB extensible security not installed [message #549264 is a reply to message #549263] Thu, 29 March 2012 04:49 Go to previous messageGo to next message
muralikri
Messages: 638
Registered: August 2011
Location: chennai
Senior Member

you can try ..
SELECT UTL_INADDR.get_host_address from dual;
Re: ORA-24248: XML DB extensible security not installed [message #549268 is a reply to message #549263] Thu, 29 March 2012 05:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
ORA-24248: XML DB extensible security not installed
 *Cause:    XML DB extensible security necessary for this operation has
            not been installed.
 *Action:   Ensure that XML DB has been installed.


Your output show XML DB is not installed, so you can't use this command.
And yes, if Oracle ask it, you have to install it to be able to use this function.

Regards
Michel

[Updated on: Thu, 29 March 2012 05:48]

Report message to a moderator

Re: ORA-24248: XML DB extensible security not installed [message #549269 is a reply to message #549264] Thu, 29 March 2012 05:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
muralikri wrote on Thu, 29 March 2012 11:49
you can try ..
SELECT UTL_INADDR.get_host_address from dual;


Once again, PLEASE read the question before answering.

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #549270 is a reply to message #549268] Thu, 29 March 2012 05:51 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Read the following valuable page from Zahid Karim:
http://oracleflash.com/40/ORA-24248-XMLDB-extensible-security-not-installed.html
He describes in details what you have to do.

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #549272 is a reply to message #549270] Thu, 29 March 2012 05:59 Go to previous messageGo to next message
muralikri
Messages: 638
Registered: August 2011
Location: chennai
Senior Member

Sorry micheal...i have misunderstand.
Re: ORA-24248: XML DB extensible security not installed [message #549279 is a reply to message #549272] Thu, 29 March 2012 06:51 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
So try to understand before compulsively giving an answer, it is not the first time we told you so.

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #549421 is a reply to message #549279] Fri, 30 March 2012 08:03 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,
Thank you for the link and answers.
Re: ORA-24248: XML DB extensible security not installed [message #549975 is a reply to message #549421] Thu, 05 April 2012 01:55 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

I have a question regarding installing XML DB on database.

1.Is there something we need to spend money for installing this XML DB on database
like we spend money for enabling partition feature for database or

2.Is there any recommendation by Oracle that this XML DB should not be installed in database
who does not own SYSDBA privilege?
or
3.Would there be impact to database if we install this XML DB ?

Can you please clarify my doubts ?

Regards,
Re: ORA-24248: XML DB extensible security not installed [message #549977 is a reply to message #549975] Thu, 05 April 2012 02:02 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
I don't know.
One thing I know is that scripts MUST be run as SYSDBA.
And another one is that if you need it then you install it else you don't.
For the other points, I'd search on MOS/Metalink or contact Oracle.

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #550016 is a reply to message #549977] Thu, 05 April 2012 05:23 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Thank you Michel.
Re: ORA-24248: XML DB extensible security not installed [message #551108 is a reply to message #549977] Sun, 15 April 2012 12:10 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

Quote:
For the other points, I'd search on MOS/Metalink or contact Oracle.


Any update on this ?

Regards,
Re: ORA-24248: XML DB extensible security not installed [message #551110 is a reply to message #551108] Sun, 15 April 2012 12:16 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

Is there any other way to find out which database i logged in?

I know the below query would give the name of the database. But what would be the case
if Production and Pre-production database names are similar.

select name from v$database

How to verify whether i logged in to correct database?

Please clarify and give answer to my questions.

Regards,
Re: ORA-24248: XML DB extensible security not installed [message #551111 is a reply to message #551110] Sun, 15 April 2012 12:19 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>How to verify whether i logged in to correct database?
>Please clarify and give answer to my questions.

if you don't know how to tell them apart, why do you expect us to know?

exactly what makes them unique?
Do they reside on different systems?
Do you know to which system you have logged onto?
Re: ORA-24248: XML DB extensible security not installed [message #551126 is a reply to message #551110] Sun, 15 April 2012 14:07 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
select global_name from global_name;
show parameter unique_name

If there are the same ones in both environment then you are a very serious problem in your organisation.
And the last resort is:
select dbid from v$database;

If there are the same one then you shoud IMMEDIATLY fire who did that.

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #551307 is a reply to message #551126] Tue, 17 April 2012 02:43 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

I tried to execute the commands you gave in database ( which resides in different servers)
but did not get the output i expected.

In Server1
----------
SQL>
SQL> select global_name from global_name;

GLOBAL_NAME
------------------------------------------------
JACK.WORLD

SQL> show parameter unique_name
ORA-00942: table or view does not exist


SQL> select dbid from v$database;
select dbid from v$database
                 *
ERROR at line 1:
ORA-00942: table or view does not exist


In server 2
--------------
SQL> select global_name from global_name;

GLOBAL_NAME
------------------------------------------------
JACK.WORLD

SQL>
SQL> show parameter unique_name

NAME                                 TYPE
------------------------------------ -----------
VALUE
------------------------------
db_unique_name                       string
webcaps
SQL>
SQL> set lines 1000
SQL> /

GLOBAL_NAME
------------------------------------------------

JACK.WORLD

SQL> select dbid from v$database;

      DBID
----------
2205711133


I am scared if i do something wrong in database which i am not suppose to do in particular database.

Regards,
Re: ORA-24248: XML DB extensible security not installed [message #551314 is a reply to message #551307] Tue, 17 April 2012 03:17 Go to previous messageGo to next message
Michel Cadot
Messages: 68712
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
GLOBAL_NAME is public.
The other views are accessible only if you are a DBA (roughly speaking).

Regards
Michel
Re: ORA-24248: XML DB extensible security not installed [message #551328 is a reply to message #551314] Tue, 17 April 2012 05:33 Go to previous message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

I found answer to my question.Its easy.

select * from v$instance

The above syntax will give the hostname of the database.From this we could find out whether we are logging to correct database.

Smile

Thank you for your responds

[Updated on: Tue, 17 April 2012 05:33]

Report message to a moderator

Previous Topic: sql query
Next Topic: Asynchronous procedure calls
Goto Forum:
  


Current Time: Thu Nov 14 12:21:40 CST 2024