Instructions for Configuring RMAN (Oracle 11g Enterprise Edition)
Good Afternoon,
Having problems configuring RMAN. Can someone tell me how to configure RMAN using the command line?
Thanks
976505 wrote:
When I attempt to set the NLS_LANG at the SQLPLUS prompt, I get the following error message: SP2-0158: unknown SET option "NLS_DATE"
What am I doing wrong, did I miss something?
NLS_LANG can only be set at OS level: as env. var. in UNIX/Windows and as registry setting in Windows.
See OTN NLS_LANG FAQ http://www.oracle.com/technetwork/database/globalization/nls-lang-099431.html.
For example in Windows 7 if I want French settings and keep same character set:
set NLS_LANG=FRENCH_FRANCE.Edited by: P. Forstmann on 2 févr. 2013 20:42
Similar Messages
-
Java Mail throws Connect failed error in Oracle 11g Enterprise Edition
Hi,
I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
DEBUG: setDebug: JavaMail version 1.4.4
DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]
DEBUG POP3: mail.pop3s.rsetbeforequit: false
DEBUG POP3: mail.pop3s.disabletop: false
DEBUG POP3: mail.pop3s.forgettopheaders: false
DEBUG POP3: mail.pop3s.cachewriteto: false
DEBUG POP3: mail.pop3s.filecache.enable: false
DEBUG POP3: mail.pop3s.keepmessagecontent: false
DEBUG POP3: mail.pop3s.starttls.enable: true
DEBUG POP3: mail.pop3s.starttls.required: false
DEBUG POP3: mail.pop3s.apop.enable: false
DEBUG POP3: mail.pop3s.disablecapa: false
DEBUG POP3: connecting to host "194.42.133.180", port 110, isSSL true
javax.mail.MessagingException: Connect failed;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at GetNoonReport.Connect2Mailserver(GetNoonReport:338)
at GetNoonReport.ReadMail(GetNoonReport:103)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:507)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:107)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
... 4 more
Is Oracle Enterprise Edition supports "POP3S" protocol?, Or Enterprise edition needs any additional configuration for establishing outlook connection with "pop3s" ?.
Any help is appreciated
Regards ,
Nisanth907833 wrote:
Hi,
I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
I suspect root cause is with Java not Oracle.
Oracle RDBMS does NOT speak any "protocol" except SQL natively. -
"In-Memory Database Cache" option for Oracle 10g Enterprise Edition
Hi,
In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
databases (platform - Solaris 9i).
TimesTen holds application information which needs to be accessed quickly
and Oracle 9i is a master application database.
Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
database. While exploring about Oracle 10g features, came to know about
"In-Memory Database Cache" option for Oracle Enterprise Edition. This made
me to think about using Oracle 10g Enterprise Edition with "In-Memory
Database Cache" option for our application.
Following are the advantages that I could visualize by adopting the
above-mentioned approach:
1. Data reconciliation between Oracle and TimesTen is not required (i.e.
data can be maintained only in Oracle tables and for caching "In-Memory
Database Cache" can be used)
2. Data maintenance is easy and gives one view access to data
I have following queries regarding the above-mentioned solution:
1. What is the difference between "TimesTen In-Memory Database" and
"In-Memory Database Cache" in terms of features and licensing model?
2. Is "In-Memory Database Cache" option integrated with Oracle 10g
installable or a separate installable (i.e. TimesTen installable with only
cache feature)?
3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
Connect to Oracle" option in TimesTen In-Memory Database?
4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
access will happen only through Oracle sqlplus or OCI calls. Am I right here
in making this statement?
5. Is it possible to cache the result set of a join query in "In-Memory
Database Cache"?
In "Options and Packs" chapter in Oracle documentation
(http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
#CIHJJBGA), I encountered the following statement:
"For the purposes of licensing Oracle In-Memory Database Cache, only the
processors on which the TimesTen In-Memory Database component of the
In-Memory Database Cache software is installed and/or running are counted
for the purpose of determining the number of licenses required."
We have servers with the following configuration. Is there a way to get the
count of processors on which the Cache software could be installed and/or
running? Please assist.
Production box with 12 core 2 duo processors (24 cores)
Pre-production box with 8 core 2 duo processors (16 cores)
Development and test box with 2 single chip processors
Development and test box with 4 single chip processors
Development and test box with 6 single chip processors
Thanks & Regards,
VijayHi Vijay,
regarding your questions:
1. What is the difference between "TimesTen In-Memory Database" and
"In-Memory Database Cache" in terms of features and licensing model?
==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
2. Is "In-Memory Database Cache" option integrated with Oracle 10g
installable or a separate installable (i.e. TimesTen installable with only
cache feature)?
==> Seperate Installation
3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
Connect to Oracle" option in TimesTen In-Memory Database?
==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
This explains the differences.
4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
access will happen only through Oracle sqlplus or OCI calls. Am I right here
in making this statement?
==> Please see above mentioned papers
5. Is it possible to cache the result set of a join query in "In-Memory
Database Cache"?
==> Again ... ;-)
Kind regards
Mike -
How to find a datasheet for Oracle Database Enterprise Edition
Hi all
Can you please send me a link where to find datasheet for Oracle Database Enterprise Edition, because when i navigate on www.oracle.com or www.otn.oracle.com or partners.oracle.com the only product which I can not find the Brochures and Datasheets link is ODBEE.
If it is possible you can send me even the pdf document.
Thank you and best regardsCan you explain exactly what information you're looking for? There are many, many different things that could be called "data sheets". What information, specifically, are you trying to find about the enterprise edition database?
Potentially, you are looking for the Oracle Database 11g Product Family which compares the features available in the various editions of the 11g database. Perhaps you want some other data sheet. If you can help us by telling us exactly what information you're trying to find, we can probably help you find it.
Justin -
Oracle ILM Assistant 1.4 Installation for Oracle 11g Express Edition
Can we use Oracle ILM Assistant 1.4 with Oracle 11g Express Edition?
I installed ILM Assistant with Oracle 11g Express Edition along with default APEX in my laptop. Oracle SQLPlus connect and Application Express working fine. But facing problem is connecting ILM Assistant.
I used below commands to install ILM Assistant
sqlplus /nolog
Connect SYS as SYSDBA
Password: oracle
@ilma_install oracle ILM_ASSISTANT NONE
granted all access rights to user
@ilma_post_install
I restarted by computer once installation completes.
When I use http://localhost:8080/pls/apex/f?p=737677 address in IE to connect ILM Assistant it ask for XDB server username and password. When I provide default password IE giving 404 Not Found error.
Just wondering if I am missing something or issue is some thing else.Hermann, thanks for your support.
Answer: please use username in Capital Letters
e.g.
SQL> @grant_privs ILM_USER_TEST; -
Reg: Oracle 9i Enterprise Edition software for solaris x86 (32-bit)
Hi,
Where can i download the Oracle 9i Enterprise Edition software for solaris x86 (32-bit).
Thanks in advance.
Edited by: ora_man_8873786 on May 14, 2011 12:50 AMIf you have a CSI you can always order the CD at My Oracle Support by submitting a SR.
Sybrand Bakker
Senior Oracle DBA -
Issue in executing contains Query(Oracle 11g Enterprise E on Linux RHEL 4
Oracle Version: 11.1.0.6.0
We are facing problem in executing contains Query :
1.When length of string inside contains clause goes beyond 4000 it gives error ORA-01704: string literal too long
2.We try to modify query by breaking it into multiple contains clause but it was not giving good performance (performance degrades as number of contains clauses increases.)It seems accessing same index multiple times becoming costly and taking more time. (We can see same domain Index has been accessed 3 times for 3 contains clause ()
3.We used multiple varchar(4000) type bind variable in single contains clause but giving error
ORA-29902: error in executing ODCIIndexStart() routine
ORA-01489: result of string concatenation is too long
4.We used bind variable of type clob but giving error
Error:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drexrstart_clob
I read from article
http://www.oracle.com/technology/products/text/pdf/ot11g_new_features.pdf
That we don’t need to modified query as we had to do with SDATA(as we are doing in above examples) and optimizer will realize that query can be satisfied by the text index and will “push down” the filtering of rows into the text index processor rather than doing table access for filtering on sdata column but when I tried to write that query it was doing table access to filter for filter by column.
My Questions:
a. Is it possible as mentioned in above point(point number 5) that we don’t need to write SDATA query in contains clause and optimizer will use composite index automatically.
b. Is there any workaround for using string literal > 4000 char in contains clause.
c. Why performance degrades lineally when using multiple contains clause.
d. Can we use in clause in SDATA and write query like this:
i. SDATA(queryid in ( 'q1',’q2’))
/* Table */
create table ContentStore (ResourceID raw(16), QueryID VARCHAR2(38),IFID VARCHAR2(38),ISTimeStamp number,ISProtocolName VARCHAR2(100),ismimecontenttype varchar2(100),ISToBeDisplayed number(1),IndexedMetaText CLOB)
/* Index */
create index idxMeta on ContentStore (IndexedMetaText) indextype is ctxsys.context filter by queryid,IFID,istimestamp,isprotocolname,ismimecontenttype,resourceid,istobedisplayed order by istimestamp desc parameters('filter ctxsys.null_filter section group GRP_system2 sync(every "sysdate+1/(24*4)" MEMORY 209715200 PARALLEL 2) storage my_text_storage memory 209715200')parallel 2
/* GRP_system2*/
begin
ctx_ddl.create_section_group('GRP_system2', 'BASIC_SECTION_GROUP');
ctx_ddl.add_field_section('GRP_system2', 'FILENAME', 'FILENAME');
ctx_ddl.add_field_section('GRP_system2', 'ISIPSrcIP', 'ISIPSrcIP');
ctx_ddl.add_field_section('GRP_system2', 'ISProxyUserIP', 'ISProxyUserIP');
ctx_ddl.add_field_section('GRP_system2', 'isipdestip', 'isipdestip');
end;
/* 1.When length of string inside contains clause goes beyond 4000 it gives
error ORA-01704: string literal too long */
select indexedmetatext from ContentStore where rowid in ( select oraclerowid from ( select rowid as oraclerowid from ContentStore where contains(indexedmetatext,'((68.142.91.152 within isipsrcip) or (68.142.91.152 within isproxyuserip) or (68.142.91.152 within isipdestip)) and ((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''c7d7fdb3-e532-42f1-a8b4-450771fc763f'')) or (sdata(queryid = ''7746f95a-01ba-4318-991a-35c2a8a0c73d'')) or (sdata(queryid = ''b0d339d2-ada9-485b-b752-79920a589340'')) or (sdata(queryid = ''33083cc8-7ed0-4a67-81f0-de1f3d673db2'')) or (sdata(queryid = ''0475dea9-288b-4be6-815e-751c98c25f2b'')) or (sdata(queryid = ''8cfb62f4-2bac-4da6-a2c2-84e409f5a810'')) or (sdata(queryid = ''afbf17a7-4170-45f4-9b66-de3860de93d7'')) or (sdata(queryid = ''750a7b1c-db61-4f87-b78f-505bc73aa5df'')) or (sdata(queryid = ''debc06f3-51a8-4278-9d38-f316dfb6340c'')) or (sdata(queryid = ''d2d8d8a8-b691-439f-b6de-618825aad152'')) or (sdata(queryid = ''f6a3515a-4c7b-48d0-8d46-f62541525cd0'')) or (sdata(queryid = ''bef5c527-5e78-494f-832c-12b3967f22cc'')) or (sdata(queryid = ''638a4029-c4bf-42ef-87bc-2cd4a3977dd1'')) or (sdata(queryid = ''1ce38c22-fd80-4d0f-b9ab-1a09941c5809'')) or (sdata(queryid = ''7bbbcc66-f19d-4758-bdd8-2796da1e26fe'')) or (sdata(queryid = ''d3e96050-ab5e-48b7-9445-d884167c8ae9'')) or (sdata(queryid = ''eaf93ce1-fbd8-4bb6-9fb1-12c337878c72'')) or (sdata(queryid = ''ef1ce7ce-9b4a-4f10-9c91-7256f513c709'')) or (sdata(queryid = ''46bf5cda-ada3-41f2-92b0-174ac29c5808'')) or (sdata(queryid = ''59136e92-147f-41c4-ac75-79d921268714'')) or (sdata(queryid = ''fb2382b2-6496-4c9f-a427-2f6db3b9fd16'')) or (sdata(queryid = ''531b3790-ed50-4b83-a0d0-eabfed2b6701'')) or (sdata(queryid = ''4908b148-2432-4041-947c-31ff8e10646c'')) or (sdata(queryid = ''82007d26-d526-42c9-a8d0-5b75e7f08b90'')) or (sdata(queryid = ''002735e8-6886-4bb4-a732-8a9d04165837'')) or (sdata(queryid = ''43f25cba-1d90-4cc2-84d1-a8719c5b1c9f'')) or (sdata(queryid = ''99d9027f-948b-4bc7-9a44-3092d6b29580'')) or (sdata(queryid = ''24221285-ea64-4e14-8c08-a173ec1b7fd9'')) or (sdata(queryid = ''47ad81d7-75cb-4787-91ab-c2bc5c5e1aaa'')) or (sdata(queryid = ''4ff2846f-6d70-4f9b-a5bf-317263c0ccc5'')) or (sdata(queryid = ''c1f5fbe7-72d1-499d-8d72-4aa21a79c97e'')) or (sdata(queryid = ''356f12c5-a769-478d-b57b-8a063be8ee8e'')) or (sdata(queryid = ''f6181853-2e16-4bce-88c0-6602bc853935'')) or (sdata(queryid = ''890f80e9-f3dd-4862-a55c-4f76569df360'')) or (sdata(queryid = ''5e9df138-8377-4841-92de-49bf6ed378a5'')) or (sdata(queryid = ''600b4dfd-e379-4754-8d06-873b593dbd14'')) or (sdata(queryid = ''af1476ac-3742-4272-bc97-584b1bbe3e2b'')) or (sdata(queryid = ''c2eb4e4c-2d09-4be8-b6ba-f1440349ed5a'')) or (sdata(queryid = ''2b819cdb-0941-48fd-8b93-dd1f661933b3'')) or (sdata(queryid = ''dfa094c9-c48c-4ca1-ad06-ead4f1a9d146'')) or (sdata(queryid = ''b1222061-acaf-4e85-80e1-00af07df962c'')) or (sdata(queryid = ''219b0c7b-266e-455b-b7ca-4f760976253c'')) or (sdata(queryid = ''2396f1e3-28f8-451b-a114-29390cec0cf3'')) or (sdata(queryid = ''c7d7fdb3-e532-42f1-a8b4-450771fc763f'')) or (sdata(queryid = ''7746f95a-01ba-4318-991a-35c2a8a0c73d'')) or (sdata(queryid = ''b0d339d2-ada9-485b-b752-79920a589340'')) or (sdata(queryid = ''33083cc8-7ed0-4a67-81f0-de1f3d673db2'')) or (sdata(queryid = ''0475dea9-288b-4be6-815e-751c98c25f2b'')) or (sdata(queryid = ''8cfb62f4-2bac-4da6-a2c2-84e409f5a810'')) or (sdata(queryid = ''afbf17a7-4170-45f4-9b66-de3860de93d7'')) or (sdata(queryid = ''750a7b1c-db61-4f87-b78f-505bc73aa5df'')) or (sdata(queryid = ''debc06f3-51a8-4278-9d38-f316dfb6340c'')) or (sdata(queryid = ''d2d8d8a8-b691-439f-b6de-618825aad152'')) or (sdata(queryid = ''f6a3515a-4c7b-48d0-8d46-f62541525cd0'')) or (sdata(queryid = ''bef5c527-5e78-494f-832c-12b3967f22cc'')) or (sdata(queryid = ''638a4029-c4bf-42ef-87bc-2cd4a3977dd1'')) or (sdata(queryid = ''1ce38c22-fd80-4d0f-b9ab-1a09941c5809'')) or (sdata(queryid = ''7bbbcc66-f19d-4758-bdd8-2796da1e26fe'')) or (sdata(queryid = ''d3e96050-ab5e-48b7-9445-d884167c8ae9'')) or (sdata(queryid = ''eaf93ce1-fbd8-4bb6-9fb1-12c337878c72'')) or (sdata(queryid = ''ef1ce7ce-9b4a-4f10-9c91-7256f513c709'')) or (sdata(queryid = ''46bf5cda-ada3-41f2-92b0-174ac29c5808'')) or (sdata(queryid = ''59136e92-147f-41c4-ac75-79d921268714'')) or (sdata(queryid = ''fb2382b2-6496-4c9f-a427-2f6db3b9fd16'')) or (sdata(queryid = ''531b3790-ed50-4b83-a0d0-eabfed2b6701'')) or (sdata(queryid = ''2396f1e3-28f8-451b-a114-29390cec0cf3''))) and (sdata(istobedisplayed = 1)) and (sdata(istimestamp >= 1245283200)) and (sdata(istimestamp < 1245369600)) and ((sdata(IFID = ''1eeb7036-cd84-4e4d-be90-e720c7db4470'')))') > 0
order by istimestamp desc ) where rownum <= 250)
/* 2.We try to modify query by breaking it into multiple contains clause but it was not giving good performance (performance degrades as number of contains clauses increases.)
Problem: - Performance of below query degrades linearly as number of contains clause for same column increases.
Execution plan :
It seems accessing same index multiple times becoming costly and taking more time. (We can see same domain Index has been accessed 3 times for 3 contains clause ()
select indexedmetatext from ContentStore where rowid in ( select oraclerowid from ( select rowid as oraclerowid from ContentStore where
contains(indexedmetatext,'((68.142.91.152 within isipsrcip) or (68.142.91.152 within isproxyuserip) or (68.142.91.152 within isipdestip)) and ((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''c7d7fdb3-e532-42f1-a8b4-450771fc763f'')) or (sdata(queryid = ''7746f95a-01ba-4318-991a-35c2a8a0c73d'')) or (sdata(queryid = ''b0d339d2-ada9-485b-b752-79920a589340'')) or (sdata(queryid = ''33083cc8-7ed0-4a67-81f0-de1f3d673db2'')) or (sdata(queryid = ''0475dea9-288b-4be6-815e-751c98c25f2b'')) or (sdata(queryid = ''8cfb62f4-2bac-4da6-a2c2-84e409f5a810'')) or (sdata(queryid = ''afbf17a7-4170-45f4-9b66-de3860de93d7'')) or (sdata(queryid = ''750a7b1c-db61-4f87-b78f-505bc73aa5df'')) or (sdata(queryid = ''debc06f3-51a8-4278-9d38-f316dfb6340c'')) or (sdata(queryid = ''d2d8d8a8-b691-439f-b6de-618825aad152'')) or (sdata(queryid = ''f6a3515a-4c7b-48d0-8d46-f62541525cd0'')) or (sdata(queryid = ''bef5c527-5e78-494f-832c-12b3967f22cc'')) or (sdata(queryid = ''638a4029-c4bf-42ef-87bc-2cd4a3977dd1'')) or (sdata(queryid = ''1ce38c22-fd80-4d0f-b9ab-1a09941c5809'')) or (sdata(queryid = ''7bbbcc66-f19d-4758-bdd8-2796da1e26fe'')) or (sdata(queryid = ''d3e96050-ab5e-48b7-9445-d884167c8ae9'')) or (sdata(queryid = ''eaf93ce1-fbd8-4bb6-9fb1-12c337878c72'')) or (sdata(queryid = ''ef1ce7ce-9b4a-4f10-9c91-7256f513c709'')) or (sdata(queryid = ''46bf5cda-ada3-41f2-92b0-174ac29c5808'')) or (sdata(queryid = ''59136e92-147f-41c4-ac75-79d921268714'')) or (sdata(queryid = ''fb2382b2-6496-4c9f-a427-2f6db3b9fd16'')) or (sdata(queryid = ''531b3790-ed50-4b83-a0d0-eabfed2b6701'')) or (sdata(queryid = ''4908b148-2432-4041-947c-31ff8e10646c'')) or (sdata(queryid = ''82007d26-d526-42c9-a8d0-5b75e7f08b90'')) or (sdata(queryid = ''002735e8-6886-4bb4-a732-8a9d04165837'')) or (sdata(queryid = ''43f25cba-1d90-4cc2-84d1-a8719c5b1c9f'')) or (sdata(queryid = ''99d9027f-948b-4bc7-9a44-3092d6b29580'')) or (sdata(queryid = ''24221285-ea64-4e14-8c08-a173ec1b7fd9'')) or (sdata(queryid = ''47ad81d7-75cb-4787-91ab-c2bc5c5e1aaa'')) or (sdata(queryid = ''4ff2846f-6d70-4f9b-a5bf-317263c0ccc5'')) or (sdata(queryid = ''c1f5fbe7-72d1-499d-8d72-4aa21a79c97e'')) or (sdata(queryid = ''356f12c5-a769-478d-b57b-8a063be8ee8e'')) or (sdata(queryid = ''f6181853-2e16-4bce-88c0-6602bc853935'')) or (sdata(queryid = ''890f80e9-f3dd-4862-a55c-4f76569df360'')) or (sdata(queryid = ''5e9df138-8377-4841-92de-49bf6ed378a5'')) or (sdata(queryid = ''600b4dfd-e379-4754-8d06-873b593dbd14'')) or (sdata(queryid = ''af1476ac-3742-4272-bc97-584b1bbe3e2b'')) or (sdata(queryid = ''c2eb4e4c-2d09-4be8-b6ba-f1440349ed5a'')) or (sdata(queryid = ''2b819cdb-0941-48fd-8b93-dd1f661933b3'')) or (sdata(queryid = ''dfa094c9-c48c-4ca1-ad06-ead4f1a9d146'')) or (sdata(queryid = ''b1222061-acaf-4e85-80e1-00af07df962c'')) or (sdata(queryid = ''219b0c7b-266e-455b-b7ca-4f760976253c'')) or (sdata(queryid = ''2396f1e3-28f8-451b-a114-29390cec0cf3''))) and (sdata(istobedisplayed = 1)) and (sdata(istimestamp >= 1245283200)) and (sdata(istimestamp < 1245369600)) and ((sdata(IFID = ''1eeb7036-cd84-4e4d-be90-e720c7db4470'')))') > 0
or
contains(indexedmetatext,'((68.142.91.152 within isipsrcip) or (68.142.91.152 within isproxyuserip) or (68.142.91.152 within isipdestip)) and ((sdata(queryid = ''f22c0b85-2e72-4450-92b7-8f9864c2517a'')) or (sdata(queryid = ''dbc6111b-5fef-4925-93f0-ecf94aa2305b'')) or (sdata(queryid = ''5d737150-3c55-4582-8b2e-8039615b8e69'')) or (sdata(queryid = ''fc8bf42c-2c7a-4506-aa3a-89266ef09ceb'')) or (sdata(queryid = ''7d3f7561-ba99-49fd-9492-214d9f571831'')) or (sdata(queryid = ''73110ce8-6930-4044-90f7-9c5d27bc0b10'')) or (sdata(queryid = ''d1c975a6-607d-4334-a84c-cc63f68bda3a'')) or (sdata(queryid = ''11fd0d2a-540d-4de0-852a-75f1b841b262'')) or (sdata(queryid = ''0dbfd826-497e-4283-8fc6-210c631c4a3e'')) or (sdata(queryid = ''eb2fd3d3-3b14-4092-a373-edd5448802c2'')) or (sdata(queryid = ''a3b69f62-560b-4883-8bd8-d8225af075b4'')) or (sdata(queryid = ''8596dc3e-c062-4527-9df6-e2c6aa10187d'')) or (sdata(queryid = ''5ce0dea4-b005-4185-9a05-7e91f14c7a8a'')) or (sdata(queryid = ''27eb925f-6f0c-4e27-9b57-91d78de703df'')) or (sdata(queryid = ''53b63124-caf4-4e71-ac5b-0e323d2805cb'')) or (sdata(queryid = ''f3dea938-a547-4510-8c24-25e04fa11ec4'')) or (sdata(queryid = ''5d8ebe7d-224b-4731-a1f2-ef1e3b409579'')) or (sdata(queryid = ''69c8dc53-031a-4069-a9e5-89f28cb7a7e0'')) or (sdata(queryid = ''2f65dc5e-63f6-4904-95f8-94c8983931a9'')) or (sdata(queryid = ''9ce16005-5b3b-4691-a624-5a7835e9e982'')) or (sdata(queryid = ''e5f133c5-f8d3-4905-b4db-ceba89476e7d'')) or (sdata(queryid = ''27dd1a53-a158-46ea-b38d-31a57bd7154e'')) or (sdata(queryid = ''cc335826-5e5e-4d4c-9406-2050717bea5d'')) or (sdata(queryid = ''e1ca6d4d-0005-43ec-a121-5574b37231ec'')) or (sdata(queryid = ''4be550f1-8e0a-4748-8186-50228531751d'')) or (sdata(queryid = ''8637ff63-3d0d-4451-9e40-b890d197f6cd'')) or (sdata(queryid = ''5f664e9e-b72f-4ae7-b69d-081ab7873146'')) or (sdata(queryid = ''baecc6fb-e9cf-41df-9fa4-1793b510d474'')) or (sdata(queryid = ''fa27ba4c-4ab8-4bd0-8725-a03c4666dcde'')) or (sdata(queryid = ''918bfb52-7323-4046-b96a-4ef905687dbb'')) or (sdata(queryid = ''3faad930-81c6-421b-84aa-81a9cfdc2c8b'')) or (sdata(queryid = ''7dc5033d-3a27-4058-885a-d103e73328f2'')) or (sdata(queryid = ''8eb4a0ce-654b-42f0-a868-7f7fdb483a13'')) or (sdata(queryid = ''1b44713f-6cbf-4b49-b851-5a500b221c27'')) or (sdata(queryid = ''11febb09-9106-4b92-a43d-cb71696adc90'')) or (sdata(queryid = ''1d84ca10-375e-4e17-a1c0-03515e1cfe5b'')) or (sdata(queryid = ''9cf1f3fd-136c-4abb-8319-6f6c6ddc514c'')) or (sdata(queryid = ''24f5347a-ff20-4245-a4dc-eb2f8c918c91'')) or (sdata(queryid = ''2640ef3c-8a20-4f28-92df-0bc19b058d91'')) or (sdata(queryid = ''af3d0817-0d40-4adb-9655-a5460805a7eb'')) or (sdata(queryid = ''77b86c41-3afc-4c9c-9432-d7a1ee979af2'')) or (sdata(queryid = ''2a26f0d8-1162-4f34-be48-65b409abef28'')) or (sdata(queryid = ''649810b8-0d7b-47ab-8433-8e9bba88583d'')) or (sdata(queryid = ''c4f853ef-cd7c-436d-a16d-03d49681bee6'')) or (sdata(queryid = ''5c1896ce-06af-406c-bfbd-40d2349171bd'')) or (sdata(queryid = ''8d9fe822-f720-4ee5-a80d-552edd778f82'')) or (sdata(queryid = ''f30220c6-5638-47ec-ad98-4768ee299232'')) or (sdata(queryid = ''3faf5d0b-e3c0-4b68-8244-e07334c17326''))) and (sdata(istobedisplayed = 1)) and (sdata(istimestamp >= 1245283200)) and (sdata(istimestamp < 1245369600)) and ((sdata(IFID = ''1eeb7036-cd84-4e4d-be90-e720c7db4470'')))') > 0
or
contains(indexedmetatext,'((68.142.91.152 within isipsrcip) or (68.142.91.152 within isproxyuserip) or (68.142.91.152 within isipdestip)) and ((sdata(queryid = ''c3662b10-98fc-453d-86e1-0c81fe3bb038'')) or (sdata(queryid = ''2b4e7f6e-7871-45eb-b046-bfd4f5d2d84c'')) or (sdata(queryid = ''5af44897-0bc9-4307-bcb1-7f07750e1e25'')) or (sdata(queryid = ''2b57feb3-1681-48db-9856-5d23d69de605'')) or (sdata(queryid = ''47c3939e-d46d-4c7f-9a42-305634642a72'')) or (sdata(queryid = ''476a04ad-6be3-459b-8ab1-6e270416add6'')) or (sdata(queryid = ''61be42b4-11d6-4ff9-a06d-e896690d7fd4'')) or (sdata(queryid = ''97a00e72-2e7d-4c02-b41b-d9d1601bc08c'')) or (sdata(queryid = ''8739fefa-c015-4912-999e-cd9524dffedb'')) or (sdata(queryid = ''61054068-5892-4aaf-ab31-9e6301de9808'')) or (sdata(queryid = ''741a5302-aadc-4bf2-bdcf-b41e95b49d05'')) or (sdata(queryid = ''c13d9ec0-2b18-4838-9bdb-ddb0686fd1d5'')) or (sdata(queryid = ''b02a2176-0ba5-47f4-843d-3d54e3faad77'')) or (sdata(queryid = ''451b906e-3a5c-4ed2-9d94-0a603e6ad94d'')) or (sdata(queryid = ''d1c767d7-cd0a-44c5-a8ff-ce5fa4522ece'')) or (sdata(queryid = ''ca71a03e-26c6-43f3-9755-a248ebaf35b5'')) or (sdata(queryid = ''d93777b8-f03b-49b0-94fc-8019b52c0637'')) or (sdata(queryid = ''e05ebc73-51cb-4112-b685-5104c4884020'')) or (sdata(queryid = ''a1b342c7-9ce0-4aa1-96e8-74621b34d411'')) or (sdata(queryid = ''bde5de4a-b1d4-4edd-9033-6bcba45fcfc2'')) or (sdata(queryid = ''1e345627-c639-4349-95d0-fdfe348935df'')) or (sdata(queryid = ''bd33b778-83c1-4610-a767-f8ce2ade5339'')) or (sdata(queryid = ''54eaa539-e50a-4e95-8d94-f7e95cf0f57b'')) or (sdata(queryid = ''3181ef7a-77cd-405f-9dfa-1c13444efb82'')) or (sdata(queryid = ''0a72bf53-c8ca-405f-9098-9383ed02815a'')) or (sdata(queryid = ''2fb2fff2-b240-46a6-99b8-00521b4325e4'')) or (sdata(queryid = ''5321fa18-a88d-45cb-b8d6-383180cb308b'')) or (sdata(queryid = ''f13bcfdf-d61f-4871-9c74-23ea58204cbb'')) or (sdata(queryid = ''eb5188da-3659-4e7a-b9e4-6985624c3867'')) or (sdata(queryid = ''1679a0ee-6fa7-4c5b-9e0f-09512bc6a74b'')) or (sdata(queryid = ''fd05f61b-5c63-4f99-975e-573ca0f68e8e'')) or (sdata(queryid = ''10802bc7-28bd-43d4-aa24-cf5f9cf6d19f'')) or (sdata(queryid = ''302dbebf-4edd-43a8-93e9-dd6faec8ff14'')) or (sdata(queryid = ''573020da-b5c1-489a-a7d9-eae363e535ef'')) or (sdata(queryid = ''ca514f9e-f4b9-42eb-a8b3-57a384e65540''))) and (sdata(istobedisplayed = 1)) and (sdata(istimestamp >= 1245283200)) and (sdata(istimestamp < 1245369600)) and ((sdata(IFID = ''1eeb7036-cd84-4e4d-be90-e720c7db4470'')))') > 0
order by istimestamp desc ) where rownum <= 250)
/* 3.We used multiple varchar(4000) type bind variable in single contains clause but giving error
ORA-29902: error in executing ODCIIndexStart() routine
ORA-01489: result of string concatenation is too long
variable querystring1 varchar2(4000);
exec :querystring1 := '((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''d1c975a6-607d-4334-a84c-cc63f68bda3a'')) or(sdata(queryid = ''11fd0d2a-540d-4de0-852a-75f1b841b262'')) or(sdata(queryid = ''0dbfd826-497e-4283-8fc6-210c631c4a3e'')) or(sdata(queryid = ''eb2fd3d3-3b14-4092-a373-edd5448802c2'')) or(sdata(queryid = ''a3b69f62-560b-4883-8bd8-d8225af075b4'')) or(sdata(queryid = ''8596dc3e-c062-4527-9df6-e2c6aa10187d'')) or(sdata(queryid = ''5ce0dea4-b005-4185-9a05-7e91f14c7a8a'')) or(sdata(queryid = ''27eb925f-6f0c-4e27-9b57-91d78de703df'')) or(sdata(queryid = ''53b63124-caf4-4e71-ac5b-0e323d2805cb'')) or(sdata(queryid = ''f3dea938-a547-4510-8c24-25e04fa11ec4'')) or(sdata(queryid = ''5d8ebe7d-224b-4731-a1f2-ef1e3b409579'')) or(sdata(queryid = ''69c8dc53-031a-4069-a9e5-89f28cb7a7e0'')) or(sdata(queryid = ''2f65dc5e-63f6-4904-95f8-94c8983931a9'')) or(sdata(queryid = ''9ce16005-5b3b-4691-a624-5a7835e9e982''))) ';
variable querystring2 varchar2(4000);
exec :querystring2 := '((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''d1c975a6-607d-4334-a84c-cc63f68bda3a'')) or(sdata(queryid = ''11fd0d2a-540d-4de0-852a-75f1b841b262'')) or(sdata(queryid = ''0dbfd826-497e-4283-8fc6-210c631c4a3e'')) or(sdata(queryid = ''eb2fd3d3-3b14-4092-a373-edd5448802c2'')) or(sdata(queryid = ''a3b69f62-560b-4883-8bd8-d8225af075b4'')) or(sdata(queryid = ''8596dc3e-c062-4527-9df6-e2c6aa10187d'')) or(sdata(queryid = ''5ce0dea4-b005-4185-9a05-7e91f14c7a8a'')) or(sdata(queryid = ''27eb925f-6f0c-4e27-9b57-91d78de703df'')) or(sdata(queryid = ''53b63124-caf4-4e71-ac5b-0e323d2805cb'')) or(sdata(queryid = ''f3dea938-a547-4510-8c24-25e04fa11ec4'')) or(sdata(queryid = ''5d8ebe7d-224b-4731-a1f2-ef1e3b409579'')) or(sdata(queryid = ''69c8dc53-031a-4069-a9e5-89f28cb7a7e0'')) or(sdata(queryid = ''2f65dc5e-63f6-4904-95f8-94c8983931a9'')) or(sdata(queryid = ''9ce16005-5b3b-4691-a624-5a7835e9e982''))) ';
variable querystring3 varchar2(4000);
exec :querystring3 := '((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''d1c975a6-607d-4334-a84c-cc63f68bda3a'')) or(sdata(queryid = ''11fd0d2a-540d-4de0-852a-75f1b841b262'')) or(sdata(queryid = ''0dbfd826-497e-4283-8fc6-210c631c4a3e'')) or(sdata(queryid = ''eb2fd3d3-3b14-4092-a373-edd5448802c2'')) or(sdata(queryid = ''a3b69f62-560b-4883-8bd8-d8225af075b4'')) or(sdata(queryid = ''8596dc3e-c062-4527-9df6-e2c6aa10187d'')) or(sdata(queryid = ''5ce0dea4-b005-4185-9a05-7e91f14c7a8a'')) or(sdata(queryid = ''27eb925f-6f0c-4e27-9b57-91d78de703df'')) or(sdata(queryid = ''53b63124-caf4-4e71-ac5b-0e323d2805cb'')) or(sdata(queryid = ''f3dea938-a547-4510-8c24-25e04fa11ec4'')) or(sdata(queryid = ''5d8ebe7d-224b-4731-a1f2-ef1e3b409579'')) or(sdata(queryid = ''69c8dc53-031a-4069-a9e5-89f28cb7a7e0'')) or(sdata(queryid = ''2f65dc5e-63f6-4904-95f8-94c8983931a9'')) or(sdata(queryid = ''9ce16005-5b3b-4691-a624-5a7835e9e982''))) ';
select indexedmetatext from ContentStore where rowid in ( select oraclerowid from ( select rowid as oraclerowid from ContentStore where contains(indexedmetatext,:querystring1|| ' or ' ||:querystring2|| ' or ' ||:querystring3) > 0 order by istimestamp desc ) where rownum <= 250);
/* 4.We used bind variable of type clob but giving error
Error:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drexrstart_clob
variable querystring CLOB;
exec :querystring := '((sdata(queryid = ''a51f216a-b211-4b59-89d4-6fcce58a8517'')) or (sdata(queryid = ''d1c975a6-607d-4334-a84c-cc63f68bda3a'')) or(sdata(queryid = ''11fd0d2a-540d-4de0-852a-75f1b841b262'')) or(sdata(queryid = ''0dbfd826-497e-4283-8fc6-210c631c4a3e'')) or(sdata(queryid = ''eb2fd3d3-3b14-4092-a373-edd5448802c2'')) or(sdata(queryid = ''a3b69f62-560b-4883-8bd8-d8225af075b4'')) or(sdata(queryid = ''8596dc3e-c062-4527-9df6-e2c6aa10187d'')) or(sdata(queryid = ''5ce0dea4-b005-4185-9a05-7e91f14c7a8a'')) or(sdata(queryid = ''27eb925f-6f0c-4e27-9b57-91d78de703df'')) or(sdata(queryid = ''53b63124-caf4-4e71-ac5b-0e323d2805cb'')) or(sdata(queryid = ''f3dea938-a547-4510-8c24-25e04fa11ec4'')) or(sdata(queryid = ''5d8ebe7d-224b-4731-a1f2-ef1e3b409579'')) or(sdata(queryid = ''69c8dc53-031a-4069-a9e5-89f28cb7a7e0'')) or(sdata(queryid = ''2f65dc5e-63f6-4904-95f8-94c8983931a9'')) or(sdata(queryid = ''9ce16005-5b3b-4691-a624-5a7835e9e982''))) ';
select indexedmetatext from ContentStore where rowid in ( select oraclerowid from ( select rowid as oraclerowid from ContentStore where contains(indexedmetatext,:querystring) > 0 order by istimestamp desc ) where rownum <= 250);
/* 5.I read from article
http://www.oracle.com/technology/products/text/pdf/ot11g_new_features.pdf
That we don’t need to modified query as we had to do with SDATA(as we are doing in above examples) and optimizer will realize that query can be satisfied by the text index and will “push down” the filtering of rows into the text index processor rather than doing table access for filtering on sdata column but when I tried to write that query it was doing table access to filter for filter by column.
/* 6.My Questions:
a. Is it possible as mentioned in above point(point number 5) that we don’t need to write SDATA query in contains clause and optimizer will use composite index automatically.
b. Is there any workaround for using string literal > 4000 char in contains clause.
c. Why performance degrades lineally when using multiple contains clause.
d. Can we use in clause in SDATA and write query like this:
i. SDATA(queryid in ( 'q1',’q2’))
*/SQE is really breakthrough for me but I dont know why it is not working in my case.I tried it onOracle 11g installaion with window and Linux both but did not get success.
Please suggest me what I need to check when Installing if it is installation problem?
My attempt:
[oracle@oracle2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Jul 6 12:21:32 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create user test identified by test;
User created.
SQL> grant connect,dba,resource,ctxapp to test;
Grant succeeded.
SQL> connect test/test@content;
Connected.
SQL> create table test (text varchar2(2000));
Table created.
SQL> insert into test values ('hello world');
1 row created.
SQL> create index testindex on test(text) indextype is ctxsys.context;
Index created.
SQL> exec ctx_query.store_sqe('testsqe', 'hello')
PL/SQL procedure successfully completed.
SQL> select * from test where contains (text, 'sqe(testsqe)') > 0;
select * from test where contains (text, 'sqe(testsqe)') > 0
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-00100: internal error, arguments : [50935],[drpn.c],[1051],[],[]
ORA-01403: no data found
SQL> select * from test where contains (text, 'ctx_query.sqe(testsqe)') > 0;
no rows selected
SQL> -
Does Oracle 11g Express Edition 11.2.0.0 support the impdp utility ?
Hi,
We are trying to import an Oracle dump within a Express Edition, without success. We got the error message: ORA-39213: Metadata processing is not available.
A) Source data base: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
B) Target data base: Oracle Database 11g Express Edition Release 11.2.0.2.0
Searching for solution led us to following forum entries:
1. http://kmpdba.wordpress.com/2012/05/02/ora-39213-metadata-processing-is-not-available/ Cause: DBMS_METADATA_UTIL package does not successfully ran. Solution: to install (among others) SQL> @$ORACLE_HOME/javavm/install/initjvm.sql
2. But: there is no @$ORACLE_HOME/javavm/install/initjvm.sql scrript -> http://www.oracle.com/us/products/database/enterprise-edition/comparisons/index.html -> Oracle 11g EX does not support java
Questions:
a) Does support Oracle 11g EX the impdp utility at all ?
b) How would it be possible to import the above mentioned dump from (A) into (B) ?
Thanks in advance,
MichelSounds like the messing xsl files issue here: Upgrade from XE10 to XE11
Try
execute sys.dbms_metadata_util.load_stylesheets;and see if you get the missing xsl files error.
The XSL files are not distributed with Oracle 11g XE, but seems to be pre-loaded in the default database created by the installer. If you try to create your own database it wont have the stylesheets loaded and you'll need the xsl files to load them up.
The quick solution will be to copy the 180 xsl files from an Oracle 11.2.0.2 Enterprise to your Oracle 11g installation ($ORACLE_HOME/rdbms/xml/xsl/) and load the stylesheets. -
Oracle 10g enterprise edition in ubuntu
how to install oracle 10g enterprise edition in ubuntu 11.04 (32bit). i have downloaded from http://www.oracle.com/technetwork/database/10201linuxsoft-097986.html .
thanks in advance.rakeshor wrote:
i unzip it and run installer but nothing happn.it worked for me
bcm@bcm-laptop:~$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sun Oct 9 22:57:04 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> !uname -a
Linux bcm-laptop 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:39:17 UTC 2011 x86_64 GNU/Linux
SQL> -
Hi,
I have recently installed Oracle 9i enterprise edition on a Win2000 platform which documents are needed to configure Oracle after installation.
Also Which documents are good for a beginner like myself which will help me start to develop a basic database, i was thinking of using the 'Oracle 9i AS Portal Bible' but i think it may not be the correct material to learn from.
any help please.
thank you, bye.What do you want to learn : Administration or Development ?
Joel Pérez -
Removing Oracle Database Enterprise Edition Release 11.2.2.0 on linux 5
I have installed Pre-Built Developer-VM (for Oracle VM VirtualBox) named Database App Development VM, including Oracle Database 11g Release 2 Enterprise Edition.
VirtualBox VMs for Developers</title><meta name="Title" content="VirtualBox VMs for Developers&q…
I would like to remove Oracle Database Enterprise Edition Release 11.2.2.0 on linux 5, but I am getting the error "command not found".
[oracle@localhost ~]$ cd $ORACLE_HOME
[oracle@localhost dbhome_2]$ cd deinstall
[oracle@localhost deinstall]$ ls -ltr
-rwxr-xr-x 1 oracle oracle 32343 Dec 16 2009 sshUserSetup.sh
-rw-r--r-- 1 oracle oracle 489 Nov 16 2009 readme.txt
-rw-r--r-- 1 oracle oracle 3466 Mar 19 2010 deinstall.xml
-rwxr-xr-x 1 oracle oracle 9369 Jun 10 2010 bootstrap.pl
-rwxr-xr-x 1 oracle oracle 14776 Jul 15 2010 deinstall.pl
drwxr-xr-x 2 oracle oracle 4096 Oct 2 2010 response
drwxr-xr-x 2 oracle oracle 4096 Oct 2 2010 jlib
-rwxr-xr-x 1 oracle oracle 8474 Oct 2 2010 deinstall
[oracle@localhost deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
./deinstall: line 217: ERROR:: command not found
Does anybody have an idea?Hello Asif,
I opened deinstall.pl with vi and jumped to line 217. There is nothing in line 217. Its the end of file. In line 216 is the following command:
$TOOL_DIR/perl/bin/perl $TOOL_DIR/deinstall.pl $HOME_VER $TEMP_LOC $TOOL_DIR $ARCHITECTURE_FLAG $TOOL_ARGS
I cannot find the problem.
deinstall.pl
# $Header: install/utl/scripts/db/deinstall /main/3 2010/05/28 20:12:57 ssampath Exp $
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
# NAME
# deinstall - wrapper script that calls deinstall tool.
# DESCRIPTION
# This script will set all the necessary variables and call the tools
# entry point.
# NOTES
# <other useful comments, qualifications, etc.>
# MODIFIED (MM/DD/YY)
# mwidjaja 04/29/10 - XbranchMerge mwidjaja_bug-9579184 from
# st_install_11.2.0.1.0
# mwidjaja 04/15/10 - Added SHLIB_PATH for HP-PARISC
# mwidjaja 01/14/10 - XbranchMerge mwidjaja_bug-9269768 from
# st_install_11.2.0.1.0
# mwidjaja 01/14/10 - Fix help message for params
# ssampath 12/24/09 - Fix for bug 9227535. Remove legacy version_check
# function
# ssampath 12/01/09 - XbranchMerge ssampath_bug-9167533 from
# st_install_11.2.0.1.0
# ssampath 11/30/09 - Set umask to 022.
# prsubram 10/12/09 - XbranchMerge prsubram_bug-9005648 from main
# prsubram 10/08/09 - Compute ARCHITECTURE_FLAG in the script
# prsubram 09/15/09 - Setting LIBPATH for AIX
# prsubram 09/10/09 - Add AIX specific code check java version
# prsubram 09/10/09 - Change TOOL_DIR to BOOTSTRAP_DIR in java cmd
# invocation of bug#8874160
# prsubram 09/08/09 - Change the default shell to /usr/xpg4/bin/sh on
# SunOS
# prsubram 09/03/09 - Removing -d64 for client32 homes for the bug8859294
# prsubram 06/22/09 - Resolve port specific id cmd issue
# ssampath 06/02/09 - Fix for bug 8566942
# ssampath 05/19/09 - Move removal of /tmp/deinstall<timestamp> to java
# code.
# prsubram 04/30/09 - Fix for the bug#8474891
# mwidjaja 04/29/09 - Added user check between the user running the
# script and inventory owner
# ssampath 04/29/09 - Changes to make error message better when deinstall
# tool is invoked from inside ORACLE_HOME and -home
# is passed.
# ssampath 04/15/09 - Fix for bug 8414555
# prsubram 04/09/09 - LD_LIBRARY_PATH is ported for sol,hp-ux & aix
# mwidjaja 03/26/09 - Disallow -home for running from OH
# ssampath 03/24/09 - Fix for bug 8339519
# wyou 02/25/09 - restructure the ohome check
# wyou 02/25/09 - change the error msg for directory existance check
# wyou 02/12/09 - add directory existance check
# wyou 02/09/09 - add the check for the writablity for the oracle
# home passed-in
# ssampath 01/21/09 - Add oui/lib to LD_LIBRARY_PATH
# poosrini 01/07/09 - LOG related changes
# ssampath 11/24/08 - Create /main/osds/unix branch
# dchriste 10/30/08 - eliminate non-generic tools like 'cut'
# ssampath 08/18/08 - Pickup srvm.jar from JLIB directory.
# ssampath 07/30/08 - Add http_client.jar and OraCheckpoint.jar to
# CLASSPATH
# ssampath 07/08/08 - assistantsCommon.jar and netca.jar location has
# changed.
# ssampath 04/11/08 - If invoking the tool from installed home, JRE_HOME
# should be set to $OH/jdk/jre.
# ssampath 04/09/08 - Add logic to instantiate ORA_CRS_HOME, JAVA_HOME
# etc.,
# ssampath 04/03/08 - Pick up ldapjclnt11.jar
# idai 04/03/08 - remove assistantsdc.jar and netcadc.jar
# bktripat 02/23/07 -
# khsingh 07/18/06 - add osdbagrp fix
# khsingh 07/07/06 - fix regression
# khsingh 06/20/06 - fix bug 5228203
# bktripat 06/12/06 - Fix for bug 5246802
# bktripat 05/08/06 -
# khsingh 05/08/06 - fix tool to run from any parent directory
# khsingh 05/08/06 - fix LD_LIBRARY_PATH to have abs. path
# ssampath 05/01/06 - Fix for bug 5198219
# bktripat 04/21/06 - Fix for bug 5074246
# khsingh 04/11/06 - fix bug 5151658
# khsingh 04/08/06 - Add WA for bugs 5006414 & 5093832
# bktripat 02/08/06 - Fix for bug 5024086 & 5024061
# bktripat 01/24/06 -
# mstalin 01/23/06 - Add lib to pick libOsUtils.so
# bktripat 01/19/06 - adding library changes
# rahgupta 01/19/06 -
# bktripat 01/19/06 -
# mstalin 01/17/06 - Modify the assistants deconfig jar file name
# rahgupta 01/17/06 - updating emcp classpath
# khsingh 01/17/06 - export ORACLE_HOME
# khsingh 01/17/06 - fix for CRS deconfig.
# hying 01/17/06 - netcadc.jar
# bktripat 01/16/06 -
# ssampath 01/16/06 -
# bktripat 01/11/06 -
# clo 01/10/06 - add EMCP entries
# hying 01/10/06 - netcaDeconfig.jar
# mstalin 01/09/06 - Add OraPrereqChecks.jar
# mstalin 01/09/06 -
# khsingh 01/09/06 -
# mstalin 01/09/06 - Add additional jars for assistants
# ssampath 01/09/06 - removing parseOracleHome temporarily
# ssampath 01/09/06 -
# khsingh 01/08/06 - fix for CRS deconfig
# ssampath 12/08/05 - added java version check
# ssampath 12/08/05 - initial run,minor bugs fixed
# ssampath 12/07/05 - Creation
#MACROS
if [ -z "$UNAME" ]; then UNAME="/bin/uname"; fi
if [ -z "$ECHO" ]; then ECHO="/bin/echo"; fi
if [ -z "$AWK" ]; then AWK="/bin/awk"; fi
if [ -z "$ID" ]; then ID="/usr/bin/id"; fi
if [ -z "$DIRNAME" ]; then DIRNAME="/usr/bin/dirname"; fi
if [ -z "$FILE" ]; then FILE="/usr/bin/file"; fi
if [ "`$UNAME`" = "SunOS" ]
then
if [ -z "${_xpg4ShAvbl_deconfig}" ]
then
_xpg4ShAvbl_deconfig=1
export _xpg4ShAvbl_deconfig
/usr/xpg4/bin/sh $0 "$@"
exit $?
fi
AWK="/usr/xpg4/bin/awk"
fi
# Set umask to 022 always.
umask 022
INSTALLED_VERSION_FLAG=true
ARCHITECTURE_FLAG=32
TOOL_ARGS=$* # initialize this always.
# Since the OTN and the installed version of the tool is same, only way to
# differentiate is through the instantated variable ORA_CRS_HOME. If it is
# NOT instantiated, then the tool is a downloaded version.
# Set HOME_VER to true based on the value of $INSTALLED_VERSION_FLAG
if [ x"$INSTALLED_VERSION_FLAG" = x"true" ]
then
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
HOME_VER=1 # HOME_VER
TOOL_ARGS="$ORACLE_HOME $TOOL_ARGS"
else
HOME_VER=0
fi
# Save current working directory
CURR_DIR=`pwd`
# If CURR_DIR is different from TOOL_DIR get that location and cd into it.
TOOL_REL_PATH=`$DIRNAME $0`
cd $TOOL_REL_PATH
DOT=`$ECHO $TOOL_REL_PATH | $AWK -F'/' '{ print $1}'`
if [ "$DOT" = "." ];
then
TOOL_DIR=$CURR_DIR/$TOOL_REL_PATH
elif [ `expr "$DOT" : '.*'` -gt 0 ];
then
TOOL_DIR=$CURR_DIR/$TOOL_REL_PATH
else
TOOL_DIR=$TOOL_REL_PATH
fi
# Check if this script is run as root. If so, then error out.
# This is fix for bug 5024086.
RUID=`$ID|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
if [ ${RUID} = "root" ];then
$ECHO "You must not be logged in as root to run $0."
$ECHO "Log in as Oracle user and rerun $0."
exit $ROOT_USER
fi
# DEFINE FUNCTIONS BELOW
computeArchFlag() {
TOOL_HOME=$1
case `$UNAME` in
HP-UX)
if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK -F\- '{print $2}' | $AWK '{print $1}'`" = "64" ];then
ARCHITECTURE_FLAG="-d64"
fi
AIX)
if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK '{print $1}' | $AWK -F\- '{print $1}'`" = "64" ];then
ARCHITECTURE_FLAG="-d64"
fi
if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK '{print $2}' | $AWK -F\- '{print $1}'`" = "64" ];then
ARCHITECTURE_FLAG="-d64"
fi
esac
if [ $HOME_VER = 1 ];
then
$ECHO "Checking for required files and bootstrapping ..."
$ECHO "Please wait ..."
TEMP_LOC=`$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/deinstall/bootstrap.pl $HOME_VER $TOOL_ARGS`
TOOL_DIR=$TEMP_LOC
else
TEMP_LOC=`$TOOL_DIR/perl/bin/perl $TOOL_DIR/bootstrap.pl $HOME_VER $TOOL_ARGS`
fi
computeArchFlag $TOOL_DIR
$TOOL_DIR/perl/bin/perl $TOOL_DIR/deinstall.pl $HOME_VER $TEMP_LOC $TOOL_DIR $ARCHITECTURE_FLAG $TOOL_ARGS
Best regards -
Hi,
We are trying to fetch data from a weblogic server using a JMS thin client.
We have loaded our client code jar(application.jar) and the following thin client jars in oracle using loadjava.
(Version:- Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production).
1) wljmsclient.jar
2) wlthint3client.jar
3) wlclient.jar
some of the classes remain in invalid state after loading the jar files. we validate them manually.
When we run the client code we are getting following exception.
ORA-29532: Java call terminated by uncaught Java exception: java.lang.InternalError: error initializing kernel caused by: java.lang.ExceptionInInitializerError
at weblogic.protocol.ClientEnvironment.loadEnvironment(ClientEnvironment.java:22)
at weblogic.kernel.Kernel.initialize(Kernel.java:92)
at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:64)
at weblogic.rjvm.wls.WLSClientRJVMEnvironment.ensureInitialized(WLSClientRJVMEnvironment.java:55)
at weblogic.protocol.ServerURL.getDefaultURL(ServerU
Any help on the above issue?
Thanks,
NavinHi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Database » JVM which is JVM dedicated forum site.
Regard
Helios -
error installing oracle 11g enterprise editon using server mode on my desk top also error with sql developer.
[INS-20803] The optional tool named 'Oracle Configuration Manager Configuration' failed.
Edited by: user10364165 on Jul 23, 2011 9:06 AMMight get a better response in the installation forum {forum:id=64}
But first, gathering more information- the actual error message, your OS (*nix? win7? 32bit? x64?) and the release/version- 11gR2? 11.2.0.1 or 11.2.0.2? without these pieces of information help will be impossible.
Also a good place to start is the documentation. Yes, really. Here are the R2 install guides ... http://www.oracle.com/pls/db112/portal.portal_db?selected=11&frame= -
How to take a backup manually in oracle 11g express edition?
how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .
Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
To find out what files need to be copied, as system (or sysdba) run:
select name from v$datafile;
... file1, file2 ...
show parameter control
... control_files ... file1 ...
alter database backup controlfile to trace [reset logs];
show parameter diag;
... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host. -
Getting started with Oracle 11g express edition
I am currently in a college class doin SQL. I have downloaded oracle 11g express edition. I'm trying to get started and when I try to create a new connection it takes me to a screen where I have to sign in. When I use my oracle sign in and pass word it tells me it doesn't recognize it. No I know it works because I can sign in on the web site. But it won't connect me or allow me to make a new connection. I really don't understand what is going on. I can seriously use some help. Something that will take me step by step on what I need to do. I have to create a data base and I'm not sure how to do it.
Thank You
Carl GavinHello Carl,
Something that will take me step by step on what I need to do.Sounds like what you are searching for is the [url http://docs.oracle.com/cd/E17781_01/admin.112/e18585/toc.htm]Getting Started Guide.
If you need some advanced knowlege, there would be the "2 Day DBA Guide", which, among other topics, contains a section on [url http://docs.oracle.com/cd/E17781_01/server.112/e18804/connecting.htm#CEGIFAHF]Connecting to the Database. I think you'll find all necessary information (background and step by step description) you need.
-Udo
Maybe you are looking for
-
Scanning problem with hp6500a plus
My HP Officejet 6500A plus all in one printer won't scan to my Windows 8.1 (64 bit) computer -- I've reinstalled HP Win 8.1 drivers several times. I can print to the printer, the computer detects it, but I cannot scan to the computer. Anyone have a
-
Hi There, I keep trying to sync my iPhone with iCal on my mac. Events that I have created on my iPhone suddenly become 1 day out of sync (and at random times)after the synching process with iCal. Is anyone else having this problem? or know how to fix
-
Printing of customer statement
HI all , i developed a smartform for single customer, now i want this to be for multiple customer. for this all the related data is stored in internal tables , now i want to pass these tables to smartform and to be print by each customer. can annybod
-
When setting up permissions for application files--URGENT
Hello All, when setting up permissions for application files, Is this following permisson appropriate? If application files are owned by a single owner, that owner should be the oracle user. DN
-
Instantiation of static final objects
Is there a problem with coding the following?: class A { public static final A static_final_a_obj = new A ( B.static_final_b_obj ); private B b; public A ( B b ) { this.b = b; class B { public static final B static_final_b_obj = new B ( A.static_fina