DBA_LIBRARIES
I have a database running on 11.1.0.7 in HPUX ia64 environment!
It is running from 11.1.0.7 OH. But when I query the dba_libraries it shows the Oracle Home as different. could you please let me know why is this behavior?
[DVDB0124](itmpsh02)/home/oracle-> echo $ORACLE_HOME
/u01/app/oracle/product/11.1.0.7_3Q10
[DVDB0124](itmpsh02)/home/oracle-> sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on Wed Apr 13 05:04:50 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select comp_id, comp_name, version, status from dba_registry;
COMP_ID COMP_NAME VERSION STATUS
XDB Oracle XML Database 11.1.0.7.0 VALID
EXF Oracle Expression Filter 11.1.0.7.0 VALID
RUL Oracle Rules Manager 11.1.0.7.0 VALID
OWM Oracle Workspace Manager 11.1.0.7.0 VALID
CATALOG Oracle Database Catalog Views 11.1.0.7.0 VALID
CATPROC Oracle Database Packages and Types 11.1.0.7.0 VALID
JAVAVM JServer JAVA Virtual Machine 11.1.0.7.0 VALID
XML Oracle XDK 11.1.0.7.0 VALID
CATJAVA Oracle Database Java Packages 11.1.0.7.0 VALID
SQL> SELECT substr(file_spec,1,instr(file_spec,'lib')-2) ORACLE_HOME FROM dba_libraries
WHERE library_name='DBMS_SUMADV_LIB';
2
ORACLE_HOME
/u01/app/oracle/product/11.1.0.6_2Edited by: user9104898 on Apr 13, 2011 2:06 AM
YOU define the column_name as ORACLE_HOME (could be ANY other valid name), that's not the name as the environment variable ORACLE_HOME. And libraries can be be stored where you want, not necessarily in $ORACLE_HOME.
Similar Messages
-
OiD and Portal Integration (WWC-41400)
Outside of the steps below what can be done to integrate Portal and OiD ?
Thanks in Advance !
This is a new install of Oid and Portal.
Portal is installed using ias10221 in a 8.1.7.2 database on Sun Solaris 2.7 w/patches.
Used Configuring Oracle 9iASPortal for LDAP Authentication. White Paper.
December 2000. To defined OID/Portal steps.
I've reviewed
Note: 133123.1 WWC-41400 trying to login to Portal using LDAP authentication
http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm selecting from dba_libraries shows these items.
PORTAL30_SSO AUTH_EXT
/u01/app/oracle/product/8.1.7.2/lib/ssoxldap.so
Y VALID
SYS AUTH_EXT
/u01/app/oracle/product/8.1.7.2/lib/ssoxldap.so
Y VALID
PORTAL30 AUTH_EXT
/u01/app/oracle/product/8.1.7.2/lib/ssoxldap.so
Y VALID
The file exists:
-rw-r--r-- 1 oracle dba 8324 Dec 5 14:37
/u01/app/oracle/product/8.1.7.2/lib/ssoxldap.so
cmrapp:/ >echo $TNS_ADMIN
/u01/app/oracle/product/8.1.7.2/network/admin
cmrapp:/ >tnsping extproc_connection_data
TNS Ping Utility for Solaris: Version 8.1.7.2.0 - Production on 10-DEC-2001
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=IPC)(KEY=extprocO))
OK (30 msec)
Here is the listener.ora
LISTENER2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cmrapp.ssd.census.gov)(PORT = 1526))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = extprocO))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = extprocO)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/8.1.7.2)
(ENVS =
'LD_LIBRARY_PATH=/u01/app/oracle/product/8.1.7.2/ctx/lib:/u01/app/oracle/product/8.1.7.2/lib:/u01/app/oracle/product/8.1.7.2/bin:/u01/app/oracle/product/8.1.7.2/ctx/bin')
(SID_DESC =
(GLOBAL_DBNAME = oiddev)
(ORACLE_HOME = /u01/app/oracle/product/8.1.7.2)
(ENVS = 'TNS_ADMIN=/u01/app/oracle/product/8.1.7.2/network/admin')
(SID_NAME = oiddev)
TNS_ADMIN is set to /u01/app/oracle/product/8.1.7.2/network/admin in the
apachectl script and at the OS level.
Additionally
The Apache/Apache/logs and Apache/Jserv/logs are clear and no invalid database objects.
I also looked within the Portal30 schema for errors, but found none.
SQL> select * from wwv_rw_errors$;
no rows selected
SQL> select * from wwv_errors$;
no rowsHello Lorenzo,
Currently the procedure on how to do this can be found at:
http://technet.oracle.com/products/iportal/pdf/conf_ldap.pdf
9iAS v2 will be in production sometime in the next month or two.
The procedure for setting this up will be more siplified in 9iAS
v2.
Thanks,
Jay -
Do we have any views to know about ORACLE HOME?
Hi experts,
Do we have any views in oracle 9i to see the oracle_home,oracle_base.
Thanks in advanceSQL> select substr(file_spec,1,instr(file_spec,'lib')-2) oracle_home from dba_libraries where library_name='DBMS_SUMADV_LIB';
ORACLE_HOME
/global/khome25/oracle/app/oracle/product/9.2
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Solaris: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - ProductionIn 10G it is easier.
SQL> var b1 varchar2(100);
SQL> exec dbms_system.get_env('ORACLE_HOME', :b1);
PL/SQL procedure successfully completed.
SQL> print b1
B1
/export/home0/app/oracle/product/10.2.0/db_1
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Solaris: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production -
Error loading external library (Oracle 8.1.5)
I'm running Oracle 8.1.5 and am trying to configure the interMedia Text option to enable long test searches using the "contains" operator.
I've installed (and re-installed) the interMedia text option trying to get this thing working. The installations (including the re-installation) were successful and starting the ctxsrv process was successful as well. No matter what I do, however, I get the following error when I try to create a context type index:
SQL> create index z$long_ix on z$long(data) indextype is ctxsys.context;
create index z$long_ix on z$long(data) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so: open failed: No such file or directory
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
I have tried everything in the online newsgroups, FAQs, etc, but still seem to have this error come up.
My tnsnames.ora contains:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
My listener.ora contains:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
(ENVS=LD_LIBRARY_PATH=/dbmsu001/app/oracle/product/8.1.5/lib:/dbmsu001/app/oracle/product/8.1.5/ctx/lib)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SWOW)
(GLOBAL_DBNAME = devlab)
(ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
I restarted the listener each time I made changes to listener.ora and I restarted ctxsrv process each time as well to make sure. I run ctxsrv as "ctxsrv -user ctxsys/ctxsys -personality M -log ctx.log &". I exited SQL*PLus and restarted to make sure I got a new session under the new listener process.
I don't know alot about libraries and external processes, but from what I've read, I have everything setup properly. I checked the dba_libraries view and it shows the proper filename and path for the libctxx8.so file. It should be correct as it's the same file/path I entered while installing the interMedia text option.
I've also tried setting text_enable = FALSE in initXXX.ora to make sure that doesn't interfere. Somewhere I read that having that parameter set to TRUE may cause some problems as it's only for version prior to 8.1.5.
If you have any additional information that can help me get this working, it would be greatly appreciated. I've spent countless hours and am just spinning my wheels now with an ever increasing level of frustration.
Shane Marshall
Boston, MAThis might be best asked in the Oracel Text forum...
But, it appears that you have extproc configured correctly, the problem is that extproc cannot find the shared object in question. It cannot dynamically load the shared object becaus it cannot find it.
In my experience, this is due to a LD_LIBRARY_PATH unix environmental variable that does not include the directory where the shared object is. You should set this variable in the login script for the oracle user.
From the installation guide.... I am not sure if this library is in ORACLE_HOME/lib, if not add the directory to LD_LIBRARY_PATH
LD_LIBRARY_PATH
Required when using Oracle products that use shared libraries. Set LD_LIBRARY_
PATH to include $ORACLE_HOME/lib. -
External Procedure call - wait event - no response
Executing SQL that use external library - I dont get any response
I see wait event as 'External Procedure call' and no response, no errors are thrown.
Am I missing something or how do I troubleshoot further...
Your help very much appreciated.
Please note I have no entry in TNSNAMES.ORA or LISTENER.ORA file for extproc connections.
Oracle DB - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Listener - TNSLSNR for Linux: Version 11.2.0.3.0
OS - Red Hat Enterprise Linux Server release 6.5
DLL entry done ONLY in "/apps/oracle/product/11.2.0/dbhome_1/hs/admin/extproc.ora"
SET EXTPROC_DLLS=ANY
OS Environment LD_LIBRARY_PATH=
LD_LIBRARY_PATH=/apps/oracle/product/11.2.0/dbhome_1/lib
DLL File permission
-rwxrwxr-x 1 oracle oinstall 8022832 Mar 6 12:55 libst_shapelib.so
OS EXTPROC process is running
oracle 17489 1 0 09:08 ? 00:00:00 extprocGISDEV (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=BEQ)))
Library Path set at schema level as below
select * from dba_libraries where library_name = 'ST_SHAPELIB';
OWNER LIBRARY_NAME FILE_SPEC DYNAMIC STATUS
SDE ST_SHAPELIB /apps/oracle/product/11.2.0/dbhome_1/lib/libst_shapelib.so Y VALIDHello,
This is posted in the incorrect community. I think you need to be in SQL and PL/SQL
Regards,
Matt -
Context Indexing creation error...
I cannot use context cartridge...
When I try to create index, i receive following error message:
SQL> create index myindex on x(name) indextype is ctxsys.context
2 parameters ('lexer mylexer wordlist mywordlist stoplist mystoplist');
create index myindex on x(name) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: z: cannot open shared object file: No such file or directory
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
I listed below the libraries Oracle Context have installed:
SQL> select library_name, file_spec from dba_libraries where library_name
like 'DR%'
LIBRARY_NAME FILE_SPEC
DR$LIB
DR$LIBX z
As you can see these libraries have strange file_specs, but i dont know what right file_specs i must use...
Please help...
Best regards
OlegBut the status of the context index is VALID on the view USER_INDEXES...
Besides lsnrctl says following about extproc:
LSNRCTL> status e
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCKEY))
STATUS of the LISTENER
Alias e
Version TNSLSNR for Linux: Version 8.1.5.0.0 - Production
Start Date 23-OCT-00 13:19:31
Uptime 1 days 2 hr. 21 min. 49 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /pt01/app/oracle/product/8.1.5/network/admin/listener.ora
Listener Log File /pt01/app/oracle/product/8.1.5/network/log/e.log
Services Summary...
extproc has 1 service handler(s)
The command completed successfully
So, all is right with extproc... -
Determining ORACLE_HOME location from DBA_ or V$ views
DB Version:10gR2
Is there a DBA_ or V$ view which i can query to determine ORACLE_HOME location?
Edited by: james_p on Oct 13, 2008 3:18 AMSELECT substr(file_spec,1,instr(file_spec,'lib')-2) ORACLE_HOME FROM dba_libraries
WHERE library_name='DBMS_SUMADV_LIB';Interesting idea. Unfortunately when I tried the query on 10g NULL was returned :(
The oracle home might be extractable from V$PARAMTER name = 'user_dump_dest'
SQL> c/name/value
1* select value from v$parameter where name = 'user_dump_dest'
SQL> /
VALUE
C:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP -
Hi,
I have a task to uninstall all the unused Oracle Homes from a server.
But before doing that, I want to know whether there are any databases running on that particular home or not? How do I find that?
I checked /etc/oratab file and confirmed that there are no databases associated with this unused Oracle Homes.
Do I have to check some other location? Is there any command to check whether this Oracle Home is being used or not?
Please help me out!
Thanks!Source:
http://tonguc.oracleturk.org/index.php/2006/09/21/how-to-get-oracle_home-from-sql-or-plsql/
select NVL(substr(file_spec, 1, instr(file_spec, '\', -1, 2) -1) , substr(file_spec, 1, instr(file_spec, '/', -1, 2) -1)) folder from dba_libraries where library_name = 'DBMS_SUMADV_LIB';Use the above to connect every database and make sure that the oracle home you're trying remove aren't present.
HTH
-Anantha
Maybe you are looking for
-
Excise invoice creation incase of price increase
Dear all, I am facing a problem in case supplementary billing scenario at my client's place. Some times price of the material increases and that price will be effected from past date.Then a supplementary excise is created with values consisting of Di
-
Is it possible to extract data from a Safari cookie?
Hello, I need to recover a FedEx tracking number that I entered in Safari, and I'm hoping that perchance it was stored somehow in a cookie when I entered the number. It appears that I have a few cookies from FedEx in the list of cookie files on my co
-
Trouble opening a PDF form (getting blank tab)
I'm having an issue in Firefox on Windows 7. My company's intranet has a PDF form that I need to complete but it won't open properly. With the option for PDF files set to "Use Adobe Reader", the PDF opens in a new tab but the error "This PDf document
-
I just wiped my hard disk and rebooted snow leopard 10.6.8 and now have lost my iphoto. It is not present in my original disk and I want the easiest way to reinstall iphoto. I have an older macbook pro that is not upgradeable anymore, but still wor
-
SQL Server as dehydration database
hi all, i want to use the SQL Server 2005 as a dehydration database for the BPEL that comes with the SOA 10.1.3.1.0, i use the data direct jdbc downloaded from the oracle site, i executed the corresponding sql server schemas located in the bpel/scrip