Expdp erro by oracle patchset p9718020_111070_MSWIN-x86-64
Few day later, I after install oracle p9718020_111070_MSWIN-x86-64, backup tablespace erro,but exp OK .
Export: Release 11.1.0.7.0 - 64bit Production on 星期四, 15 7月, 2010 18:00:02
Copyright (c) 2003, 2007, Oracle. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
启动 "EDWARD"."SYS_EXPORT_TABLESPACE_01": edward/******** directory=xybak dumpfile=edward_20100715.dmp tablespaces=EAS_D_EDWARD_STANDARD PARALLEL=30
正在使用 BLOCKS 方法进行估计...
处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: 表数据对象 "EDWARD"."T_LOG_HIS" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_LOG_APP" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_GL_ASSISTBALANCE" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_GL_ACCOUNTBALANCE" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_CSL_CSLREPORT" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
使用 BLOCKS 方法的总估计: 2.059 GB
ORA-31693: 表数据对象 "EDWARD"."T_GL_VOUCHERASSISTRECORD" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_WFD_PROCESSDEF" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_QUERY_QUERYSOLUTION" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_GL_VOUCHERENTRY" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_RPT_REPORT" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_BD_ACCOUNTVIEW" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_RPTS_STORAGEFILEDATA" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_FS_SUMMARYLEDGER" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_CAS_JOURNAL" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_PM_USERORGPERM" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_BG_BGTEMREFBGITEMCOMBIN" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_FS_SETTLEMENTBILL" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_GL_CASHFLOWRECORD" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_FW_USERCUSTOMCONFIG" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_BAS_MESSAGE" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_CAS_PAYMENTBILL" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_CAS_PAYMENTBILL_BAK" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
ORA-31693: 表数据对象 "EDWARD"."T_FDC_COSTACCOUNT" 无法加载/卸载并且被跳过, 错误如下:
ORA-02354: 导出/导入数据时出错
ORA-06550: 第 行, 第 列:
backup script:
rem date format is "YYYY-MM-DD"
expdp edward/edward directory=xybak dumpfile=edward_"%date:~0,4%%date:~5,2%%date:~8,2%".dmp tablespaces=EAS_D_EDWARD_STANDARD PARALLEL=30
exit
An export, with or without DataPump is not a backup.
If the intent of what you are doing is to have a backup copy of your database use RMAN.
Similar Messages
-
EXPDP Error in Oracle 11.2.0.1.0
Hello Team,
I have a problem in executing expdp/impdp in oracle version 11.2.0.1.0. Following is the error output. Traditional exp/imp is working fine.
Note: command executed on Oracle Linux on VMware
[oracle1@rac1 test]$ expdp
Export: Release 11.2.0.1.0 - Production on Mon Aug 12 15:29:39 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Username: system
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at "SYS.KUPV$FT", line 991
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
Regards,Hello DK2010,
=======================================================================================================
SQL> set lines 100
SQL> set pagesize 200
SQL> /
OWNER OBJECT_TYPE
OBJECT_NAME
OBJECT_ID STATUS
SYS PACKAGE
DBMS_INTERNAL_LOGSTDBY
5067 VALID
SYS PACKAGE BODY
DBMS_INTERNAL_LOGSTDBY
10780 INVALID
===================================================================================================
UTLRP.SQL output:
====================================================================================================
SQL> @utlrp.sql
TIMESTAMP
COMP_TIMESTAMP UTLRP_BGN 2013-08-12 16:03:24
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
DECLARE
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at "SYS.UTL_RECOMP", line 781
ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_INTERNAL_LOGSTDBY"
ORA-06512: at line 4
TIMESTAMP
COMP_TIMESTAMP UTLRP_END 2013-08-12 16:03:25
DOC> The following query reports the number of objects that have compiled
DOC> with errors (objects that compile with errors have status set to 3 in
DOC> obj$). If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
13
DOC> The following query reports the number of errors caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC>#
ERRORS DURING RECOMPILATION
0
PL/SQL procedure successfully completed.
SQL> SELECT owner, object_type, object_name, object_id, status FROM SYS.dba_objects where object_name = 'DBMS_INTERNAL_LOGSTDBY';
OWNER OBJECT_TYPE
OBJECT_NAME
OBJECT_ID STATUS
SYS PACKAGE
DBMS_INTERNAL_LOGSTDBY
5067 VALID
SYS PACKAGE BODY
DBMS_INTERNAL_LOGSTDBY
10780 INVALID
==================================================
SELECT owner,object_type,object_name,status FROM dba_objects WHERE status = 'INVALID' ORDER BY owner, object_type, object_name;SQL> SQL>
OWNER OBJECT_TYPE OBJECT_NAME STATUS
DBSNMP PACKAGE BSLN INVALID
DBSNMP PACKAGE BSLN_INTERNAL INVALID
DBSNMP PACKAGE BODY BSLN INVALID
DBSNMP PACKAGE BODY BSLN_INTERNAL INVALID
DBSNMP SYNONYM MGMT_BSLN INVALID
PUBLIC SYNONYM DBA_LOGSTDBY_LOG INVALID
PUBLIC SYNONYM DBMS_ADVISOR INVALID
PUBLIC SYNONYM DBMS_SQLPA INVALID
PUBLIC SYNONYM DBMS_SQLTUNE INVALID
SYS FUNCTION LOGSTDBY$TABF INVALID
SYS FUNCTION LOGSTDBY$UTABF INVALID
SYS PACKAGE DBMS_ADVISOR INVALID
SYS PACKAGE DBMS_SQLDIAG_INTERNAL INVALID
SYS PACKAGE DBMS_SQLPA INVALID
SYS PACKAGE DBMS_SQLTUNE INVALID
SYS PACKAGE DBMS_SQLTUNE_INTERNAL INVALID
SYS PACKAGE PRVT_ADVISOR INVALID
SYS PACKAGE BODY AS_REPLAY INVALID
SYS PACKAGE BODY DBMS_ADDM INVALID
SYS PACKAGE BODY DBMS_ADVISOR INVALID
SYS PACKAGE BODY DBMS_APPLY_ERROR INVALID
SYS PACKAGE BODY DBMS_ARCH_PROVIDER_INTL INVALID
SYS PACKAGE BODY DBMS_ASH_INTERNAL INVALID
SYS PACKAGE BODY DBMS_AUTOTASK_PRVT INVALID
SYS PACKAGE BODY DBMS_AUTO_TASK_EXPORT INVALID
SYS PACKAGE BODY DBMS_CAPTURE_SWITCH_ADM INVALID
SYS PACKAGE BODY DBMS_CAPTURE_SWITCH_INTERNAL INVALID
SYS PACKAGE BODY DBMS_COMPRESSION INVALID
SYS PACKAGE BODY DBMS_DBFS_CONTENT_ADMIN INVALID
SYS PACKAGE BODY DBMS_DBFS_HS INVALID
SYS PACKAGE BODY DBMS_FEATURE_USAGE INVALID
SYS PACKAGE BODY DBMS_FEATURE_USAGE_INTERNAL INVALID
SYS PACKAGE BODY DBMS_INTERNAL_LOGSTDBY INVALID
SYS PACKAGE BODY DBMS_ISCHED INVALID
SYS PACKAGE BODY DBMS_LOGREP_EXP INVALID
SYS PACKAGE BODY DBMS_LOGSTDBY INVALID
SYS PACKAGE BODY DBMS_MANAGEMENT_PACKS INVALID
SYS PACKAGE BODY DBMS_PROPAGATION_INTERNAL INVALID
SYS PACKAGE BODY DBMS_REPORT INVALID
SYS PACKAGE BODY DBMS_SERVER_ALERT INVALID
SYS PACKAGE BODY DBMS_SERVER_ALERT_PRVT INVALID
SYS PACKAGE BODY DBMS_SMB INVALID
SYS PACKAGE BODY DBMS_SMB_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SPACE INVALID
SYS PACKAGE BODY DBMS_SPM INVALID
SYS PACKAGE BODY DBMS_SPM_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLDIAG INVALID
SYS PACKAGE BODY DBMS_SQLDIAG_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLPA INVALID
SYS PACKAGE BODY DBMS_SQLTCB_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLTUNE INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_UTIL1 INVALID
SYS PACKAGE BODY DBMS_SQLTUNE_UTIL2 INVALID
SYS PACKAGE BODY DBMS_STATS INVALID
SYS PACKAGE BODY DBMS_STATS_INTERNAL INVALID
SYS PACKAGE BODY DBMS_STREAMS_ADM INVALID
SYS PACKAGE BODY DBMS_STREAMS_ADM_UTL INVALID
SYS PACKAGE BODY DBMS_STREAMS_AUTO_INT INVALID
SYS PACKAGE BODY DBMS_STREAMS_SM INVALID
SYS PACKAGE BODY DBMS_SWRF_INTERNAL INVALID
SYS PACKAGE BODY DBMS_SWRF_REPORT_INTERNAL INVALID
SYS PACKAGE BODY DBMS_UNDO_ADV INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_CAPTURE INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_REPLAY INVALID
SYS PACKAGE BODY DBMS_WORKLOAD_REPOSITORY INVALID
SYS PACKAGE BODY DBMS_WRR_INTERNAL INVALID
SYS PACKAGE BODY DBMS_XPLAN INVALID
SYS PACKAGE BODY HM_SQLTK_INTERNAL INVALID
SYS PACKAGE BODY LOGMNR_DICT_CACHE INVALID
SYS PACKAGE BODY PRVT_ACCESS_ADVISOR INVALID
SYS PACKAGE BODY PRVT_ADVISOR INVALID
SYS PACKAGE BODY PRVT_COMPRESSION INVALID
SYS PACKAGE BODY PRVT_HDM INVALID
SYS PACKAGE BODY PRVT_PARTREC_NOPRIV INVALID
SYS PACKAGE BODY PRVT_REPORT_TAGS INVALID
SYS PACKAGE BODY PRVT_SQLADV_INFRA INVALID
SYS PACKAGE BODY PRVT_SQLPA INVALID
SYS PACKAGE BODY PRVT_SQLPROF_INFRA INVALID
SYS PACKAGE BODY PRVT_SQLSET_INFRA INVALID
SYS PACKAGE BODY PRVT_SYS_TUNE_MVIEW INVALID
SYS PACKAGE BODY PRVT_TUNE_MVIEW INVALID
SYS PACKAGE BODY PRVT_WORKLOAD INVALID
SYS PACKAGE BODY PRVT_WORKLOAD_NOPRIV INVALID
SYS PROCEDURE DBMS_FEATURE_AUM INVALID
SYS PROCEDURE DBMS_FEATURE_AUTOSTA INVALID
SYS PROCEDURE DBMS_FEATURE_AWR INVALID
SYS PROCEDURE DBMS_FEATURE_REGISTER_ALLFEAT INVALID
SYS PROCEDURE DBMS_FEATURE_SEGADV_USER INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES1 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES2 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES3 INVALID
SYS PROCEDURE DBMS_FEATURE_UTILITIES4 INVALID
SYS PROCEDURE DBMS_FEATURE_WCR_CAPTURE INVALID
SYS PROCEDURE DBMS_FEATURE_WCR_REPLAY INVALID
SYS PROCEDURE LOGMNR_KRVRDA_TEST_APPLY INVALID
SYS TYPE SCHEDULER$_REMOTE_ARG INVALID
SYS TYPE SCHEDULER$_REMOTE_ARG_LIST INVALID
SYS TYPE SCHEDULER$_REMOTE_DB_JOB_INFO INVALID
SYS TYPE BODY WRI$_ADV_ABSTRACT_T INVALID
SYS TYPE BODY WRI$_ADV_COMPRESSION_T INVALID
SYS TYPE BODY WRI$_ADV_HDM_T INVALID
SYS TYPE BODY WRI$_ADV_OBJSPACE_TREND_T INVALID
SYS TYPE BODY WRI$_ADV_SQLACCESS_ADV INVALID
SYS TYPE BODY WRI$_ADV_SQLTUNE INVALID
SYS TYPE BODY WRI$_ADV_TUNEMVIEW_ADV INVALID
SYS TYPE BODY WRI$_REPT_PLAN_DIFF INVALID
SYS TYPE BODY WRI$_REPT_SQLMONITOR INVALID
SYS TYPE BODY WRI$_REPT_SQLPI INVALID
SYS TYPE BODY WRI$_REPT_SQLT INVALID
SYS VIEW AQ$AQ_PROP_TABLE_R INVALID
SYS VIEW AQ$SCHEDULER$_EVENT_QTAB_R INVALID
SYS VIEW AQ$SCHEDULER$_REMDB_JOBQTAB INVALID
SYS VIEW AQ$SCHEDULER$_REMDB_JOBQTAB_R INVALID
SYS VIEW AQ$SCHEDULER_FILEWATCHER_QT_R INVALID
SYS VIEW AQ$_AQ$_MEM_MC_F INVALID
SYS VIEW AQ$_AQ_PROP_TABLE_F INVALID
SYS VIEW AQ$_SCHEDULER$_EVENT_QTAB_F INVALID
SYS VIEW AQ$_SCHEDULER$_REMDB_JOBQTAB_F INVALID
SYS VIEW AQ$_SCHEDULER_FILEWATCHER_QT_F INVALID
SYS VIEW DBA_LOGSTDBY_LOG INVALID
121 rows selected.
=================================================================================================================
How do i fix this invalid sys objects.
Regards, -
Where can I get Oracle for solaris x86
Besides click the ContactOTN in web page to submit the question
about this to them, I follow the link
http://platforms.oracle.com/sun/index_sun.htm and click "Ask Us"
link to send message to them too.
Am I wrong ? Can you give me the correct way to ask the question
KK
jeamaro (guest) wrote:
: KK (guest) wrote:
: : I read through the news group and find some mention there is
: : a version Oracle for solaris x86. Then I go to
: : http://platforms.oracle.com/sun/index_sun.htm too.
: : Can anyone tell me the straight method to get it ?
: : I have already sent several mail to ask about that.
: : There is nothing return.
: : KK
: There is a version of Oracle for Solaris x86. Although it has
: not been available thru OTN. To which email ID have you been
: sending your questions?
: Regards
nullBesides click the ContactOTN in web page to submit the question
about this to them, I follow the link
http://platforms.oracle.com/sun/index_sun.htm and click "Ask Us"
link to send message to them too.
Am I wrong ? Can you give me the correct way to ask the question
KK
jeamaro (guest) wrote:
: KK (guest) wrote:
: : I read through the news group and find some mention there is
: : a version Oracle for solaris x86. Then I go to
: : http://platforms.oracle.com/sun/index_sun.htm too.
: : Can anyone tell me the straight method to get it ?
: : I have already sent several mail to ask about that.
: : There is nothing return.
: : KK
: There is a version of Oracle for Solaris x86. Although it has
: not been available thru OTN. To which email ID have you been
: sending your questions?
: Regards
null -
Oracle VMS for X86 version 2 can upgrade to VMS version 3?A method?
Oracle VMS for X86 version 2 can upgrade to VMS version 3?A method?Need,
Now I don't want to go to my server, do not want to make too big movement, the need to upgrade the VMS, although Oracle 2 cannot be upgraded to 3.0.Shmoob wrote:
I'm running OS X 10.3.9 & have ITunes 7. Got a IPhone4 for xmas & ITunes 7 won't talk to it. So I need to upgrade the OS apparently to be able to upgrade ITunes. Of course ITunes 10 is for intel macs only, so the question is--what's the latest version of OS X that I can get to upgrade ITunes so the IPhone 4 will sync? Whew that was a lot....
Thanks for any help
I think others have answered most of your questions, but you indicated that "iTunes 10 is for Intel Macs only" -- that is not actually correct, you can certainly run iTunes 10 on your G5 PowerPC. What you need to do is:
(1) upgrade to 10.5 operating system
(2) upgrade to iTunes 10
While Apple doesn't officially sell 10.5 anymore (Apple sells 10.6, but 10.6 won't install on your G5 PowerPC), if you call their 800 number and explain that you need it to use your new iPhone, they may be able to sell you a copy from old inventory. Alternatively, some retailers are still selling older inventory 10.5 install DVDs but you need the version that installs on any computer, many 10.5 disks are made for a specific model only.
Before you do either (1) or (2) above, make sure you have enough memory as indicated by Apple in their system requirements. If you need more memory, it is inexpensive to upgrade. -
Oracle Patchset 10.2.0.5.0 impact on password enabled roles
Oracle Patchset 10.2.0.5.0 (as well as 11.1.0.7 according to Oracle Support note 745407.1) will affect your password enabled roles security if you grant password enabled role to a user as a DEFAULT role (this users - like firecall ids - don't have to provide password to have this role active after logon). It turns out this is the only impact contrary to Oracle Support (Metalink) note 745407.1 stating that roles granted to other roles are affected as well. After I read the note I've worked with my DBA to assess possible damage to the application I support. Below are the results that I hope might help other people to assess and fix their situation as well (Please don't do the "fix" recommended by note 745407.1 which is to "remove password protection from the role" as this will trash your application security) :
BEFORE THE PATCH:
SQL*Plus: Release 10.1.0.4.2 - Production on Mon Sep 20 14:45:13 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
SQL# -- Create Ordinary Oracle Role
SQL# create role ORACLE_ROLE;
Role created.
SQL#
SQL# -- Create Password Authenticated Role
SQL# create role PASSW_AUTH_ROLE identified by xxxxxxx;
Role created.
SQL#
SQL# -- Create Another Ordinary Role to be granted to ORACLE_ROLE
SQL# create role ROLE_TO_OTHER_ROLE;
Role created.
SQL#
SQL# GRANT ROLE_TO_OTHER_ROLE TO ORACLE_ROLE;
Grant succeeded.
SQL#
SQL# -- Create Secure Application Role
SQL# create role SECURE_APP_ROLE identified using sec_roles;
Role created.
SQL# -- sec_roles procedure
SQL# CREATE OR REPLACE procedure sec_roles AUTHID CURRENT_USER
2 AS
3
4 BEGIN
5 DBMS_SESSION.SET_ROLE('secure_app_role');
6 END;
7 /
Procedure created.
SQL#
SQL# grant execute on SEC_ROLES to public;
Grant succeeded.
SQL#
SQL# SQL# -- Create User Account
SQL# CREATE USER app_user IDENTIFIED BY "xxxxxxx"
2 DEFAULT TABLESPACE "USERS01"
3 TEMPORARY TABLESPACE "TEMP01";
User created.
SQL# GRANT CONNECT, ORACLE_ROLE, PASSW_AUTH_ROLE, SECURE_APP_ROLE to app_user;
Grant succeeded.
SQL# ALTER USER app_user DEFAULT ROLE ALL;
User altered.
connect app_user@XXXXXX
Enter password: *********
Connected.
select * from session_roles;
ROLE
CONNECT
ORACLE_ROLE
ROLE_TO_OTHER_ROLE
PASSW_AUTH_ROLE
Note here that SECURE_APP_ROLE does not appear in the list of active session roles, which is in accordance with Oracle Support (Metalink) note 745407.1 saying that this is the case starting with versions 11.1.0.7 and 10.2.0.4 for Secure Application Roles.
AFTER THE PATCH APPLIED:
connect app_user@XXXXXX
Enter password: *********
Connected.
select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Solaris: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
SQL# show user
USER is "APP_USER"
SQL#
SQL# select * from session_roles;
ROLE
CONNECT
ORACLE_ROLE
ROLE_TO_OTHER_ROLE
As expected password enabled role PASSW_AUTH_ROLE disappeared from the list of the roles enabled by default. Contrary to the expectations ROLE_TO_OTHER_ROLE that is granted to ORACLE_ROLE but not directly to the user is still active. As it turns out that is not the last surprise.
In order to test other possible combinations of roles granted to other roles I've created two other roles:
create role role_to_other_role_2;
Role created.
SQL# create role PASSW_AUTH_ROLE_2 identified by xxxxxxxx;
Role created.
SQL# grant passw_auth_role_2 to oracle_role
Grant succeeded.
SQL# grant PASSW_AUTH_ROLE_2 to PASSW_AUTH_ROLE
Grant succeeded.
SQL# grant role_to_other_role_2 to passw_auth_role;
Grant succeeded.
Surprisingly after logon password enabled role PASSW_AUTH_ROLE_2, granted through non-password enabled role ORACLE_ROLE, is active without need to provide password to set PASSW_AUTH_ROLE_2 role, which kind of defeats the purpose of Oracle security change in the first place.
connect app_user@XXXXXX
Enter password: *********
Connected.
select * from session_roles;
ROLE
CONNECT
ORACLE_ROLE
ROLE_TO_OTHER_ROLE
PASSW_AUTH_ROLE_2
Also if we set other password enabled role PASSW_AUTH_ROLE all roles granted to that role become active roles:
set role passw_auth_role identified by xxxxxxxx;
Role set.
select * from session_roles;
ROLE
PASSW_AUTH_ROLE
PASSW_AUTH_ROLE_2
ROLE_TO_OTHER_ROLE_2
As we can see this Oracle attempt to solidify role based security leaves some holes, and documentation is confusing and misleading. I expect that there will be more interventions coming in the future and we will need to verify with Oracle if they intend to do changes with role based security in the future that might have much greater impact on applications security models, and potentially cause unwanted downtime.
Finaly the query to figure out if you are potentially affected is:
select B.grantee, A.role, B.default_role
from dba_roles A, dba_role_privs B
where A.password_required = 'YES'
and A.role = B.granted_role
and B.default_role = 'YES';I think, we are also facing this problem. Please let me know if any one has got any kind of FIX for this ?
we have just migrated from 10.2.0.4.0 to 10.2.0.5.0. All of a sudden set of code stopped working.
Query runs before setting up ROLE and similer query gives error after setting up the ROLE. If we don’t set the ROLE, both queries work fine.
======= Code =====
SELECT granted_role
FROM DBA_ROLE_PRIVS
WHERE grantee = '501280629'
AND granted_role IN ('PICAMG','PICAUS', 'PICAVW', 'PICAOP', 'PICADB')
AND ROWNUM = 1 ----> this query works before setting up ROLE
SET ROLE PICADB IDENTIFIED BY XXXXX ----> setting up ROLE
SELECT granted_role
FROM DBA_ROLE_PRIVS
WHERE GRANTEE = '501280629'
AND granted_role IN ('PICAMG','PICAUS', 'PICAVW', 'PICAOP', 'PICADB') ----> this query does work after setting up ROLE
Thanks
Suraj -
How to setup em for all oracle database templetas X86/X86_64 /10g/11g
Hi: everyone know about Oracle database templates X86/X86_64 /10g/11g all not setup em.
I have builder all Oracle database templates X86/X86_64 can not start em
https://hostname:1158/em
$emctl start dbconsole
to display Oc4j configurate issue......
I have do
$emca -repos create
$emca -config dbcontrol db
$emctl start dbconsole
but still not login em.
Everyone can test it,why can not running.
How to config about em.
thank.Hi:
$emctl status dnconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996,2007 Oracle Corporation .All righs reserved.
https://majin148:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running
I am also to try:
#chkconfig iptables off
https://192.168.100.148:5500/em -
We need to upgrade to Oracle patchset 10.2.0.4 from 10.2.0.2 on 32-bit Windows.
On service market place I found the following files for this :
10204_Patch20_WIN32.zip Size 91436 KB
10204_Patch22_WIN32.zip Size 91849 KB
BIN Patchset_10204_Win32aa.bin Size 358400 KB
BIN Patchset_10204_Win32ab.bin Size 358400 KB
BIN Patchset_10204_Win32ac.bin Size 293572 KB
Could you tell me, if I need the .bin files as well as the .zip files
Note - 1137346 says that only .zip files are needed.
Could you please clarify this doubt?
And Note - 839187 says - To apply the patch set, follow the instructions in the patch set README file.
But there is not readme file on service market place.
Thanks.
Edited by: Gautam Poddar on Aug 27, 2009 10:39 AM
Edited by: Gautam Poddar on Aug 27, 2009 10:41 AMSo, I downloaded the 2 .zip files.
But the README file says -
1 Ensure that your Oracle Database installation is the same release for which you are applying this patch. In other words, only apply the Release 10.2.0.4 Bundle patch to an Oracle Database Release 10.2.0.4
Now, we are at 10.2.0.2.
So to bring us to patch level 10.2.0.4, we are supposed to apply the above 2 .zip files, right?
But the README says you can apply these patches only if you are already at 10.2.0.4
Could you please clarify this?
Thanks. -
I would like to know where I can download the latest version of orace for the solaris on Intel os.
I have searched oracle and cannot seem to find it.
Any suggestions.Besides click the ContactOTN in web page to submit the question
about this to them, I follow the link
http://platforms.oracle.com/sun/index_sun.htm and click "Ask Us"
link to send message to them too.
Am I wrong ? Can you give me the correct way to ask the question
KK
jeamaro (guest) wrote:
: KK (guest) wrote:
: : I read through the news group and find some mention there is
: : a version Oracle for solaris x86. Then I go to
: : http://platforms.oracle.com/sun/index_sun.htm too.
: : Can anyone tell me the straight method to get it ?
: : I have already sent several mail to ask about that.
: : There is nothing return.
: : KK
: There is a version of Oracle for Solaris x86. Although it has
: not been available thru OTN. To which email ID have you been
: sending your questions?
: Regards
null -
Where can downloads oracle for solaris X86?
So that we may better diagnose DOWNLOAD problems, please provide the following information.
- Server name
- Filename
- Date/Time
- Browser + Version
- O/S + Version
- Error MsgBesides click the ContactOTN in web page to submit the question
about this to them, I follow the link
http://platforms.oracle.com/sun/index_sun.htm and click "Ask Us"
link to send message to them too.
Am I wrong ? Can you give me the correct way to ask the question
KK
jeamaro (guest) wrote:
: KK (guest) wrote:
: : I read through the news group and find some mention there is
: : a version Oracle for solaris x86. Then I go to
: : http://platforms.oracle.com/sun/index_sun.htm too.
: : Can anyone tell me the straight method to get it ?
: : I have already sent several mail to ask about that.
: : There is nothing return.
: : KK
: There is a version of Oracle for Solaris x86. Although it has
: not been available thru OTN. To which email ID have you been
: sending your questions?
: Regards
null -
Applying oracle patchset in oracle-dataguard environment
Hello There,
I wish to apply oracle patchset in oracle dataguard environment.
can you please let me know the steps that has to be taken on Primary & standby database?
is there any specific document for this?
DB - oracle 10.2.0.4
OS - Linxu x86_64
Best Regards
Sachin BhattHi Sachinn,
To patch primary site, you can find the detailed infirmation in readme.html, in the patch zip file. Additionally, at the standby site, In order to apply the patch;
1) stop the log shipment
2) stop the oracle related services
3) patch the Oracle
4) Startup migrate
5) execute the SQL scripts
6) start the log shipment
Check the link below;
http://dbaforums.org/oracle/index.php?showtopic=17398
Best regards,
Orkun Gedik -
New Oracle VM for x86 Reference Design
Greetings,
I've just posted an Oracle VM for x86 Reference Design at { *link removed* }
I'd welcome your comments about the Oracle VM for x86 Reference Design. For example, the comments that I've received has suggested that I add sections about Oracle Database Requirements, E-Business Suite Requirements, WebLogic / Fusion Middleware Requirements and Oracle Enterprise Manager Requirements.
Thank you,
Roddy
Moderator Edit: Posting such links is frowned upon as a probable violation of the Terms of Use that you agreed to when you joined these forums.
http://www.oracle.com/us/legal/terms/index.html
Using Oracle's prominent web presence to self-promote your site is, at the very least, considered a commercial spamming of the forums.
Stop doing it.
Edited by: rukbat on Apr 13, 2011 10:08 AMGreg,
That's a very good news !
And yes, according to the documentation several remarks have been taken in account (some I like during the App template first start), thanks for that.
At a first glance on the Peoplesoft OVM PSDB (the database template), there are still few minor issues :
1) As said earlier for the HCM template, CSS is not able to start (Failed to start CSS
2) More annoying, the DEFAULT profile for SYSADM and PEOPLE force a password change on the 23rd of August (180 days life, looks like the db has been built on the 24th of Feb). Is it possible to make it unlimited by default in the future template ? The DEFAULT profile was already a problem for HCM template as well. What will happen if template is started after that date ? Probably the appserv won't start without db modification (SYSADM and PEOPLE password life time
3) As said earlier for the HCM template, the database does not start automatically on server boot even if we choose that option during the first start of the db OVM.
I'll test the App/Batch/PIA sooni and come back.
Thanks again for the effort of implementing more Peoplesoft templates.
Nicolas.
Edited by: N Gasparotto on Aug 3, 2010 10:34 PM -
Anyone know when will Oracle VDI support Oracle VM Server x86?
Hi there.
Is there a roadmap or plan for Oracle VDI support Oracle VM server x86?
I think we need enterprise class(type-1) hypervisor.
DH,I dont think its in the roadmap because Oracle VM does not lend itself nicely to all the technology deeply embedded in Oracle VDI, namely, VRDP which is a proprietary remote desktop protocol Oracle VDI leverages to paint screens directly from a VirtualBox remote display session. The only thin Oracle VM (Xen) has close to this is the dated VNC protocol.
We went down this road early on, expecting Oracle VDI to integrate, but the more we learn about how Oracle VDI does things, the more it doesn't make sense to adapt Oracle VM Server to do this.
I don't know Oracles plans surrounding this (who does?) but it would seem it would take ALOT of work and redesign to make that happen, whereas they already acquired Oracle VDI (and VirtualBox) from their SUN acquisition. -
This is my first encounter installing oracle patches and i am having trouble finding an oracle patch.
I am running oracle enterprise version 10.2.0.1.0 -64 bit on windows server 2003 x86 standard edition.When i search into metalink for patchsets it returns no patches.I did found a patch which is for OS versions 64 bit win 2003 Datacenter and Enterprise editions.
Anyone please help me find the same for win 2003 x64 Standard edition.
Thanks in advanceI did found a patch which is for OS versions 64 bit win 2003 Datacenter and Enterprise editions.What is the path file name? search this patch file name into metalink.oracle website. There must be a patch.
-
Hi,
look ( http://orcasoracle.blogspot.com/ ) at some statistics about the Patchsets of the Oracle 9.2 Database Server.
regards
CarlYes!
the problem is that .NET is availabe only on WinX Platforms.
I hve heared somethong of mono a .NET Framework on Linux/Unix.
But it's not only this base it's the question which tools/Patterns/Principials
they use to ensure high quality coding.
Carl -
hi masters,
i am using oracle 10g on RHEL5. i just tried to export the schema with expdp rather than conventional export.
for that i created a directory exp_dir in 'u01/app/oracle/oradata' ,grant create any directory to user which i want to export. created directory as "sys as sysdba".
grant read,write to user on directory.
taken the export with expdep.....
but in all this process i never see a directory created in specified folder.is the directory is virtual??? the exported dump says
Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
/u01/app/oracle/oradata/user.dmp
Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully completed at 14:56:37
where is the directory created????
thanks and regards
VDIf you create a directory using sql by pointing the physical directory in the OS level. When you use expdp or impdp, no need to remember the complete length of the path of physical structure (OS Level Directory), you may just need to use the the directory name. That's where your user dumpfiles and logfiles are generated.
Direcotry: schema_dir=/u01/oradata/expdp/schema
Ex: expdp userid/password dumpfile=schema.dmp directory=schema_dir logfile=schem.log ....
Here the dump and log files will be generated under "/u01/oradata/expdp/schema" directory.
Regards,
Sabdar Syed.
Maybe you are looking for
-
Trying to find out where Acrobat stores its temp files while creating/printing a new PDF and if it is possible to tell the program to use another location. My guess, and I could definitely be wrong, is that our Sys Admins have locked users from writ
-
My iphone 3GS does not have in General the place for software update and for some my apps it request that I do iOS5.1 but I cannot do it tell me how
-
I can not get my new iPad 3 to work with iPhoto The sort order is NOT date and NOT by name I have tried to change on iMac to date and then sync But nothing ocuurs on iPhoto - iPad3 How do I get a proper sort order for occasions? Anyone know?
-
P.O Pricing Condition Record
Hi Which Tcode to maintain the Purchase order condition record (Specifically for the Tax Condition). Rgds RG.
-
Montain lion update asking for 10.8?
Hi, I'm trying to update from OS X 10.6.8 to the new Mountain Lion. The package has downloaded but on opening it is advising the package needs version 10.8 to open... Please advise