Oracle Recovery Error using Wizard
Recovery Manager: Release 8.1.6.0.0 - Production
RMAN-06005: connected to target database: VTST (DBID=4051728604)
RMAN-06009: using target database controlfile instead of recovery catalog
RMAN> run {
2> allocate channel DefaultChannel type disk format 'D:\ORACLE\ORA81\DATABASE\DATA\VORA\b_VORA_3_1';
3> restore ( database);
4> recover database ;
5>
6> }
7>
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: DefaultChannel
RMAN-08500: channel DefaultChannel: sid=10 devtype=DISK
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: DefaultChannel
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Recovery Manager complete.
child process exited abnormally
null
The error that you have is because one of your datafile does not have a correct structure right now regarding the structure of your database. You can fix this problem making a recover of that datafile until this get good condition to work with the database. Conclusion you have to make a recover of that datafile so :
RECOVER
RECOVER {general | managed | END BACKUP}
where the general clause has the following syntax:
[AUTOMATIC] [FROM location]
{ {full_database_recovery | partial_database_recovery |LOGFILE filename}
[ {TEST | ALLOW integer CORRUPTION } [TEST | ALLOW integer CORRUPTION ]...]
|CONTINUE [DEFAULT]|CANCEL}
where the full_database_recovery clause has the following syntax:
[STANDBY] DATABASE
[ {UNTIL {CANCEL | TIME date | CHANGE integer} | USING BACKUP CONTROLFILE}
[UNTIL {CANCEL | TIME date | CHANGE integer} | USING BACKUP CONTROLFILE]...]
where the partial_database_recovery clause has the following syntax:
{TABLESPACE tablespace [, tablespace]... | DATAFILE datafilename [, datafilename]...
| STANDBY
{TABLESPACE tablespace [, tablespace]... | DATAFILE datafilename [, datafilename]...}
UNTIL [CONSISTENT] [WITH] CONTROLFILE }
where the managed clause has the following syntax:
MANAGED STANDBY DATABASE
[ {NODELAY | [TIMEOUT] integer | CANCEL [IMMEDIATE] [NOWAIT]}
| [DISCONNECT [FROM SESSION] ] [FINISH [NOWAIT] ] ]
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1010523
if you do not know how to do it , reply again and I am going to tell you
Joel P�rez
Similar Messages
-
Oracle DLL Error using AQ (in Oracle 10g) from Visual Basic
Hi, everybody
I have a Visual Basic 6 (with SP 6) application which connect to Oracle through an ODBC connection. Not only the client but also the server use Oracle 10.2.0.3.
The application accesses to Oracle Queues by using OraAQ, OraDatabase, OraSession... objects.
Everything works all right until the moment of closing the application; when the OraAQ object is disposed, an error in a DLL occurs. The DLL is orageneric10.dll, and it causes a Windows error which closes the application. Windows XP is used as operating system.
The error only happens with the OraAQ object; other objects are disposed without any problem.
Please, if somebody have an explanation, let me know. It is a very important issue for us.
Thanks in advanceHas anyone discovered an answer to this yet? I get the same issue, but am struggling to find a solution anywhere.
(VB.NET on Visual Studio 2005, Flash CS5, Flash Player 10.1.85.3, AS3) -
Proxy Object generation error using Wizard for Web Service Consumption
HI all,
I am using the Web Service Proxy Object Generation Wizard (via SE80) and have successfully been able to create a Proxy Object for a Web Service which resides on our INTRAnet.
...But now I am trying to consume a Web Service out on the INTERnet and I get an error I cannot quite understand when generating the Proxy Object using the URL of the WSDL of the SOAP Web Service.
The initial error in SE80 simply states "No vendor specified", but when I double-click on the error to get the long text I get the following error:
Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared
Exception of class CX_SLIB
Has anyone seen this or have experience with this?
I am a senior ABAP-er but have very little experence on the web development side of things so this looks very foreign to me.
Any input would be GREATLY appreciated!
Thanks!!
-ChrisRESOLVED! ---
I figured it out with further trial and error...
Turns out I was using the SOAP version of the WSDL (I had a choice b/ween SOAP, REST, and XML).
When I simply supply the XML version of the WSDL to the Proxy in the Web Services Wizard, the error vanished and the Proxy Objects generated just fine !!
..Closing this problem.
Edited by: Christopher Twirbutt on May 26, 2009 5:36 PM
Edited by: Christopher Twirbutt on May 26, 2009 5:37 PM
Edited by: Christopher Twirbutt on May 26, 2009 5:39 PM -
Oracle type error using cygwin on windows to connect via sqlplus to oracle.
Hi,
Found already some information on the internet regarding this topic but wasn't able to solve it so far.
So all informartion, tips are more then welcome.
Scripts runs with admin account 'DBA_Services'
Sqlplus connection sqlplus sys/***@oracle_sid
Thx already
OWBrun Script (v2.0)
Enviroment : GAMMA
Hostname : pvspdb04
Database : sgviv5
Date : 05Nov2010
Time : 15:58:21
Schema : dwhins
RuntimeRep: OWBRUN
Mapping : INS_DLITE_CTRL_JOB_03
Location : DNA_STAGING_LOCATION
Type load : PLSQL
Custom par: ,
Identifier: INS_DLITE_CTRL_JOB_03_20101105155820
Logfile : /ING/DWH/ora_dwh_loader/log/dwhins/owbrun_dwhins_INS_DLITE_CTRL_JOB_03_20101105155820.log
=== Check DB connect ===
05-NOV-2010 15:58:22
DB connection test is OK (attemps=1)
=== OWB RUN ===
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 5 15:58:22 2010
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options
SQL> SQL> SQL> SQL>
Session altered.
Elapsed: 00:00:00.00
SQL>
Session altered.
Elapsed: 00:00:00.00
SQL>
Session altered.
Elapsed: 00:00:00.00
SQL>
Session altered.
Elapsed: 00:00:00.00
SQL> SQL> SQL> SQL> SQL>
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
SQL> ++ Execute owbruntask dwhins.INS_DLITE_CTRL_JOB_03
SQL>
Stage 1: Decoding Parameters
| location_name=DNA_STAGING_LOCATION
| task_type=PLSQL
| task_name=INS_DLITE_CTRL_JOB_03
Stage 2: Opening Task
declare
ERROR at line 1:
ORA-20001: Task not found - Please check the Task Type, Name and Location are correct.
ORA-06512: at line 267
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options Exitcode = 33 Error : OWBRUN INS_DLITE_CTRL_JOB_03
Date : 05Nov2010
Time : 15:58:24This are the most important scripts:
DLITE_Sub1_201.ksh
#!/bin/ksh
#set -x
cp /ING/DWH/ora_dwh_loader/conf/stgins.cfg.sgviv5 /ING/DWH/ora_dwh_loader/conf/stgins.cfg
export FPATH=/ING/IIB/DNA/Interfaces/Scripts
export FINPATH=/ING/IIB/DNA/In/
export FOUTPATH=/ING/IIB/DNA/Out/
#load script into memory
autoload DLITE_fct_JS
#load script into memory
#autoload DNA_fct_JS_EXEC
JS_SCRIPT=`basename $0`
JS_ID=201
JS_TSK_ID=001;JS_TSK_NAM="FP_START_Remove_Files"
echo "\nstart subtask '${JS_TSK_NAM}"
cd /ING/IIB/DNA/Out
rm -f DLITE_CAPSIL_CODE_*.CSV
rm -f DLITE_CAPSIL_VAL_*.CSV
rm -f DLITE_VARIA_CODE_*.CSV
rm -f DLITE_VARIA_VAL_*.CSV
echo "\nend subtask '${JS_TSK_NAM}"
JS_TSK_ID=002;JS_TSK_NAM="F_DLITE_01_CODE_DESC"
cd /ING/IIB/DNA/Interfaces/Scripts
echo "\nstart subtask '${JS_TSK_NAM}"
ksh DLITE_owbrun.ksh -s dwhins -t PROCESS -m F_DLITE_01_CODE_DESC -l LOC_DNA_FLOW_STORE -c ","
JS_TSK_STA=$?
echo "\nverifying correct execution of subtask '${JS_TSK_NAM}"
if [ ${JS_TSK_STA} -ne 0 ] ; then
ksh DLITE_owbrun.ksh -s dwhins -t PLSQL -m INS_DLITE_CTRL_JOB_03 -l DNA_STAGING_LOCATION -c ","
exit 1
fi
echo "\nend subtask '${JS_TSK_NAM}"
JS_TSK_ID=002;JS_TSK_NAM="Check header/footer of files"
echo "\nstart subtask '${JS_TSK_NAM}"
ksh DLITE_CheckHeaderFooter.ksh
JS_TSK_STA=$?
if [ ${JS_TSK_STA} -ne 0 ] ; then
exit 1
fi
echo "\nend subtask '${JS_TSK_NAM}"
DLITE_owbrun.ksh
. /ING/IIB/DNA/Interfaces/Scripts/DLITE_ods_set_env.ksh
fout_melding()
echo "Error : ${1}" | tee -a ${LOGFILE}
echo " Date : $(date +%d%b%Y)" >> ${LOGFILE}
echo " Time : $(date +%H:%M:%S)" >> ${LOGFILE}
if [ -s ${LOGFILE:=/tmp/foutmelding} ]
then
cat ${LOGFILE} | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Error OWB run ${SCHEMA} : ${MAPPING}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
else
echo "Error : ${1}" | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Error OWB run ${SCHEMA} : ${MAPPING}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
fi
rm -f ${STATSFILE}
waarschuwing()
echo "Warning : ${1}" | tee -a ${LOGFILE}
echo " Date : $(date +%d%b%Y)" >> ${LOGFILE}
echo " Time : $(date +%H:%M:%S)" >> ${LOGFILE}
if [ -s ${LOGFILE:=/tmp1/foutmelding} ]
then
echo ${1} | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Warning OWB run ${SCHEMA} : ${TABLENAME}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
else
echo "Warning : ${1}" | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Warning OWB run ${SCHEMA} : ${TABLENAME}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
fi
USAGE="Usage : owbrun.ksh -s target_schema -t type -m mapping -l location -c custom_param -p system_param [-i ident]"
umask 022
ORVERSION=2.0
set -- `getopt s:t:m:c:p:i:l: $*`
if [ $? -ne 0 ]
then
echo ${USAGE}
exit 2
fi
while [ $# -gt 0 ]
do
case ${1} in
-s)
SCHEMA=${2}
shift 2
-t)
LOADTYPE=${2}
shift 2
-l)
LOCATION=${2}
shift 2
-m)
MAPPING=${2}
shift 2
-i)
IDENT=${2}
shift 2
-c)
CUSTPARAM=${2}
shift 2
shift
break
esac
done
export LISTFILENAMES=${*}
if [ "${SCHEMA}" = "" ]
then
fout_melding "Target Schema is mandatory"
echo ${USAGE}
exit 1
fi
if [ "${MAPPING}" = "" ]
then
echo "Error : Mapping is mandatory"
echo ${USAGE}
exit 1
fi
if [ "${LOCATION}" = "" ]
then
echo "Error : Location is mandatory"
echo ${USAGE}
exit 1
fi
MAPPING=$(echo ${MAPPING} | tr [:lower:] [:upper:])
if [ "${LOADTYPE}" = "" ]
then
echo "Error : Type (PLSQL/SQLLDR/PROCESS) is mandatory"
echo ${USAGE}
exit 1
fi
LOADTYPE=$(echo ${LOADTYPE} | tr [:lower:] [:upper:])
if [ "${LOADTYPE}" != "PLSQL" -a "${LOADTYPE}" != "SQLLDR" -a "${LOADTYPE}" != "PROCESS" ]
then
echo "Error : Illegal type ${LOADTYPE}"
echo ${USAGE}
exit 1
fi
export SCHEMA=$(echo ${SCHEMA} | tr [:upper:] [:lower:])
export UPSCHEMA=$(echo ${SCHEMA} | tr [:lower:] [:upper:])
# Call the Configuration script
. /ING/DWH/ora_dwh_loader/bin/config.ksh -s ${SCHEMA}
exitcode=$?
if [ $exitcode -ne 0 ]
then
echo "Error : during config.ksh"
exit ${exitcode}
fi
if [ "${IDENT}" = "" ]
then
IDENT=${MAPPING}_$(date +%Y%m%d%H%M%S)
CUSTPARAM=$(echo ${CUSTPARAM} | awk -f ${BASEPATH}/bin/owbrun.awk "datum=$(date +%Y%m%d%H%M%S)")
fi
if [ "${RUNREP}" = "" ]
then
fout_melding "Runtime Repository is mandatory (see ${SCHEMA}.cfg)"
echo ${USAGE}
exit 1
fi
export BPIDFILE=${TMPDRIVE}/owbrun_${SCHEMA}_${IDENT}_$$.pidlist
export LOGFILE=${LOGDRIVE}/owbrun_${SCHEMA}_${IDENT}.log
export STATSFILE=${LOGDRIVE}/owbrun_${SCHEMA}_${IDENT}.stats
echo "OWBrun Script (v${ORVERSION})" > ${LOGFILE}
echo "Enviroment : ${APPL_ENV}" >> ${LOGFILE}
echo "Hostname : $(hostname)" >> ${LOGFILE}
echo "Database : ${ORACLE_SID}" >> ${LOGFILE}
echo "Date : $(date +%d%b%Y)" >> ${LOGFILE}
echo "Time : $(date +%H:%M:%S)" >> ${LOGFILE}
echo "Schema : ${SCHEMA}" >> ${LOGFILE}
echo "RuntimeRep: ${RUNREP}" >> ${LOGFILE}
echo "Mapping : ${MAPPING}" >> ${LOGFILE}
echo "Location : ${LOCATION}" >> ${LOGFILE}
echo "Type load : ${LOADTYPE}" >> ${LOGFILE}
echo "Custom par: ${CUSTPARAM}" >> ${LOGFILE}
echo "Identifier: ${IDENT}" >> ${LOGFILE}
echo "Logfile : ${LOGFILE}" >> ${LOGFILE}
echo " " >> ${LOGFILE}
echo "Hostname : $(hostname)" > ${STATSFILE}
echo "Database : ${ORACLE_SID}" >> ${STATSFILE}
echo "Schema : ${SCHEMA}" >> ${STATSFILE}
echo "Mapping : ${TABLENAME}" >> ${STATSFILE}
echo "Period : P${PERIOD}" >> ${STATSFILE}
echo "Type load : ${LOADTYP}" >> ${STATSFILE}
echo "Identifier: ${IDENT}" >> ${STATSFILE}
echo "Start : $(date +%d%m%Y%H%M%S)" >> ${STATSFILE}
echo "=== Check DB connect ===" >> ${LOGFILE}
${BASEPATH}/bin/chk_db_connect.ksh >> ${LOGFILE}
exitcode=${?}
if [ $exitcode -ne 0 ]
then
fout_melding "Could NOT connect to database ${ORACLE_SID}"
exit ${exitcode}
fi
echo "=== OWB RUN ===" >> ${LOGFILE}
sqlplus 'system/*****' <<-EOF >> ${LOGFILE}
set timing on
set serveroutput on
alter session set sort_area_size=2621440;
alter session set hash_area_size=2621440;
alter session set skip_unusable_indexes=true;
alter session enable resumable timeout ${ResumableTimeout} name 'OwbRunTask ${UPSCHEMA}.${MAPPING}';
set pages 0
set timing on
set serveroutput on
WHENEVER SQLERROR EXIT SQL.SQLCODE
exec dbms_application_info.set_module('OWBRUNTASK','${UPSCHEMA}.${MAPPING}');
Prompt ++ Execute owbruntask ${SCHEMA}.${MAPPING}
declare
p_repos_owner varchar2(100):= '${RUNREP}';
p_location_name varchar2(100):='${LOCATION}';
p_task_type varchar2(100) :='${LOADTYPE}';
p_task_name varchar2(100) default '${MAPPING}';
p_system_params varchar2(100) default '","';
p_custom_params varchar2(200) default '${CUSTPARAM}"';
p_oem_friendly number default 0;
l_oem_style boolean := case (p_oem_friendly)
when 0 then false
else true
end ;
l_audit_execution_id number; -- Audit Execution Id
l_audit_result number := ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE; -- Result Code
l_audit_result_disp varchar2(64) := 'FAILURE'; -- Result Display Code
l_task_type_name varchar2(64); -- Task Type Name
l_task_type varchar2(64); -- Task Type
l_task_name varchar2(64); -- Task Name
l_location_name varchar2(64); -- Location Name
l_return number ;
fout exception;
opgepast exception;
p_parameters varchar2(4000);
p_parameter_kind number;
l_anchor_offset number := 1;
l_start_offset number := 1;
l_equals_offset number;
l_comma_offset number;
l_value_offset number;
l_esc_offset number;
l_esc_count number;
l_esc_char varchar2(4);
l_parameter_name varchar2(4000);
l_parameter_value varchar2(4000);
begin
p_custom_params:=replace(p_custom_params,'~',' ');
execute immediate ('alter session set current_schema = ' || p_repos_owner) ;
-- Initialize Return Code
l_return := ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE;
-- Import Parameters
dbms_output.put_line('Stage 1: Decoding Parameters');
l_task_type_name := p_task_type ;
if UPPER(l_task_type_name) = 'PLSQL'
then
l_task_type := 'PLSQL';
elsif UPPER(l_task_type_name) = 'SQL_LOADER'
then
l_task_type := 'SQLLoader';
elsif UPPER(l_task_type_name) = 'PROCESS'
then
l_task_type := 'ProcessFlow';
else
l_task_type := l_task_type_name;
end if;
l_task_name := p_task_name ;
l_location_name := p_location_name ;
dbms_output.put_line('| location_name=' || l_location_name);
dbms_output.put_line('| task_type=' || l_task_type);
dbms_output.put_line('| task_name=' || l_task_name);
-- Decode Parameters
begin
-- Prepare Execution
dbms_output.put_line('Stage 2: Opening Task');
l_audit_execution_id := ${RUNREP}.wb_rt_api_exec.open(l_task_type, l_task_name, l_location_name);
dbms_output.put_line('| l_audit_execution_id=' || to_char(l_audit_execution_id));
commit;
-- Override Parameters
p_parameters:=p_system_params;
p_parameter_kind :=${RUNREP}.wb_rt_api_exec.PARAMETER_KIND_SYSTEM;
l_anchor_offset:= 1;
l_start_offset:= 1;
l_equals_offset:=0;
l_comma_offset:=0;
l_value_offset:=0;
l_esc_offset:=0;
l_esc_count:=0;
l_esc_char:=null;
l_parameter_name:=null;
l_parameter_value:=null;
begin
loop
l_equals_offset := INSTR(p_parameters, '=', l_start_offset);
exit when l_equals_offset = 0;
l_start_offset := l_equals_offset + 1;
loop
l_comma_offset := INSTR(p_parameters, ',', l_start_offset);
if l_comma_offset = 0
then
l_comma_offset := length(p_parameters) + 1;
exit;
else
l_esc_count := 0;
l_esc_offset := l_comma_offset - 1;
loop
l_esc_char := SUBSTR(p_parameters, l_esc_offset, 1);
exit when l_esc_char != '\';
l_esc_count := l_esc_count + 1;
l_esc_offset := l_esc_offset - 1;
end loop;
if MOD(l_esc_count, 2) != 0
then
l_start_offset := l_comma_offset + 1;
else
exit;
end if;
end if;
end loop;
l_parameter_name := LTRIM(RTRIM(SUBSTR(p_parameters, l_anchor_offset, l_equals_offset - l_anchor_offset)));
l_parameter_value := SUBSTR(p_parameters, l_equals_offset + 1, l_comma_offset - (l_equals_offset + 1));
-- Override Input Parameter
${RUNREP}.wb_rt_api_exec.override_input_parameter(l_audit_execution_id,l_parameter_name,l_parameter_value,p_parameter_kind);
exit when l_comma_offset >= length(p_parameters)-1;
l_start_offset := l_comma_offset + 1;
l_anchor_offset := l_start_offset;
end loop;
end;
p_parameters:=p_custom_params;
p_parameter_kind :=${RUNREP}.wb_rt_api_exec.PARAMETER_KIND_CUSTOM;
l_anchor_offset:= 1;
l_start_offset:= 1;
l_equals_offset:=0;
l_comma_offset:=0;
l_value_offset:=0;
l_esc_offset:=0;
l_esc_count:=0;
l_esc_char:=null;
l_parameter_name:=null;
l_parameter_value:=null;
begin
loop
l_equals_offset := INSTR(p_parameters, '=', l_start_offset);
exit when l_equals_offset = 0;
l_start_offset := l_equals_offset + 1;
loop
l_comma_offset := INSTR(p_parameters, ',', l_start_offset);
if l_comma_offset = 0
then
l_comma_offset := length(p_parameters) + 1;
exit;
else
l_esc_count := 0;
l_esc_offset := l_comma_offset - 1;
loop
l_esc_char := SUBSTR(p_parameters, l_esc_offset, 1);
exit when l_esc_char != '\';
l_esc_count := l_esc_count + 1;
l_esc_offset := l_esc_offset - 1;
end loop;
if MOD(l_esc_count, 2) != 0
then
l_start_offset := l_comma_offset + 1;
else
exit;
end if;
end if;
end loop;
l_parameter_name := LTRIM(RTRIM(SUBSTR(p_parameters, l_anchor_offset, l_equals_offset - l_anchor_offset)));
l_parameter_value := SUBSTR(p_parameters, l_equals_offset + 1, l_comma_offset - (l_equals_offset + 1));
-- Override Input Parameter
${RUNREP}.wb_rt_api_exec.override_input_parameter(l_audit_execution_id,l_parameter_name,l_parameter_value,p_parameter_kind);
exit when l_comma_offset >= length(p_parameters)-1;
l_start_offset := l_comma_offset + 1;
l_anchor_offset := l_start_offset;
end loop;
end;
-- Execute
dbms_output.put_line('Stage 4: Executing Task');
l_audit_result := ${RUNREP}.wb_rt_api_exec.execute(l_audit_execution_id);
if l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_SUCCESS
then
l_audit_result_disp := 'SUCCESS';
elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_WARNING
then
l_audit_result_disp := 'WARNING';
elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE
then
l_audit_result_disp := 'FAILURE';
else
l_audit_result_disp := 'UNKNOWN';
end if;
dbms_output.put_line('| l_audit_result=' || to_char(l_audit_result) || ' (' || l_audit_result_disp || ')');
-- Finish Execution
dbms_output.put_line('Stage 5: Closing Task');
${RUNREP}.wb_rt_api_exec.close(l_audit_execution_id);
commit;
dbms_output.put_line('Stage 6: Processing Result');
if l_oem_style
then
if l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_SUCCESS
then
l_return := 0;
elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_WARNING
then
l_return := 0;
else
l_return := l_audit_result;
end if;
else
l_return := l_audit_result;
end if;
dbms_output.put_line('| exit=' || to_char(l_return));
if (l_return = 3) then
raise fout;
elsif (l_return = 2 ) then
raise opgepast;
end if;
exception
when fout then
raise_application_error(-20002, 'Error during executing task');
when opgepast then
raise_application_error(-20003, 'Warning during executing task');
when no_data_found
then
raise_application_error(-20001, 'Task not found - Please check the Task Type, Name and Location are correct.');
end;
dbms_output.put_line('| exit=' || to_char(l_return));
end ;
EOF
exitcode=${?}
if [ ${exitcode} -ne 0 ]
then
echo "Exitcode = ${exitcode}" >> ${LOGFILE}
fout_melding "OWBRUN ${MAPPING} "
exit ${exitcode}
else
echo "OWBRUN succesfull" >> ${LOGFILE}
fi
echo "---------------------------------------------------------------------" >> ${LOGFILE}
echo "Date : $(date +%d%b%Y)" >> ${LOGFILE}
echo "Time : $(date +%H:%M:%S)" >> ${LOGFILE}
echo "Terminated succesfull" >> ${LOGFILE}
echo "---------------------------------------------------------------------" >> ${LOGFILE}
echo "Stop : $(date +%d%m%Y%H%M%S)" >> ${STATSFILE}
times >> ${STATSFILE}
#echo "Loader Statistics" >> ${LOGFILE}
#awk -f ${BASEPATH}/bin/loadstat.awk ${STATSFILE} >> ${LOGFILE}
#${BASEPATH}/bin/loadstat.ksh -s ${SCHEMA} -f ${STATSFILE}
exit 0 -
Error using Oracle Suggested Backup
Hi, I am a first time DBA. A new 10g database has just been installed and I have just set up Oracle Suggested Backup in Enterprise Manager for the first time. The first run failed and this is the output log:
Any help or suggestion is sincerely appreciated.
Thanks.
Output Log
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:19 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL> SQL> Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:37 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected to an idle instance.
SQL> SQL> ORACLE instance started.
Total System Global Area 293601280 bytes
Fixed Size 1248600 bytes
Variable Size 100663976 bytes
Database Buffers 184549376 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 5 02:00:42 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: ATCFGENP (DBID=36478235, not open)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_disk_backup device type disk;
3> recover copy of database with tag 'ORA$OEM_LEVEL_0';
4> backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA$OEM_LEVEL_0' database;
5> }
allocated channel: oem_disk_backup
channel oem_disk_backup: sid=156 devtype=DISK
Starting recover at 05-JAN-07
no copy of datafile 1 found to recover
no copy of datafile 2 found to recover
no copy of datafile 3 found to recover
no copy of datafile 4 found to recover
no copy of datafile 5 found to recover
no copy of datafile 6 found to recover
no copy of datafile 7 found to recover
no copy of datafile 8 found to recover
no copy of datafile 9 found to recover
R_DAT1.DBF
output filename=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ATCFGENP\DATAFILE\O1_MF_WAIVER_D_2SVY0K24_.DBF tag=ORA$OEM_LEVEL_0 recid=8 stamp=611028161
channel oem_disk_backup: datafile copy complete, elapsed time: 00:00:01
channel oem_disk_backup: starting incremental level 1 datafile backupset
channel oem_disk_backup: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel oem_disk_backup: starting piece 1 at 05-JAN-07
released channel: oem_disk_backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ==============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on oem_disk_backup channel at 01/05/2007 02:02:46
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 7127040 bytes disk space from 2147483648 limit
RMAN> exit;
Recovery Manager complete.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jan 5 02:02:47 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> SQL> Connected.
SQL> SQL>
Database altered.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsYour Flashback Recovery Area is not sized properly, follow the suggestions as given by the error message:
Error: ORA-19804 (ORA-19804)
Text: cannot reclaim %s bytes disk space from %s limit
Cause: Oracle cannot reclaim disk space of specified bytes from the
DB_RECOVERY_FILE_DEST_SIZE limit.
Action: There are five possible solutions: 1) Take frequent backup of
recovery area using RMAN. 2) Consider changing RMAN retention
policy. 3) Consider changing RMAN archivelog deletion policy. 4)
Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE. 5) Delete
files from recovery area using RMAN.
Werner -
Error while creating Materialized View step 3 of 6 using wizard
have oracle 9i Rel 1 on Windows 2000 server. Master Site has been setup. Database links are created at Materialized view site. But while creating Materialized View Group using wizard there is following error on step 3 of 6.
Statement:----------------
/*OracleOEM*/ SELECT 1 FROM SYS.dba_constraints@masterdbname WHERE OWNER='username' and table_name='tabname' AND constraint_type='P'
Stack Trace:----------------
ORA-00942: table or view does not exist.
ORA-02063: preceding line from masterdbname.
All parameters for replication are correct.
Please help me early.
ThanksHello,
In the masterdbname, logging as sys user, you must grant select permission on sys.dba_constraints view to mvadmin_dbname user (where dbname is the replicated database name).
Regards, -
EEWB : Error while generating extension using wizard
Folks,
We are on CRM 5.0, am getting the following error when I try to create few custom fields using EEWB.
While creating the project & extension, I gave #temp as the package (dev. class).
when I try to start the wizard for creating new fields and provide the technical details and press 'complete' button, am getting the following error:
<b>Task BUPA_CI_FILL CRDCLNTxxx
Table BUT000_TD (Statements could not be generated)</b>
Detailed Error message:
Message no. DT066
Diagnosis
A requested database action could not be carried out.
Procedure
First try to repeat the action which caused this message. If the
database action again cannot be carried out, find out the cause of the
error using the analysis tool in the database utility. There might be an
inconsistency between the table definition in the ABAP Dictionary and
the existing nametab (runtime object for the table).
Can you suggest what could be wrong here.
Thanks in advance
Guest01thanks Sudheer. I checked the syntax check and got the following log displayed.
I can send you the description (long text) of some of these messages. could you have a look at them and give your inputs.
Check table/structure BUT000_TD
Check table BUT000_TD (USERID/05/25/07/06:21)
Enhancement category 3 possible, but include or subty. not yet classified
Several fields of type LANG: Select one of these as text language
No data exists (structure change caused by DROP / CREATE)
Error in code generation for deleting table BUT000_TD
Table BUT000_TD (Statements could not be generated)
Error number in DD_DECIDE (64)
Check on table BUT000_TD resulted in errors -
Error When Creating Oracle Text index using Lexer Keyword
Hi All,
I am getting following error when i creating oracle text index using lexer & stoplist keyword.
Pls Help me if any body know.
Thanks in Advance.
Error starting at line 1 in command:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-11000: invalid keyword LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
Regards,
Jack R.Hi,
it works if you put an extra PARAMETERS clause at the end so the creation looks like:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
Hope this helps
Herald ten Dam -
Errors in calling Oracle stored procedure using java CallableStatement
Hello,
I have an oracle stored procedure below, it has been tested in PL/SQL without errors. During testing, in_c_file_type="F"; out_n_seqno_freeformat=120139596 and out_n_seqno_commaseprated is null (empty in value column).
When I run the program in Eclipse (windows xp), error messages is below: (It stopped at line 'cstme.execute();' )
Message:ORA-06550: line 1, column 26: PLS-00103: Encountered the symbol "" when expecting one of the following: . ( ) , * @ % & | = - + < / > at in is mod remainder not range rem => .. <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ as between from using || indicator multiset member SUBMULTISET_ The symbol ", was inserted before "" to continue. Error code:6550 SQL statement:65000 {code} Does anyone know what cause the error? It seems like something is missing in the stored procedure. But the stored procedure passes the test in the PL/SQL. The oracla driver I used is Oracle thin driver. Oracle version is 10.2.g Thanks in advance. northcloud {code} create or replace procedure SP_GET_SEQNO_2( in_c_file_type in char, out_n_seqno_freeformat out integer, out_n_seqno_commaseprated out integer) is n_seqno_commaseprated integer; n_seqno_freeformat integer; begin if in_c_file_type ='F' THEN SELECT message_counter.nextval INTO n_seqno_freeformat FROM dual; insert into temp_stroperations (record_id,OUTPUT_STR,INPROCESS_STR) values (n_seqno_freeformat,empty_clob(),empty_clob()); elsif in_c_file_type ='C' THEN SELECT message_counter.nextval INTO n_seqno_commaseprated FROM dual; insert into temp_stroperations (record_id,OUTPUT_STR,INPROCESS_STR) values (n_seqno_commaseprated,empty_clob(),empty_clob()); else SELECT message_counter.nextval INTO n_seqno_freeformat FROM dual; insert into temp_stroperations (record_id,OUTPUT_STR,INPROCESS_STR) values (n_seqno_freeformat,empty_clob(),empty_clob()); SELECT message_counter.nextval INTO n_seqno_commaseprated FROM dual; insert into temp_stroperations (record_id,OUTPUT_STR,INPROCESS_STR) values (n_seqno_commaseprated,empty_clob(),empty_clob()); end if; out_n_seqno_freeformat := n_seqno_freeformat; out_n_seqno_commaseprated := n_seqno_commaseprated; end SP_GET_SEQNO_2; {code} ----- A part of java code I used to call the stored procedure is here. {code} String escapeString = "{call SP_GET_SEQNO_2 (? ? ?)}"; CallableStatement cstme = null; try { cstme = con.prepareCall(escapeString); cstme.setString(1, "F"); cstme.registerOutParameter(2, java.sql.Types.INTEGER); cstme.registerOutParameter(3, java.sql.Types.INTEGER); cstme.execute(); int seqNoFreeformat=0, seqNocommasepreted=0; seqNoFreeformat = cstme.getInt(2); seqNocommasepreted = cstme.getInt(3); System.out.println ("In ConvertXML.processStoredProcedure(), seqNoFreeformat= "+seqNoFreeformat+";seqNocommasepreted="+seqNocommasepreted); } catch (SQLException e) { //System.out.println ("In ConvertXML.processStoredProcedure(), SQLException: "+e); System.err.println("Message:"+e.getMessage()); System.err.println("Error code:"+e.getErrorCode()); System.err.println("SQL statement:"+e.getSQLState()); log.log(Level.INFO, log.getName() + " - SQLException : "+e); } {code}es5f2000 wrote:
jschell wrote:
That works?I dunno. The below definitely works, but like I said, I've only
ever done it with one output parameter (and that has always
been a ResultSet).
String callableQuery = "{?= call my_package.my_call(?, ?)}"
Yes I have done that and at least in terms of my code it wasn't just a result set.
But not with two. -
Error When Creating OR Rebuilding Oracle Text index using Lexer Keyword
Hi All,
I am getting following error when i creating oracle text index using lexer & stoplist keyword.
Pls Help me if any body know.
Thanks in Advance.
Error starting at line 1 in command:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-11000: invalid keyword LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
Regards,
Jack R.Hi,
it works if you put an extra PARAMETERS clause at the end so the creation looks like:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
Hope this helps
Herald ten Dam -
DPM encountered an error while reading from the recovery point used for recovery.
Hi Guys I'm getting this error:
DPM encountered an error while reading from the recovery point used for recovery. Either the recovery point no longer exists or, if you
selected a share for recovery, the path to its contents is missing from the recovery point. (265)
The DPM Server is on Windows 2012 DPM is 2012R2 4.2.1273.0
The Server being backed up is 2012 R2 with DPM Agent 4.2.1273.0
The Server has 3 Data Volumes (C: Drive) and D and E its the D and E drive that i get this error if i try and recover data from DPM. the C Drive is fine. the D and E Drive are different
in that 1 De-dupe is enabled and 2 the Shadow Copies for these Volumes are stored on separate Disks F and G respectively.
I've removed the Protection from drives D and E and reinstated it but every recovery point created
brings up the same error message. I'm not sure where to go next do I need to Protect the Disks that have the Shadow copies on also? Many thanks in advance Gordon.Hi,
It seems you are in a configuration where the Windows 2012 based DPM server does not understand how to read Windows 2012 R2 Dedup data structure which is what the DPM replica volume is.
See the DPM supported and unsupported scenarios
here under the deduplication issues section.
We have a fix in DPM2012 R2 UR5 that will protect the Windows 2012 R2 dedup volume in a non-dedup state on the DPM Server, but unfortunately that will not allow previous recovery points to be read.
KB3021791-Description of Update Rollup 5 for System Center 2012 R2 Data Protection Manager
Backup job for dedupe-enabled volume on Windows 2012 R2 fails. For example, Data Protection Manager backup might fail for following setup:
Data Protection Manager2012 R2 is installed on Windows Server 2012.
Data Protection Manager is protecting a dedupe-enabled volume on Windows Server 2012 R2.
This also applied to restores as the above was for D2D2T backup that may fail as it needs to read the recovery point to back it up to tape.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
Customizing Oracle Database Error Message Using Oracle JVM
Avi (that everybody on this forum knows) has just written the following article:
http://www.oracle.com/technology/tech/java/jsp/parameterized_custom_messages.html
Check it out, KuassiI got blank space when try to access Oracle Database Error Messages 11g release 2 pdf version. Not sure if it is because of my browser or not. I'm using firefox 6.0.2 in Slackware 13 64 linux.I do not see any PDF link for "Oracle Database 11gR2 Error Messages" Guide, only the HTML version is available.
Error Messages
http://www.oracle.com/pls/db112/to_toc?pathname=server.112/e17766/toc.htm
11gR2 Docs
http://www.oracle.com/pls/db112/homepage -
Incomplete Recovery Fails using Full hot backup & Archive logs !!
Hello DBA's !!
I am doing on Recovery scenario where I have taken One full hot backup of my Portal Database (EPR) and Restored it on New Test Server. Also I restored Archive logs from last full hot backup for next 6 days. Also I restored the latest Control file (binary) to their original locations. Now, I started the recovery scenario as follows....
1) Installed Oracle 10.2.0.2 compatible with restored version of oracle.
2) Configured tnsnames.ora, listener.ora, sqlnet.ora with hostname of Test server.
3) Restored all Hot backup files from Tape to Test Server.
4) Restored all archive logs from tape to Test server.
5) Restored Latest Binary Control file from Tape to Test Server.
6) Now, Started recovery using following command from SQL prompt.
SQL> recover database until cancel using backup controlfile;
7) Open database after Recovery Completion using RESETLOGS option.
Now in Above scenario I completed steps upto 5) successfully. But when I execute the step 6) the recovery completes with Warning : Recovery completed but OPEN RESETLOGS may throw error " system file needs more recovery to be consistent " . Please find the following snapshot ....
ORA-00279: change 7001816252 generated at 01/13/2008 12:53:05 needed for thread
1
ORA-00289: suggestion : /oracle/EPR/oraarch/1_9624_601570270.dbf
ORA-00280: change 7001816252 for thread 1 is in sequence #9624
ORA-00278: log file '/oracle/EPR/oraarch/1_9623_601570270.dbf' no longer needed
for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/oracle/EPR/oraarch/1_9624_601570270.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
SQL> SQL> SQL> SQL> SQL> SQL> SQL>
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
Let me know What should be the reason behind recovery failure !
Note : I tried to Open the database using Last Full Hot Backup only & not applying any archives. Then Database Opens successfully. It means my Database Installation & Configuration is OK !
Please Let me know why my Incomplete Recovery using Archive logs Goes Fail ?
Atul Patil.oh you made up a new thread so here again:
there is nothing wrong.
You restored your backup, archives etc.
you started your recovery and oracle applyed all archives but the archive
'/oracle/EPR/oraarch/1_9624_601570270.dbf'
does not exist because it represents your current online redo log file and that is not present.
the recovery process cancels by itself.
the solution is:
restart your recovery process with:
recover database until cancel using backup controlfile
and when oracle suggests you '/oracle/EPR/oraarch/1_9624_601570270.dbf'
type cancel!
now you should be able to open your database with open resetlogs. -
How to use wizard to create a variable screen
Hi Team,
In Visual composer, I have crated a dashboard. For this dashboard, few variables are used. My customer wants these variables window as first window and the result in second window.
Note: Only if value is entered in first window, it should take me to the next window i.e. dashboard.
I know using layers this could be achieved, but wen I tried using Wizard it is giving me the following error "Step 'Step2' can not be reached or has more than one nested level". Is there any other way through which I can achieve my task.
Regards,
ChanHi Chan,
As you said Wizard is the best one.
You can try with Nested IViews or PopUp IView, which one suits best for your requirement.
http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm
Regards,
Shemim -
How to configure Oracle 10g to use 4GB memory
I'm trying to configure Oracle 10g to use >4GB memory. Have configured server boot.ini with required flags (/3GB /PAE). Rebooted server then created standard database, then connected to db instance and changed oracle parameters DB_BLOCK_BUFFERS, USE_INDIRECT_DATA_BUFFERS as required. Restarted DB instance, DB fails to restarted with SGA memory error. According to oracle user docs the SGA is nolonger in effect due to previous settings. Can you provide example of SPFILE with parameters settings that do work and use >4GB memory. Current server has 8GB, 2 x Dual XEON core/processors (i.e. 8 processors)
The recommended /3GB switches in the boot.ini file can only be used with the following operating systems editions (KB article 291988):
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Data Center Server
Microsoft Windows Server 2003, Enterprise Edition
Microsoft Windows Server 2003, Data Center Edition
Microsoft Windows Small Business Server 2003
Important: Windows 2000 and 2003 Server Standard Editions DO NOT SUPPORT /3GB Switch.
So if your OS is listed above, then you cannot have a larger SGA.
Maybe you are looking for
-
I have to design forms that are fillable electronically and by hand. The problem that I am running in to is supplying multiple lines that will print for people that are hand filling the form. I have tried to add an image of lines behind the text fi
-
Cost Component Structure (OKTZ) Issue - Max number of cost fields reached
Hello. I'm having this issue in OKTZ when adding new cost component in an exisiting cost component structure. it says "maximum number of cost fields reached (40)". not sure what to do with this. please see screenshot http://img39.imageshack.us/img39/
-
Hi everyone ! Since I've installed SL I've noticed that there's a bug when I move files from one folder to another. Normally, when you move the file with the mouse and you drag it to a folder and stay on it, the folder should open in a new window, bu
-
I want to know that how to clear the JFrame window, and how to remove the component of the container.
-
I have a 2011 11 inch Mac Air, after a recent Moutain Lion upgrade, I realized the fan turns on within 15 minutes of usage, was not the case before. Any ideas?