Oracle 10g datagaurd..pls help
hi all,
what changes i have to make in my init parameter file if the dump destinations of primary db and standby database are different?
please help me out as my archived logs are not being transferred to the standby.
Hi
the things that you need specify
*.log_archive_dest_2='SERVICE=v10g_stdg1......
*.log_archive_dest_state_2='enable'
*.standby_archive_dest='/u02/admin/v10g/v10garch'
*.standby_file_management='auto'
hope this will solve your problem
cheers
Similar Messages
-
Oracle (ODBC Error) Pls help
Hi Friends
I created a new project with Vb.Net and database of oracle 10g
I build the Exe file when i opened for the first time its working fine and second time too
but some times its not even logged in getting an below error message
VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.5.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.5.0.0 - Production
Time: 25-JAN-08 03:18:37
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 0
nt OS err code: 0
and as well as geting "SqlConnect Attr Failed" error
Pls help me out on this
thanks
KrrishCheck your Folder configuration under 'My Content Server' , change the content style to native and clear the 'Show hidden when browsing' option.
Hope this helps.
Regards,
-Mukesh. -
Errors in impdp command on oracle 10g database-urget help needed
Hi,
could you plz help me to solve below errors which are coming while doing import with impdp command in oracle 10g 10.1.0.4.0 os: Red Hat Enterprise Linux ES release 4
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Job "DCA"."SYS_IMPORT_SCHEMA_01" stopped due to fatal error at 15:31
i tried to restart job but the following errors coming
UDI-00008: operation generated ORACLE error 39078
ORA-39078: unable to dequeue message for agent KUPC$A_1_20081111155728 from queue "KUPC$C_1_20081111155728"
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2356
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3261
ORA-06512: at line 1
thanks in advanceCan you check Metalink Note 376022.1? Your STREAMS_POOL_SIZE parameter may be too small.
If you don't have Metalink access, try this :
sql> alter system set STREAMS_POOL_SIZE=100M scope=spfile;
sql> shutdown immediate
sql> startup
Note : the Portal Applications forum may not be the appropriate forum for this datapump issue. Try one of the database forums as you'll have a wider audience there. -
OracleAS 10g installation (please Help)
Hi All
i want a help in[b] OracleAS 10g installation
in the first step in it's installation . must install oracleAS infrastracture . in my way to install it many Errors & messages appears to me
this Errors & messages in 4 pictures to see it .. hope to find a solution for this
th pictures in this links
1- http://www.araboug.org/ib/index.php?act=Attach&type=post&id=5413
2- http://www.araboug.org/ib/index.php?act=Attach&type=post&id=5414
3- http://www.araboug.org/ib/index.php?act=Attach&type=post&id=5415
4- http://www.araboug.org/ib/index.php?act=Attach&type=post&id=5416
after pressing ignor in the forth screen many errors & messages appears to meOracle AS10g = 10.1.2.0.2 I presume...
However, my first questions is still valid "The questions is if you followed EVERY step outlined in the Application Server Installation Guide? If you did, then there should be no errors."
I have had similar issues when environment variables was still set during installations, ORACLE_HOME etc. You must unset those, as described in the Installation Guide, before starting an installations.
Please check these two Metalink Notes:
295446.1 "OracleCSService service may fail to start during the install of IAS 10.1.2 on Windows"
365046.1 "The Infrastructure DBCA Stops with Error "Failed to initialize OCR"
Regards,
Martin -
Oracle WareHouse Builder - Pls help
Hi,
I am into a awkward problem. I was working in OWB when everything was right but yesterday somehow I lost my object details tab in Data Object Editor. I have checked Tools--> Object Details which is showing a tick beside it. Since I'm not getting this tab I cannot work on any object. I want to add attributes to dimension etc... Pls help, I want my Object Detail tab back..
Thanks in advance,
Pragati.Firstly, exit your OWB Client.
Go to your OWB_HOME directory, and rename the file SchemaEditorLayout.xml which is in the OWB_HOME/owb/bin/admin directory, call it something like "OLD_SchemaEditorLayout.xml"
Restart your OWB Client and open the Data Object Editor. All the panels will be displayed in their default positions.
Hope this helps.
Keith -
JReport Designer - oracle stored procedure-PLS HELP!!!!
Hi,
I am using Jreport designer with oracle data base. I wanted to layout a report with oracle stored procedure which returns a REF CURSOR. I tried adding OracleProcedureUDS in user data source thru catalog browser. I gave the params as DRIVER=oracle.jdbc.driver.OracleDriver&URL="jdbc:oracle:thin:@10.10.1.177:1521:ORCL"
&USER=<myuser>&PSWD=<mypwd>&PROCNAME=empquery&SQL={ call empquery(?) }
&REFCURSORINDEX=1
but on pressing OK, i get the error ,
java.lang.NullPointerException
at jet.datasource.oracle.OracleProcedureUDS.getProcedureParams(jet/datas
ource/oracle/OracleProcedureUDS)
at jet.datasource.oracle.OracleProcedureUDS.getResultSet(jet/datasource/
oracle/OracleProcedureUDS)
at jet.universe.engine.UUDSEngine._getResultSet(jet/universe/engine/UUDS
Engine)
at jet.universe.engine.UQueryEngine.getResultSet(jet/universe/engine/UQu
eryEngine)
at jet.rptengine.JReportEngine.run(jet/rptengine/JReportEngine)
at java.lang.Thread.run(Thread.java:536)
java.lang.NullPointerException
at jet.datasource.oracle.OracleProcedureUDS.getProcedureParams(jet/datas
ource/oracle/OracleProcedureUDS)
at jet.datasource.oracle.OracleProcedureUDS.getResultSet(jet/datasource/
oracle/OracleProcedureUDS)
at jet.universe.engine.UUDSEngine._getResultSet(jet/universe/engine/UUDS
Engine)
at jet.universe.engine.UQueryEngine.getResultSet(jet/universe/engine/UQu
eryEngine)
at jet.rptengine.JReportEngine.run(jet/rptengine/JReportEngine)
at java.lang.Thread.run(Thread.java:536)
note: I have added the classpath C:\oracle\ora92\jdbc\lib\class111.zip which contains the classes in package oracle.jdbc.driver, as per the user guide.
also this is my stored procedure which got created successfully:
CREATE OR REPLACE PACKAGE SHDEMO as
type curtype is ref cursor;
END SHDEMO;
CREATE OR REPLACE PROCEDURE empquery (cur OUT SHDEMO.curtype) as
lcur SHDEMO.curtype;
begin
open lcur for
select * from intf_hr_employee;
cur:=lcur;
END empquery;
pls somebody help me. I have wasted 2 days on this.
Thanks,
SwathiHi,
i fixed the bug. it was because i excluded &OWNER=<MYOWNER> in the param list.
Thanks,
Swathi -
Attn: Oracle Form programmers - pls. help
Can somebody pls. give me the syntax for writing Oracle Query Forms. I've done it before but forgotten the syntax.
The idea is to create a statement by APPENDING the search items in a program unit & substituting in the WHERE clause. This program unit will be called by a button.
This way, we don't have to write many IF statments.
For example, if user wants to query by NAME AND COUNTRY, then the statement >> Block:Name ||&|| Block:Country
Where clause: Block:Name ||&|| Block:Country
Thanks - Mave1. that subject line of yours is just stupid. You're posting on an Oracle Forms Forum. Every single post on this forum is looking for help from Oracle Forms programmers.
Be specific.
2. I assume you're looking for something like
DECLARE
v_default_where VARCHAR2(32767);
v_btn NUMBER;
begin
IF :control.name is not null then
v_default_where := v_default_where||' AND name LIKE :control.name';
END IF;
IF :control.empno is not null then
v_default_where := v_default_where||' AND empno = :control.empno';
END IF;
IF v_default_where IS NULL THEN
v_btn := show_alert('NO_CRITERIA');
ELSE
v_default_where := SUBSTR(v_default_where,5); -- remove leading ' AND '
set_block_property(data_block, ONETIME_WHERE, v_default_where);
EXECUTE_QUERY;
END IF;
END; -
Oracle configuration manager pls help!!
Hi
I need to install oracle configuration manager and I am not sure where to install. My database is on a server called mledb. Do i have to install it on the server or on my local machine. Would appreciate if anyone can help..
Thanksuser_unlimited wrote:
Do we need to pay license to use this OCM-CCR?If you are talking about the OCM that is part of your Support contract, then ... you license it by renewing your support contract. -
Hello All,
I am new to oracle applications , can anyone pls tell me what are the purging requests a apps DBA must run frequently. and what are the other daily checklist i should do in apps.
My apps version is 11.5.9
and database version is 9.2
Thanks and Regards
Amit Raghuvanshihi amit for me i have the following schudealed on weekly basis (each enviromt is diffrent than other)
Purge Obsolete Workflow Runtime 03:00 AM every 7 days.
Delete Diagnostic Logs Runtime 04:00 AM every 7 days.
Delete Diagnostic stats Runtime Data 05:00 AM every 7 days.
Gather Schema Statistics(customschema) 05:00 AM every 7 days.
Gather Schema Statistics(all) 05:00 AM every 1 month.
Purge Concurrent Request and/or Manager at 06:00 AM every 7 days.
fadi
http://oracle-magic.blogspot.com -
Function not executing in oracle 10g
Hi ALL,
I have a problem executing below Function in oracle 10g.
Pls do help me solve the prblm it wud be a great help.
Thanks in advance.
Here is a below function and the error i am getting:
create or replace FUNCTION UnpackArray
Source IN VARCHAR2 DEFAULT NULL,
Delimiter IN CHAR DEFAULT ','
RETURN reSourceArray0 PIPELINED
IS
SourceArray00 SourceArray0:=SourceArray0(NULL);
TYPE REFCURSOR IS REF CURSOR;
CURSOR0 REFCURSOR;
DelLen int;
Pos int;
Cnt int;
str int;
LEN int;
Holder VARCHAR2(220);
BEGIN
--Check for NULL
IF Source is null or Delimiter is null THEN
Return;
END IF;
--Check for at leat one entry
IF RTRIM(LTRIM(Source)) = '' THEN
Return;
END IF;
/*Get the length of the delimeter*/
SELECT LENGTH(RTRIM(Delimiter)) INTO DelLen FROM DUAL;
SELECT INSTR(UPPER(Source), UPPER(Delimiter)) INTO Pos FROM DUAL;
--Only one entry was found
IF Pos = 0 THEN
BEGIN
INSERT INTO UnpackArray_TBL
( Data )
VALUES ( Source );
return;
OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
END;
END IF;
/*More than one entry was found - loop to get all of them*/
SELECT 1 INTO str FROM DUAL;
<< LABEL4 >>
WHILE Pos > 0
LOOP
BEGIN
/*Set current entry*/
SELECT Pos - str INTO len FROM DUAL;
SELECT SUBSTR(Source, str, len) INTO Holder FROM DUAL;
/* Update array and counter*/
/* Update array and counter*/
INSERT INTO UnpackArray_TBL
VALUES ( Holder );
/*Set the new strting position*/
SELECT Pos + DelLen INTO str FROM DUAL;
SELECT INSTR(UPPER(Source), UPPER(Delimiter), str) INTO Pos FROM DUAL;
OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
END;
END LOOP;
/*Set last entry*/
SELECT SUBSTR(Source, str, length(RTRIM(Source))) INTO Holder FROM DUAL;
-- Update array and counter if necessary
IF length(RTRIM(Holder)) > 0 THEN
INSERT INTO UnpackArray_TBL
VALUES ( Holder );
OPEN CURSOR0 FOR SELECT * FROM UnpackArray_TBL;
END IF;
--Return the number of entries found
Return; LOOP
FETCH CURSOR0 INTO
SourceArray00.Data;
EXIT WHEN CURSOR0%NOTFOUND;
PIPE ROW(SourceArray00);
END LOOP;
CLOSE CURSOR0;
RETURN;
END;
Error is : Compilation failed,line 6 (12:13:25)
PLS-00201: identifier 'RESOURCEARRAY0' must be declared
Compilation failed,line 0 (12:13:25)
PL/SQL: Compilation unit analysis terminateduser11917384 wrote:
Error is : Compilation failed,line 6 (12:13:25)
PLS-00201: identifier 'RESOURCEARRAY0' must be declared
Compilation failed,line 0 (12:13:25)
PL/SQL: Compilation unit analysis terminatedHave you created a sql user defined type with name RESOURCEARRAY0...??
Ravi Kumar -
Installation problem, pls help
I am trying to install Oracle 10g on SUSE 10.0.0 but when i run the ./runInstaller command, I receive an[b] error of writting to directory /tmp/OraInstall2006-03........, Please ensure this directory is writable and at least 60MB of disk space, i have checked for space using df -h /tmp, there is enough space, i think the problem has got to do with permission because @ the moment it belongs to root user, i don't know what to do, i am a novice to unix and need to install oracle today. Pls help
Usually the standard install of SuSE Linux should set the ownership and access rights to /tmp, if you want to give access to everyone on the system, just use this command (if owner/root access is available):
I have used chmod o+rwx /tmp command and still having the same error. Pls somebody help
chmod o+rwx /tmpOf course I assume you did correctly follow installation and configuration instructions. Did you read Oracle10g/Linux Errors and Problems from Werner Puschitz ?
-
Installing APEX 3.1 to Oracle 10g
Sorry I'm new to all this...Is there a step-by-step in how to install APEX 3.1 to Oracle 10g other than the Installation Guide?
I'm trying to see if I'm doing the installation correct, ran the following and it gave me errors:
@apexins SYSAUX SYSAUX TEMP /i/
Installing flows_files objects 2
ERROR:
ORA-01435: user does not exist
ORA-04063: package body "FLOWS_030100.WWV_FLOW_API" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"FLOWS_030100.WWV_FLOW_API"
And some other errors that i was not able to capture
ORA-06512: at line 4
I droped FLOWS_FILES, APEX_PUBLIC_USER, and FLOWS_30100
ThanksHi I am having the same problem like bino...
Installation was going on but at the end i get follwoing errors and disconnects from oracle.
can anyone pls help.........
here is the last couple of errors and statements...
Installing flows_files objects 2
ERROR:
ORA-01435: user does not exist
ORA-04063: package body "FLOWS_030100.WWV_FLOW_API" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"FLOWS_030100.WWV_FLOW_API"
And some other errors that i was not able to capture
ORA-06512: at line 4
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\apex> -
Can cold backup be taken for ASM managed oracle 10g databases
Can cold backup be taken for ASM managed oracle 10g databases
Pls helpdo we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
Will we have file permisions for copyng Use RMAN and don't worry about that. -
How to convert varchar to BLOB in oracle 10g?
Hi all,
I have 2 columns A and B which are of varchar2(2000) dataype.
I would like to concatinate these 2 columns and convert them into BLOB in oracle 10g.
Any help is appreciated.
Regards,
Ravidon't use BLOB to store large text, use CLOB instead
anyway:
SQL> create table test
2 (txt varchar2(10)
3 ,other varchar2(10)
4 );
Table created.
SQL>
SQL> insert into test values ('some text', 'other text');
1 row created.
SQL>
SQL> create table test2
2 (col blob)
3 /
Table created.
SQL>
SQL> insert into test2
2 select utl_raw.cast_to_raw (txt||other)
3 from test
4 /
1 row created.
SQL> select *
2 from test2
3 /
SP2-0678: Column or attribute type can not be displayed by SQL*Plus
SQL>
SQL> select utl_raw.cast_to_varchar2(col)
2 from test2
3 /
UTL_RAW.CAST_TO_VARCHAR2(COL)
some textother text
SQL>
SQL> drop table test
2 /
Table dropped.
SQL> drop table test2
2 /
Table dropped. -
How to check/find the size of current ROLLBACK segment in oracle 10g
How to check/find the size of current ROLLBACK segment in oracle 10g ? Kindly help
A rollback segment name like "_SYSSMU231$" is used when you have Automatic Undo Management enabled.
The only relevant parameters are :
1. UNDO_MANAGEMENT=AUTO
2. UNDO_RETENTION=n minutes ==> this is what everyone should be interested in
3. The sizes of the Undo Tablespace datafiles and whether AUTOEXTEND is ON or OFF
No one should be interested in the size of a single undo segment when Automatic Undo Management is enabled.
Possible causes of ORA-01555 errors in Automatic Undo Management
a. UNDO_RETENTION is too low
b. Undo tablespace is too small
Hemant K Chitale
Maybe you are looking for
-
I am not able to access the App Store on my Iphone 3GS with IOS 6.01, however i can access the same on my laptop when i connect my phone to my PC. Any suggestions on this.
-
Is Blueprint compatible with Flash Builder 4?
Can we use Blueprint with FlasBuilder 4? Rui
-
Dont want HD - too slow to download. Is there a setting?
-
Planning and Execution with Final Assembly
Hi Guys, As am entering in to New Module PP. i woud like to knw the process envolved in entire PP..I would like to know the process involved in "Planning and Execution" in PP.please do help me with the transaction codes and how to move on with the
-
Hi to all, I want to create an e-commerce site with HTMLDB 2.0. My site will have some public pages and some private pages. A user will have to register using a registration form, and then login in order to see the private pages. I don't know how to