$ dbca -silent -createDatabase -templateName Transaction_Processing.dbc -gdbname rcat -sid rcat1 -datafileJarLocation /export/home/oracle/oracle/product/10.2.0/db/assistants/dbca/templates -datafileDestination /export/home/oracle/oracle/product/10.2.0/db/oradata -responseFile NO_VALUE -characterset CL8MSWIN1251
Copying database files
1% complete
3% complete
Showing posts with label oracle. Show all posts
Showing posts with label oracle. Show all posts
Wednesday, February 2, 2011
delete/add Oracle Home from Central Inventory
some times it happens...:
$ ./OPatch/opatch lsinv
Invoking OPatch 10.2.0.4.3
Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /export/home/oracle/oracle/product/10.2.0/db
Central Inventory : /u01/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.4.3
OUI version : 10.2.0.4.0
OUI location : /export/home/oracle/oracle/product/10.2.0/db/oui
Log file location : /export/home/oracle/oracle/product/10.2.0/db/cfgtoollogs/opatch/opatch2011-02-02_14-30-01PM.log
List of Homes on this system:
Home name= OraDb10g_home2, Location= "/d03/oracle/product/10.2.0/Db1"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
$ ./OPatch/opatch lsinv
Invoking OPatch 10.2.0.4.3
Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /export/home/oracle/oracle/product/10.2.0/db
Central Inventory : /u01/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.4.3
OUI version : 10.2.0.4.0
OUI location : /export/home/oracle/oracle/product/10.2.0/db/oui
Log file location : /export/home/oracle/oracle/product/10.2.0/db/cfgtoollogs/opatch/opatch2011-02-02_14-30-01PM.log
List of Homes on this system:
Home name= OraDb10g_home2, Location= "/d03/oracle/product/10.2.0/Db1"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
Solution:
Saturday, January 29, 2011
This database instance failed to turn on flashback database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/29/2011 00:40:41
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-38760: This database instance failed to turn on flashback database
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/29/2011 00:40:41
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-38760: This database instance failed to turn on flashback database
Solution:
Tuesday, November 23, 2010
Friday, September 24, 2010
b-tree index structure (Non-Unique)
First name kind of field based index. This is Non-Unique index.
How b-tree database indexes work and how to tell if they are efficient (100' level)
src
How b-tree database indexes work and how to tell if they are efficient (100' level)
src
Thursday, November 12, 2009
ORA-02304: invalid object identifier literal during Data Pump Import
Problem:
DPImport into production:
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal
Failing sql is:
CREATE TYPE "XXX1"."resource352_T" OID '6C5F1FBB7BE11FA7E0440003BA2D252E' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LIST_T","resourcename"
VARCHAR2(4000 CHAR),"resourceindex" VARCHAR2(4000 CHAR),"resourceclass" VARCHAR2(4000 CHAR),"resourceclassname" VARCHAR2(4000 CHAR),"string
" "string354_COLL","attribute" "attribute356_COLL")FINAL INSTANTIABLE
Description:
ORA-02304: invalid object identifier literal
Cause: An attempt was made to enter an object identifier literal for CREATE TYPE that is either:
- not a string of 32 hexadecimal characters
- an object identifier that already identifies an existing object
- an object identifier different from the original object identifier already assigned to the type
Solution:
use transform=oid:n
DPImport into production:
ORA-39083: Object type TYPE failed to create with error:
ORA-02304: invalid object identifier literal
Failing sql is:
CREATE TYPE "XXX1"."resource352_T" OID '6C5F1FBB7BE11FA7E0440003BA2D252E' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LIST_T","resourcename"
VARCHAR2(4000 CHAR),"resourceindex" VARCHAR2(4000 CHAR),"resourceclass" VARCHAR2(4000 CHAR),"resourceclassname" VARCHAR2(4000 CHAR),"string
" "string354_COLL","attribute" "attribute356_COLL")FINAL INSTANTIABLE
Description:
ORA-02304: invalid object identifier literal
Cause: An attempt was made to enter an object identifier literal for CREATE TYPE that is either:
- not a string of 32 hexadecimal characters
- an object identifier that already identifies an existing object
- an object identifier different from the original object identifier already assigned to the type
Solution:
use transform=oid:n
Labels:
invalid object identifier literal,
ORA-02304,
oracle
Subscribe to:
Posts (Atom)

