Importing a dump of two Tablespaces
Hi,
I've got two tablespaces with a lot of tables in both. I have to import all those tables to another Oracle database. I would like to know what I have to do given the following information:
The source database has a user named HQ and two tablespaces named HQBase and HQPartitions. When I browse through the tables of the user HQ I can see tables from both tablespaces. (Does this mean the user HQ owns these tablespaces?). Do I have to have a user and tablespaces in the destination database named exactly the same as the ones in the source? Could someone please tell me what exactly I have to do in order to have everything the same in the destination database. What do I have to do prior to, during and after the import process. The IDEs I use are TOAD and PL/SQL developer.
Edited by: Mikail on 09.06.2011 22:03
Edited by: Mikail on 09.06.2011 22:03
Mikail wrote:
Hi,
I've got two tablespaces with a lot of tables in both. I have to import all those tables to another Oracle database. I would like to know what I have to do given the following information:
The source database has a user named HQ and two tablespaces named HQBase and HQPartitions. When I browse through the tables of the user HQ I can see tables from both tablespaces. (Does this mean the user HQ owns these tablespaces?).No, tablesoaces and schema are independent things.Schema is owner of its objects,but objects which located one tablespace can belong more than one schemas.
Do I have to have a user and tablespaces in the destination database named exactly the same as the ones in the source? Could someone please tell me what exactly I have to do in order to have everything the same in the destination database. What do I have to do prior to, during and after the import process. The IDEs I use are TOAD and PL/SQL developer.
You can create these two tablesaces in source database but this do not need.So you can use REMAP_TABLESPACE option of IMPDP and can solve your question.
Similar Messages
-
hi gems..
i have a expdp dump of a schema and then tried to import that dump using the impdp command.
the import worked but two tables got failed. those two tables have partitions and subpartitions.
i use the command
impdp touser/password@sid directory=dmpdir dumpfile=dumpfile.dmp logfile=logfile.log remap_schema=(fromuser:touser) PARTITION_OPTIONS=MERGE
the error code is:
ORA-39083: Object type CONSTRAINT failed to create with error:
ORA-01741: illegal zero-length identifier
Failing sql is:
ALTER TABLE "TOUSER"."TABLE1" ADD CONSTRAINT "CONSTRAINT_NAME" PRIMARY KEY ("COL1", "COL2", "COL3", "COL4", "COL5") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) LOCAL (PARTITION "P1" TABLESPACE "" ( SUBPARTITION "SYS_SUBP21" TABLESORA-39083: Object type CONSTRAINT failed to create with error:
ORA-01741: illegal zero-length identifier
Failing sql is:
ALTER TABLE "TOUSER"."TABLE1" ADD CONSTRAINT "CONSTRAINT_NAME" PRIMARY KEY ("COL1", "COL2", "COL3", "COL4", "COL5") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) LOCAL (PARTITION "P1" TABLESPACE "" ( SUBPARTITION "SYS_SUBP21" TABLES
Error: ORA 1741
Text: illegal zero-length identifier
Cause: An attempt was made to use two double quotes ("") as an identifier.
An identifier must be at least one character long.
Action: Insert at least one character between the double quotes in the
identifier.
If a blank identifier is required, specify a blank space between the
double quotes (" ").If you see the above statement, there is blank value,
LOCAL (PARTITION "P1" TABLESPACE ""
TABLESPACE "" remove this (or) put a valid name and reexecute manually. -
Error while importing a dump file in my local database
Hi,
I have a dump file named *"system_21Sep2010_DVSD.DMP"* which i'm trying to import in my local database named *"nandita1"*.
The dump file is found under the following path *"C:\DevSuiteHome_1\BIN"* and i executed the following command for importing the dump file:
C:\DevSuiteHome_1\BIN>imp system/system@nandita1 FILE=system_21Sep2010_DVSD.DMP FULL=YES
I'm getting the following error while importing the dump file:
Import: Release 10.1.0.4.2 - Production on Wed Oct 6 16:25:37 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
IMP-00015: following statement failed because the object already exists:
"CREATE UNDO TABLESPACE "UNDOTBS1" BLOCKSIZE 8192 DATAFILE '/oradata_dev/DV"
"SD/undotbs01.dbf' SIZE 104857600 AUTOEXTEND ON NEXT 5242880 MAXSIZE "
"32767M EXTENT MANAGEMENT LOCAL "
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "SYSAUX" BLOCKSIZE 8192 DATAFILE '/oradata_dev/DVSD/sysa"
"ux01.dbf' SIZE 367001600 AUTOEXTEND ON NEXT 10485760 MAXSIZE 32767M "
"EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANA"
"GEMENT AUTO"
IMP-00015: following statement failed because the object already exists:
"CREATE TEMPORARY TABLESPACE "TEMP" BLOCKSIZE 8192 TEMPFILE '/oradata_dev/D"
"VSD/temp01.dbf' SIZE 20971520 AUTOEXTEND ON NEXT 655360 MAXSIZE 3276"
"7M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576"
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "USERS" BLOCKSIZE 8192 DATAFILE '/oradata_dev/DVSD/users"
"01.dbf' SIZE 5242880 AUTOEXTEND ON NEXT 1310720 MAXSIZE 32767M EXTEN"
"T MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMEN"
"T AUTO"
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "XX_DATA" BLOCKSIZE 8192 DATAFILE '/oradata_dev/DVSD/XX_"
"DATA01.dbf' SIZE 140509184 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767M"
" EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT "
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "XX_INDEX" BLOCKSIZE 8192 DATAFILE '/oradata_dev/DVSD/XX"
"_INDEX.dbf' SIZE 93323264 AUTOEXTEND ON NEXT 1048576 MAXSIZE 32767M "
"EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT "
IMP-00015: following statement failed because the object already exists:
"CREATE PROFILE "MONITORING_PROFILE" LIMIT COMPOSITE_LIMIT DEFAULT SESSIONS_"
"PER_USER DEFAULT CPU_PER_SESSION DEFAULT CPU_PER_CALL DEFAULT LOGICAL_READS"
"_PER_SESSION DEFAULT LOGICAL_READS_PER_CALL DEFAULT IDLE_TIME DEFAULT CONNE"
"CT_TIME DEFAULT PRIVATE_SGA DEFAULT FAILED_LOGIN_ATTEMPTS UNLIMITED PASSWOR"
"D_LIFE_TIME DEFAULT PASSWORD_REUSE_TIME DEFAULT PASSWORD_REUSE_MAX DEFAULT "
"PASSWORD_LOCK_TIME DEFAULT PASSWORD_GRACE_TIME DEFAULT"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "OUTLN" IDENTIFIED BY VALUES '4A3BA55E08595C81' TEMPORARY TABLE"
"SPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "TSMSYS" IDENTIFIED BY VALUES '3DF26A8B17D0F29F' DEFAULT TABLES"
"PACE "USERS" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "ANONYMOUS" IDENTIFIED BY VALUES 'anonymous' DEFAULT TABLESPACE"
" "SYSAUX" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "OLAPSYS" IDENTIFIED BY VALUES '3FB8EF9DB538647C' DEFAULT TABLE"
"SPACE "SYSAUX" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "MDDATA" IDENTIFIED BY VALUES 'DF02A496267DEE66' DEFAULT TABLES"
"PACE "USERS" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "SYSMAN" IDENTIFIED BY VALUES '28F72A3C2D75FDE9' DEFAULT TABLES"
"PACE "SYSAUX" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "MGMT_VIEW" IDENTIFIED BY VALUES '442167C25FAC883C' TEMPORARY T"
"ABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "SCOTT" IDENTIFIED BY VALUES 'F894844C34402B67' DEFAULT TABLESP"
"ACE "USERS" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
IMP-00015: following statement failed because the object already exists:
"CREATE USER "BUXXDDWA" IDENTIFIED BY VALUES '2672292A792DB64B' DEFAULT TABL"
"ESPACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "XXDDWA" IDENTIFIED BY VALUES 'F5C178B2796496F4' DEFAULT TABLES"
"PACE "XX_INDEX" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "BUXXDDWS" IDENTIFIED BY VALUES '06D47E0665132890' DEFAULT TABL"
"ESPACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "BUXXSUC" IDENTIFIED BY VALUES '1705C688518ADCDC' DEFAULT TABLE"
"SPACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "JIRAUSER" IDENTIFIED BY VALUES 'F0E1C662FCD1E09F' DEFAULT TABL"
"ESPACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "XXSFA" IDENTIFIED BY VALUES 'C3DFA37A29E072B6' DEFAULT TABLESP"
"ACE "XX_INDEX" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "XXDDW" IDENTIFIED BY VALUES 'CFF3D9B1B6C20DCC' DEFAULT TABLESP"
"ACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "XXDDWS" IDENTIFIED BY VALUES '9EF0EE1BAC5855C4' DEFAULT TABLES"
"PACE "XX_DATA" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE USER "XXSUC" IDENTIFIED BY VALUES '39594B53A6F1CED0' DEFAULT TABLESP"
"ACE "XX_INDEX" TEMPORARY TABLESPACE "TEMP""
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "SELECT_CATALOG_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "SELECT_CATALOG_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "EXECUTE_CATALOG_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "EXECUTE_CATALOG_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "DELETE_CATALOG_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "DELETE_CATALOG_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "RECOVERY_CATALOG_OWNER""
IMP-00015: following statement failed because the object already exists:
"REVOKE "RECOVERY_CATALOG_OWNER" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "GATHER_SYSTEM_STATISTICS""
IMP-00015: following statement failed because the object already exists:
"REVOKE "GATHER_SYSTEM_STATISTICS" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "LOGSTDBY_ADMINISTRATOR""
IMP-00015: following statement failed because the object already exists:
"REVOKE "LOGSTDBY_ADMINISTRATOR" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "AQ_ADMINISTRATOR_ROLE""
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "AQ_USER_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "AQ_USER_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "GLOBAL_AQ_USER_ROLE" IDENTIFIED GLOBALLY "
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "SCHEDULER_ADMIN""
IMP-00015: following statement failed because the object already exists:
"REVOKE "SCHEDULER_ADMIN" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "HS_ADMIN_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "HS_ADMIN_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "AUTHENTICATEDUSER""
IMP-00015: following statement failed because the object already exists:
"REVOKE "AUTHENTICATEDUSER" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "OEM_ADVISOR""
IMP-00015: following statement failed because the object already exists:
"REVOKE "OEM_ADVISOR" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "OEM_MONITOR""
IMP-00015: following statement failed because the object already exists:
"REVOKE "OEM_MONITOR" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "WM_ADMIN_ROLE""
IMP-00015: following statement failed because the object already exists:
"REVOKE "WM_ADMIN_ROLE" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVAUSERPRIV""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVAUSERPRIV" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVAIDPRIV""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVAIDPRIV" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVASYSPRIV""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVASYSPRIV" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVADEBUGPRIV""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVADEBUGPRIV" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "EJBCLIENT""
IMP-00015: following statement failed because the object already exists:
"REVOKE "EJBCLIENT" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVA_ADMIN""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVA_ADMIN" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "JAVA_DEPLOY""
IMP-00015: following statement failed because the object already exists:
"REVOKE "JAVA_DEPLOY" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "CTXAPP""
IMP-00015: following statement failed because the object already exists:
"REVOKE "CTXAPP" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "XDBADMIN""
IMP-00015: following statement failed because the object already exists:
"REVOKE "XDBADMIN" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "XDBWEBSERVICES""
IMP-00015: following statement failed because the object already exists:
"REVOKE "XDBWEBSERVICES" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "OLAP_DBA""
IMP-00015: following statement failed because the object already exists:
"REVOKE "OLAP_DBA" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "OLAP_USER""
IMP-00015: following statement failed because the object already exists:
"REVOKE "OLAP_USER" FROM SYSTEM"
IMP-00015: following statement failed because the object already exists:
"CREATE ROLE "MGMT_USER""
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "MVIEW$_ADVSEQ_GENERIC" MINVALUE 1 MAXVALUE 4294967295 INCR"
"EMENT BY 1 START WITH 1 CACHE 50 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "MVIEW$_ADVSEQ_ID" MINVALUE 1 MAXVALUE 4294967295 INCREMENT"
" BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "LOGMNR_EVOLVE_SEQ$" MINVALUE 1 MAXVALUE 999999999999999999"
"999999999 INCREMENT BY 1 START WITH 1 CACHE 20 ORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "LOGMNR_SEQ$" MINVALUE 1 MAXVALUE 9999999999999999999999999"
"99 INCREMENT BY 1 START WITH 1 CACHE 20 ORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "LOGMNR_UIDS$" MINVALUE 1 MAXVALUE 999999999999999999999999"
"999 INCREMENT BY 1 START WITH 100 CACHE 20 ORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_FLAVORS_S" MINVALUE -2147483647 MAXVALUE 214748364"
"7 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_FLAVOR_NAME_S" MINVALUE 1 MAXVALUE 999999999999999"
"999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_REPPROP_KEY" MINVALUE 1 MAXVALUE 99999999999999999"
"9999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT_LOG_SEQUENCE" MINVALUE 1 MAXVALUE 99999999999999999"
"9999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_REFRESH_TEMPLATES_S" MINVALUE 1 MAXVALUE 999999999"
"999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_USER_AUTHORIZATIONS_S" MINVALUE 1 MAXVALUE 9999999"
"99999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_TEMPLATE_REFGROUPS_S" MINVALUE 1 MAXVALUE 99999999"
"9999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_TEMPLATE_OBJECTS_S" MINVALUE 1 MAXVALUE 9999999999"
"99999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_TEMPLATE_PARMS_S" MINVALUE 1 MAXVALUE 999999999999"
"999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_USER_PARM_VALUES_S" MINVALUE 1 MAXVALUE 9999999999"
"99999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_TEMPLATE_SITES_S" MINVALUE 1 MAXVALUE 999999999999"
"999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_TEMP_OUTPUT_S" MINVALUE 1 MAXVALUE 999999999999999"
"999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_RUNTIME_PARMS_S" MINVALUE 1 MAXVALUE 9999999999999"
"99999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "TEMPLATE$_TARGETS_S" MINVALUE 1 MAXVALUE 99999999999999999"
"9999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "REPCAT$_EXCEPTIONS_S" MINVALUE 1 MAXVALUE 9999999999999999"
"99999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE"
. importing OLAPSYS's objects into OLAPSYS
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "OLAP_ID_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999"
"99 INCREMENT BY 1 START WITH 122 NOCACHE NOORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "OLAP_IRID" MINVALUE 1 MAXVALUE 999999999999999999999999999"
" INCREMENT BY 1 START WITH 24 NOCACHE ORDER NOCYCLE"
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "CWM2_OLAP_ENABLESEQ" MINVALUE 1 MAXVALUE 9999 INCREMENT BY"
" 1 START WITH 1 NOCACHE ORDER CYCLE"
I've been waiting for hours, but still it is blocked at the same place, that is:
IMP-00015: following statement failed because the object already exists:
"CREATE SEQUENCE "CWM2_OLAP_ENABLESEQ" MINVALUE 1 MAXVALUE 9999 INCREMENT BY"
" 1 START WITH 1 NOCACHE ORDER CYCLE"
I've tried recreating the database, but still the error is the same.
I've tried including the ignore=Y, that is:
C:\DevSuiteHome_1\BIN>imp system/system@nandita1 FILE=system_21Sep2010_DVSD.DMP
FULL=YES IGNORE=YES
The error generated is as displayed below:
Import: Release 10.1.0.4.2 - Production on Wed Oct 6 16:34:04 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing OLAPSYS's objects into OLAPSYS
Over here also, i had to kill the process since it was blocked at the following statement: ". importing OLAPSYS's objects into OLAPSYS"
Please can someone help me out.
Thanking in advancedplzzzzzzzzzzzzzzzzz.............sme1 help me out
-
Error during installation of SAP SOL MAN 4.0 on SuSE (Import Java Dump)
Hello everyone
I' m trying to install SAP Solution Manager 4.0 on SuSE 9.1 (I know that it is not SAP recommended but I verified all the kernel & package prerequisites needed).
I' m running a Central Instance Installation with Oracle which is currently at step 19 (Import java dump) where it crashes with the following error (as it is record in jload.java.log):
<i>Aug 22, 2006 1:28:32 PM com.sap.inst.jload.Jload main
INFO: Jload -sec SSM,jdbc/pool/SSM,/usr/sap/SSM/SYS/global/security/data/SecStore.properties,/usr/sap/SSM/SYS/global/security/data/SecStore.key -dataDir /home/tp/smb/synfs/sapinst/ssm-java/JAVA_EXPORT/JDMP -job /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/IMPORT.XML -log jload.log
Aug 22, 2006 1:28:43 PM com.sap.inst.jload.db.DBConnection connectViaSecureStore
INFO: connected to SSM on jdbc/pool/SSM
Aug 22, 2006 1:28:45 PM com.sap.inst.jload.JobStatus readStatus
INFO: trying to read status file /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/IMPORT.sta
Aug 22, 2006 1:28:46 PM com.sap.inst.jload.JobStatus readStatus
INFO: commencing restart
Aug 22, 2006 1:28:48 PM com.sap.inst.jload.Jload dbImport
INFO: trying to delete from table J2EE_CONFIGENTRY
Aug 22, 2006 1:28:52 PM com.sap.inst.jload.Jload dbImport
INFO: J2EE_CONFIGENTRY deleted
Aug 22, 2006 1:32:10 PM com.sap.inst.jload.Jload logStackTrace
<b>SEVERE: java.io.IOException: Not enough files</b>, skip(533947162) failed
at com.sap.inst.jload.io.SplitInputStream.skip(SplitInputStream.java:368)
at com.sap.inst.jload.io.SplitInputStream.close(SplitInputStream.java:193)
at com.sap.inst.jload.io.ChoppedInputStream.close(ChoppedInputStream.java:61)
at java.io.BufferedInputStream.close(BufferedInputStream.java:398)
at java.io.FilterInputStream.close(FilterInputStream.java:159)
at com.sap.inst.jload.io.DataFile.closeDataInputStream(DataFile.java:169)
at com.sap.inst.jload.db.DBTable.load(DBTable.java:301)
at com.sap.inst.jload.Jload.dbImport(Jload.java:323)
at com.sap.inst.jload.Jload.executeJob(Jload.java:397)
at com.sap.inst.jload.Jload.main(Jload.java:621)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Aug 22, 2006 1:32:11 PM com.sap.inst.jload.db.DBConnection disconnect
INFO: disconnected</i>
I have searched the forums for this problem and I didn't find something about the specific crash (not enough files...) although I see that it is something common for the VM to crash at that step for various other reasons...
I use jdk-1.4.2_12 but I have also tried jdk-1.4.2_09 and jdk-1.4.2_08 (as recommended in some articles) with no success.
My hardware platform is a compaq 6500 server with 1GB RAM, 52GB disk space, 1GB swap.
Currently (after db creation & ABAP loading) the remaining free disk space is 6GB (enough I think to complete the installation). The java and oracle processes seem to fit with no problem in the current resource limits (memory + swap).
I don't think that it is a resource limit problem (user limits - file descriptors & processes - have been defined as needed). I have read that it might be a JDBC Oracle driver problem but I have already patched Oracle to 10.2.0.2...
I would very much appreciate any of your ideas, as my installation is stuck there...Hello Matthias. At first, thanks for your answer.
I don't think that what you mention is the problem cause the kernel parameters are set up accordingly. Here is my sysctl.conf:
<i>kernel.shmall = 2097152
kernel.shmmax = 2313682943
kernel.shmmni = 4096
kernel.sem = 250 32000 100 1024
kernel.msgmni = 1024
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144</i>
As for the currently open files this is what I get when I
<i>cat /proc/sys/fs/file-nr
2550 0 65536</i>
And as for current user limits for file descriptors
<i>ulimit -n
65536
</i>
As for oracle I don't get an error ORA-1118 that would declare that something happens with oracle file limits. Anyway in my control files there is
MAXDATAFILES = db_files = 254 while the database has only 19 files for the corresponding SAP tablespaces
Anyway I keep trying... Any other ideas? -
Problem when import a dump file to a database.
Hi.
I created the tablespace as following:
CREATE TABLESPACE BDS_L_DATA datafile '/local/target/oracle/data/orcl/l_data.dbf'
size 100M
autoextend on maxsize unlimited ;
I'm new to Oracle and trying to import a dump to a database and got this error.
Please help me to fix this problem:
IMP-00003: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 48 in tablespace BDS_L_DATA
IMP-00017: following statement failed with ORACLE error 1659:
"CREATE TABLE "AUDIT_LOG" ("ACL_SYS_ID" NUMBER NOT NULL ENABLE, "ACL_CREATE_"
"TS" DATE NOT NULL ENABLE, "ACL_CREATE_UI" VARCHAR2(15) NOT NULL ENABLE, "AC"
"L_ACTION_CD" CHAR(1) NOT NULL ENABLE, "ACL_TABLE_NM" VARCHAR2(30) NOT NULL "
"ENABLE, "ACL_COLUMN_NM" VARCHAR2(30), "ACL_PRIMARY_KEY_TX" VARCHAR2(250), ""
"ACL_PRIMARY_KEY2_TX" VARCHAR2(250), "ACL_PRIMARY_KEY3_TX" VARCHAR2(250), "A"
"CL_PRIMARY_KEY4_TX" VARCHAR2(250), "ACL_PRIMARY_KEY5_TX" VARCHAR2(250), "AC"
"L_PRIMARY_KEY6_TX" VARCHAR2(250), "ACL_PRIMARY_KEY7_TX" VARCHAR2(250), "ACL"
"_PRIMARY_KEY8_TX" VARCHAR2(250), "ACL_PRIMARY_KEY9_TX" VARCHAR2(250), "ACL_"
"PRIMARY_KEY10_TX" VARCHAR2(250), "ACL_BEFORE_DATA_SNPSHT_TX" VARCHAR2(2000)"
", "ACL_AFTER_DATA_SNPSHT_TX" VARCHAR2(2000), "ACL_REQUEST_TS" DATE, "ACL_RE"
"QUESTOR_UI" VARCHAR2(15)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 ST"
"ORAGE(INITIAL 52428800 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "BDS_L_DAT"
"A" LOGGING NOCOMPRESS"
ThanksThanks for the quick response. However, It wasn't what i asked.
I like to addfile to the tablespace as you said.
What's the command?
I did like this:
ALTER TABLESPACE BDS_L_DATA ADD datafile '/local/target/oracle/data/orcl/l_data1.dbf' size 4M AUTOEXTEND ON;
Still got error about tablespace:
IMP-00017: following statement failed with ORACLE error 1659:
"CREATE TABLE "DTC_INSTR_ACTVY" ("SEC_CUSIP_NO" VARCHAR2(9) NOT NULL ENABLE,"
" "DAC_ACCT_ID" VARCHAR2(12) NOT NULL ENABLE, "ACC_DEALER_ID" VARCHAR2(6) NO"
"T NULL ENABLE, "DIA_RECORD_DT" DATE NOT NULL ENABLE, "STY_SEC_TY_CD" VARCHA"
"R2(6) NOT NULL ENABLE, "DIA_ORIG_AVAIL_PAR_VL" NUMBER(17, 2) NOT NULL ENABL"
"E, "DIA_COLLAT_PAR_VL" NUMBER(17, 2) NOT NULL ENABLE, "DIA_PAY_PAR_VL" NUMB"
"ER(17, 2) NOT NULL ENABLE, "DIA_CREATE_TS" DATE NOT NULL ENABLE, "DIA_CREAT"
"E_UI" VARCHAR2(15) NOT NULL ENABLE, "DIA_UPDATE_TS" DATE, "DIA_UPDATE_UI" V"
"ARCHAR2(15), "DIA_SCHED_PAY_DT" DATE, "DIA_CALC_SHARE_QY" NUMBER(21, 6), "D"
"IA_INT_AM" NUMBER(17, 2), "DIA_INT_RT" NUMBER(14, 10), "DIA_PRINCIPAL_AM" N"
"UMBER(17, 2), "DIA_PRINCIPAL_RT" NUMBER(14, 10), "DIA_ACTION_CD" VARCHAR2(1"
"), "DIA_ACTVY_TY" VARCHAR2(3), "ACC_SOURCE_SYS_CD" VARCHAR2(3)) PCTFREE 10"
" PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 52428800 FREELISTS 1 FR"
"EELIST GROUPS 1) TABLESPACE "BDS_L_DATA" LOGGING NOCOMPRESS"
IMP-00003: ORACLE error 1659 encountered
ORA-01659: unable to allocate MINEXTENTS beyond 20 in tablespace BDS_L_DATA
And i got another error from the import job as well:
ORA-06564: object XTBL_DAT_DIR does not exist.
Anybody knows what the object XTBL_DAT_DIR is? -
Solution Manager 7.1 Step 19 Import Java Dump stopped.
Hi collegues, we are installing SolMan 7.1 under Solaris 10, Oracle 11.2.0.2.
Sapinst in step 19 Import Java Dump stop, it seems that can't connect with DB, DB it's started and also listener.
Dec 28, 2011 2:26:29 AM com.sap.inst.dbtools [Thread[main,5,main]] Info: Executing batch. Rows inserted : 64, lob size : 94915222
Dec 28, 2011 2:27:15 AM com.sap.inst.dbtools [Thread[main,5,main]] Info: Executing batch. Rows inserted : 3, lob size : 106195204
Dec 28, 2011 2:28:04 AM com.sap.inst.dbtools [Thread[main,5,main]] Error: DB Error during import of J2EE_CONFIGENTRY
As the problem is just after import J2EE_CONFIGENTRY, I just applied recommendations of Sapnote:
Note 1173398 - jload export fails with OutOfMemoryException
If the problem occurs during a sapinst run (systemcopy for example), stop the sapinst, and edit control.xml.
Search for the line
var jloadHeap = "-Xmx1024m";
and replace it by
var jloadHeap = "-Xmx1540m";
(In my case fixed to -Xmx2048m)
Save control.xml.
Restart sapinst.
It doesn't work, the same error occurs.
R3trans -d also it's wrong, the same error occurs:
4 ETW000 [dev trc ,00000] Assigning server context 102aa6b28 to service context 102aa3398 35711 0.092247
4 ETW000 [dev trc ,00000] OCIHandleAlloc(OCI_HTYPE_SESSION, con=0, usrhp=102b04bc0) 151 0.092398
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con=0, usr='/',svc=102aa3398, srv=102aa6b28, usr=102b04bc0)
4 ETW000 40 0.092438
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 3765 0.096203
4 ETW000 [dev trc ,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1034: 137 0.096340
4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 34 0.096374
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 SVR4 Error: 2: No such file or directory
4 ETW000 [dev trc ,00000] server_detach(con=0,stale=1,srvhp=102aa6b28) 46 0.096420
4 ETW000 [dev trc ,00000] Detaching from DB Server (con=0,svchp=102aa3398,srvhp=102aa6b28) 30 0.096450
4 ETW000 [dev trc ,00000] Deallocating server context handle 102aa6b28 from con=0 216 0.096666
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1034' 65 0.096731
4 ETW000 [dev trc ,00000] set_ocica() -> SQL error code 1034 17066 0.113797
4 ETW000 [dev trc ,00000] -->oci_get_errmsg (con=0, rc=1034) 41 0.113838
4 ETW000 [dev trc ,00000] OCIErrorGet -> SQL error code: 1034 101 0.113939
4 ETW000 [dev trc ,00000] ORA-01034: ORACLE not available 36 0.113975
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 SVR4 Error: 2: No such file or directory
4 ETW000 [dev trc ,00000] SAPUSER or connect error 99=DBSL_ERR_DB, oerr=1034. 51 0.114026
4 ETW000 [dev trc ,00000] DbSlConnect(con=-1) -> orc=0, 99=DBSL_ERR_DB 30 0.114056
4 ETW000 [dblink ,00000] ***LOG BY2=>sql error 1034 performing CON 7411 0.121467
4 ETW000 [dblink ,00000] ***LOG BY0=>ORA-01034: ORACLE not available 61 0.121528
4 ETW000 ORA-27101: shared memory realm does not exist
4 ETW000 SVR4 Error: 2: No such file or directory
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'SMP'"
jload.log
WARNING 2011-12-28 13:02:06.671
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/j2sdk/bin/java -classpath /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -showversion -Xmx1024m -d64 com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/install/lib/iaik_jce.jar:/tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar -sec SMP,jdbc/pool/SMP,/usr/sap/SMP/SYS/global/security/data/SecStore.properties,/usr/sap/SMP/SYS/global/security/data/SecStore.key -dataDir /net/nashville2/vol/volSAP/SAP_SW/Instalaciones/SolutionManager71/D51040039_SolutionManager_71_JavaBasedSWComp/DATA_UNITS/SOLMAN_JAVA_EXPORT_JDMP -job /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/IMPORT.XML -log jload.log" finished with return code 1. Output:
java version "1.4.2_32"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_32-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_32-b03, mixed mode)
Jload R 7.12 V 0 A 0
Jload -sec SMP,jdbc/pool/SMP,/usr/sap/SMP/SYS/global/security/data/SecStore.properties,/usr/sap/SMP/SYS/global/security/data/SecStore.key -dataDir /net/nashville2/vol/volSAP/SAP_SW/Instalaciones/SolutionManager71/D51040039_SolutionManager_71_JavaBasedSWComp/DATA_UNITS/SOLMAN_JAVA_EXPORT_JDMP -job /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS/IMPORT.XML -log jload.log
Connecting to database
Couldn't connect to DB
com.sap.inst.common.exception.DBConnectionException: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
at com.sap.inst.common.db.DBConnection.connect(DBConnection.java:157)
at com.sap.inst.jload.Jload.main(Jload.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:294)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:358)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:166)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.common.db.DBConnection.connectViaSecureStore(DBConnection.java:111)
at com.sap.inst.common.db.DBConnection.connect(DBConnection.java:151)
... 6 more
An error occured during execution. Please consult SAP note 942766 for first steps on troubleshooting the problem.
Any idea?
Best regards.
Jose Angel HerranzThanks collegues, there was a problem with link to listner, I retry and continue, but know there is another problem:
28-dic-2011 17:08:45 com.sap.inst.common.size.provider.OraObjectSizeProvider getTableSizesFromDb
INFO: Calculated size for table J2EE_CONFIGENTRY : 1744830464
Trying to create table JCS_MONMESSAGE0
com.sap.dictionary.database.dbs.JddRuntimeException: Table JCS_MONMESSAGE0 could not be created in database.
Version: dev 19.03.2010 19:30:00
Protocol:
17:08:45 2011-12-28 dbs-Info: <<< Begin of phase: Analysis
17:08:45 2011-12-28 dbs-Info: <<< Analyze table JCS_MONMESSAGE0 >>>
17:08:45 2011-12-28 ora-Info: Table JCS_MONMESSAGE0 not found on DB
17:08:45 2011-12-28 dbs-Info: Action: CREATE
17:08:45 2011-12-28 dbs-Info: <<< End of phase: Analysis
17:08:45 2011-12-28 dbs-Info: <<< Begin of phase: Execution of statements
17:08:45 2011-12-28 dbs-Info: <<< Modify JCS_MONMESSAGE0 >>>
E R R O R ******* (DbSqlStatement dev 19.03.2010 19:30:00)
17:08:46 2011-12-28 dbs-Error: Exception caught during SQL execution ORA-00604: se ha producido un error a nivel 1 de SQL recursivo
ORA-01655: no se ha podido ampliar el cluster SYS.C_COBJ# con 128 en el tablespace SYSTEM
CREATE TABLE "JCS_MONMESSAGE0"
"A_UNIQUEID" NUMBER(19) NOT NULL,
"A_TYPE" NUMBER(19) NOT NULL,
"A_OBJECTID" NUMBER(19) NOT NULL,
"A_OBJTYPEHASH" NUMBER(19) NOT NULL,
"A_FIELDNAMEHASH" NUMBER(19) ,
"A_STRINGVALUE" NVARCHAR2(1024) ,
"A_NUMBERVALUE" DECIMAL(31,7) ,
"A_LONGVALUE" NUMBER(19) ,
"A_OBJDELETED" NVARCHAR2(1) DEFAULT 'f' NOT NULL,
"A_MONOBJID" NUMBER(19) ,
"A_PARENTID" NUMBER(19) ,
"A_CREATEDTS" NUMBER(19) DEFAULT 0 NOT NULL,
"A_LASTMODIFTS" NUMBER(19) ,
"F_CRTIMEZONE" NUMBER(19) ,
"F_LASTMODSUB" NUMBER(19) ,
"A_LLPVERSION" NUMBER(19) DEFAULT 0 NOT NULL,
"A_BEHAVIOUR" NUMBER(19) DEFAULT 0 NOT NULL
E R R O R ******* (DbModifier dev 19.03.2010 19:30:00)
17:08:46 2011-12-28 dbs-Error: Statements could not be executed
17:08:46 2011-12-28 dbs-Info: <<< End of phase: Execution of statements
17:08:46 2011-12-28 dbs-Info: Analysis and adjustment of tables finished with errors
at com.sap.dictionary.database.opentools.DbTableOpenTools.createTable(DbTableOpenTools.java:90)
at com.sap.dictionary.database.opentools.DbTableOpenTools.createTable(DbTableOpenTools.java:69)
at com.sap.inst.jload.db.opentools.DbTableOpenTools.createTable(DbTableOpenTools.java:21)
at com.sap.inst.jload.db.DBTable.createObject(DBTable.java:61)
at com.sap.inst.jload.db.AbstractDBObject.create(AbstractDBObject.java:101)
at com.sap.inst.jload.executor.JobExecutor.dbImport(JobExecutor.java:327)
at com.sap.inst.jload.executor.JobExecutor.executeJob(JobExecutor.java:766)
at com.sap.inst.jload.Jload.main(Jload.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
An error occured during execution. Please consult SAP note 942766 for first steps on troubleshooting the problem.
root@napa # -
Hi ,
Database has been locally created .We have received an intial database dump from our client to load in this new server .According to the client a seperate tablespace is needed house this database .Since iam new to import , could pls let me know how to do this .Or is there any documents avail for import utilityHi,
First create new tablespace and then create new user and assign that user to the tablespace created before
next step try run this
imp system/<password>@<tns> file=<file dmp> fromuser=<user that your client exported> touser=<user that you created>
Read this for complete reference
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm
cheers -
Import - error ORA-14519: Conflicting tablespace blocksizes
Hi all,
I have a user with only one partitioned table within tablespaces with 16k block size.
Another tables use default tablespace with 8k block size.
I've exported this user to dump file.
when I try to import this dump file, I got the following error:
ORA-14519: Conflicting tablespace blocksizes for table : Tablespace TS$DATA_LP_537 block size 16384 [subpartition specfi
cation] conflicts with previously specified/implied tablespace TBS_DATA_ADCSL7K block size 8192 [object-level default]How can I do to solve this?
I need to import with partitioned table.
Thanks!!!!
[]´sWhat's Oracle version?
Are you using original exp/imp or data pump.
You can dump out the DDL of this table from dump file, and see what it looks like.
You might consider precreate all 16K tablespaces that this table use.
ORA-14519: Conflicting tablespace blocksizes for string string: Tablespace string block size string [string] conflicts with previously specified/implied tablespace string block size string [string]
Cause: An attempt has been made to create a partitioned object in a manner that would require the partitioned object to span tablespaces of more than one block size.
Action: Ensure that all tablespaces specified in the DDL command for the given object as well as any tablespaces implicitly assigned to partitions or subpartitions of the object being created are all of the same block size. -
Error while importing a dump file in Oracle 10g R1
Hi all,
While trying to import a schema using Data Dump, I am facing the following issue -
UDI-00018 - Import utility version can not be more recent than the Data Dump server.
Following is the version information of the source and target DB and the utilities :
Source DB server : 10.1.0.2.0
Export utility : 10.1.0.2.0
Import utility : 10.1.0.2.0
Target DB server : 10.1.0.2.0
Export utility : 10.2.0.1.0
Import utility : 10.2.0.1.0
I can figure out the cause for the problem, but don't know how to resolve it.
Any help will be appreciated.
Thanks in advance.
Gitika KhuranaHow did you get thre DMP file created and how are you trying to import the dump file? Could you post the commands you're using, please?
-
SAP NW7.0 SR3 Java AddIn Installation failed at "Import Java dump"
Dear all,
I get an error at Java AddIn Installation SAP Netweaver 7.0 SR3
(Software Life-Cycle Option -> Java Add-In for ABAP -> Oracle ->
Central System ->)
The first installation step "Central Services Instance (SCS) Java Add-
In" I have installed it without errors.
The Installation failed at 2nd step "Database Instance Java Add-In" at phase 11
of 14 "Import java dump":
26.05.09 15:16:46 com.sap.inst.jload.Jload main
INFO: Jload -sec
Q2B,jdbc/pool/Q2B,/usr/sap/Q2B/SYS/global/security/data/SecStore.properties,/usr/sap/Q2B/SYS/global/security/
data/SecStore.key -
dataDir /usr/sap/swdc/51033513/DATA_UNITS/JAVA_EXPORT_JDMP -
job /tmp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN
/ORA/CENTRAL/DB/IMPORT.XML -log jload.log
26.05.09 15:16:47 com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
26.05.09 15:16:47 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: Io exception: The Network Adapter could
not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon
(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>
(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>
(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection
(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:801)
at
com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection
(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection
(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection
(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore
(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect
(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main
(OfflineToolStart.java:81)
the database is up and running, the Oracle Listener is also working well.
Any idea??
Thanks so much in advance!
Best Regards,
GerdHi Sunny, hi Markus!
many thanks for your hints!
I've just solved the problem. The problem was, our Listener was not configured correctly.
I've adjusted the listener.ora, tnsnames.ora to the correct hostname - cause, we had a hostname-switch last month and I had forgotten to adapt the Listener...
now the Listener is running as well:
mcho35au:oraq2b 120% lsnrctl status LISTENER_Q2B
LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 30-MAY-2009
09:52:48
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=Q2B.WORLD))
STATUS of the LISTENER
Alias LISTENER_Q2B
Version TNSLSNR for Solaris: Version 10.2.0.4.0 -
Production
Start Date 30-MAY-2009 09:52:15
Uptime 0 days 0 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/Q2B/102_64/network/admin/listener.ora
Listener Log
File /oracle/Q2B/102_64/network/log/listener_q2b.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B.WORLD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=Q2B)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mcho35au)(PORT=1527)))
Services Summary...
Service "Q2B" has 1 instance(s).
Instance "Q2B", status UNKNOWN, has 1 handler(s) for this service...
Service "Q2B.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
Service "Q2B_XPT.WORLD" has 1 instance(s).
Instance "Q2B", status READY, has 1 handler(s) for this service...
The command completed successfully
meanwhile the step "Import java dump" has finished successfully!
Thanks to all!
Best Regards,
Gerd
Edited by: Gerd Schuster on May 30, 2009 10:29 AM -
Error in Import Java Dump during installation on MSCS
Dear Experts,
I am facing the following the error during ECC 6 dual stack installation on MSCS.
PM com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
Apr 29, 2011 5:40:30 PM com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:395)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:166)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
I have successfully installed ASCS,SCS, and configured 1st MSCS node.
While installaing DB instance on 1st node SAPINST did not allow the physical host name of the node and gave the error oracle was not installed,install oracle before continuing so went ahead with the virtual hostname.I had faced oracle connectivity issues during import ABAP ,I changed the added the physical host name in listener.ora and continued.But durig the import java dump phase I guess the physical host name in expected in secure store key file.I can't edit the secure store file as config tool is not installed yet in the system.Please suggest me solutions and guide me whether I am going in the right direction.
Regards,
Dinakar
Edited by: mutnuru dinakar on Apr 30, 2011 10:22 AMI have successfully installed ASCS,SCS, and configured 1st MSCS node.
While installing DB instance on 1st node SAPINST did not allow the physical host name of the node and gave the error oracle was not installed,install oracle before continuing so went ahead with the virtual hostname.I had faced oracle connectivity issues during import ABAP ,I changed the added the physical host name in listener.ora and continued
The SAPINST should allow the physical host name to get chosen you should not get this error.
You have to first install the oracle DB and after that Oracle failsafe at both nodes ( not in parallel) . Further while doing the DB instance installation on first node the SAPCLUSTER and ORACLECLUSTER should be online.
Can you mark the steps you did in sequence.
Regards
Edited by: Singh Dharm on Apr 30, 2011 2:06 PM
Edited by: Singh Dharm on Apr 30, 2011 2:08 PM -
I am getting an error ORA-39143 when importing a dump file
I get ORA-39143: dump file "c:\oraload\expdat.dmp" may be an original export dump file
when importing a dump file created by 9.2 exp into 10.2 database using impdp
I need to use the impdp utility with the table_exists_action option which doesn't appear to exist in imp
What is the proper mix of versions/flags/options to export from a 9.2 database and import into an existing 10.2 database while replacing existing data?
thankswell its on the link i provided
"When tables are manually created before data is imported, the CREATE TABLE statement in the export dump file will fail because the table already exists. To avoid this failure and continue loading data into the table, set the import parameter IGNORE=y. Otherwise, no data will be loaded into the table because of the table creation error."
original import tries to append (insert)
there is no parameter here like table_exists_action=truncate/replace
1. drop all the tables (dynamic sql), so there will be no errors because of already existent tables
or
2. truncate all the tables (dynamic sql) + use IGNORE=Y
(or
3. drop the whole schema in target database, recreate it, then do the import) -
Importing a dump fails on Oracle 11g
Hi
I am trying to import a dump which was created from Oracle 10g version 10.2.0.3 TO Oracle 11g Release 11.1.0.6.0
Issue 1)
The command i am using is
imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world file=dmpersist.dmp full=y ignore=y
This command works fine on Oralce 10g(if i try to import the file to Oracle 10g) but fails on Oralce 11g with following error
"Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SYS, not by you
import done in US7ASCII character set and UTF8 NCHAR character set
import server uses UTF8 character set (possible charset conversion)
. importing SYS's objects into DMUSER_02
. importing DMPERSIST's objects into DMPERSIST
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist"
Issue 2)
If i use following command
imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world file=dmpersist.dmp fromuser=SYS touser=dmuser_02 ignore=y
I get error
import done in US7ASCII character set and UTF8 NCHAR character set
import server uses UTF8 character set (possible charset conversion)
Import terminated successfully without warnings.
Any info/pointers/help
from
nayeemIssue 1)
The command i am using is
imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world
file=dmpersist.dmp full=y ignore=y
. importing DMPERSIST's objects into DMPERSIST
IMP-00003: ORACLE error 1435 encountered
ORA-01435: user does not exist"Make sure user DMPERSIST exists. Oracle will not create user for you because it looks like this dump file is not from full expor but a schema level export.
>
Issue 2)
If i use following command
imp dmuser_02/dmuser_02@bnhpdb11_o11ut03.world
file=dmpersist.dmp fromuser=SYS touser=dmuser_02
ignore=y
I get error
import done in US7ASCII character set and UTF8
NCHAR character set
import server uses UTF8 character set (possible
charset conversion)
Import terminated successfully without warnings.
No issue here. The message looks totally normal. -
"SP2-0734: unknown command..." error while importing a dump file
hello,
i want to import a dump file into my database named orcl, and i come accross the same error after executing the import command. my import command is:
SQL> imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
i use oracle 10g enterprise edition.
i created the user mvdemo/mvdemo.
the error i see in my screen is:
SP2-0734: unknown command beginning "imp mvde..." - rest of line ignored.
for a long period of time, i havent used oracle dbms. before, i remember that i used enterprise manager in import/export processes. however, i am not able to find the enterprise manager in 10g options now. do i have to install the enterprise manager seperately in oracle 10g enterprise edition? may this problem be relational with this matter?
if someone could answer, i would be greatful.
best regardsImport is run from the command prompt, not the SQL prompt.
-
Error while Installing Nw04S SR2 Developer Workplace - Import Java Dump
Hi All,
Iam trying to install NW04S SR2 Developer Workplace.Iam getting error in 15 th step i.e Import Java Dump.
I have gone thru SDN threads and check the basic things like
Java Version,whether i can connect to database or not..
Iam using SQL Server 2005,Win XP.The database is fine.
Please find the log file content below and let me know how to resolve the problem.
J2E,jdbc/pool/J2E,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.properties,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.key -dataDir C:/NW04s/51032258\JAVA_EXPORT\JDMP -job "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MSSQL\IMPORT.XML" -log jload.log" finished with return code 1. Output:
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) Client VM (build 1.4.2_14-b05, mixed mode)
15-Apr-2009 15:31:22 com.sap.inst.jload.Jload main
INFO: Jload -sec J2E,jdbc/pool/J2E,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.properties,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.key -dataDir C:/NW04s/51032258\JAVA_EXPORT\JDMP -job C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MSSQL\IMPORT.XML -log jload.log
15-Apr-2009 15:31:51 com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
15-Apr-2009 15:31:51 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.sql.SQLException: [NWMss][SQLServer JDBC Driver]Error establishing socket to host and port: GBC7621C:1433. Reason: Connection refused: connect
at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.sap.nwmss.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.sap.nwmss.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.connect(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseConnection.open(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseDriver.connect(Unknown Source)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:522)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:276)
at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
at com.sap.inst.jload.Jload.main(Jload.java:580)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
ERROR 2009-04-15 15:31:52
CJS-30049 <html>Execution of JLoad tool 'C:\j2sdk1.4.2_14\bin\java.exe -classpath "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MSSQL\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/lib/iaik_jce.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/jload.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/antlr.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/exception.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/jddi.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/logging.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/offlineconfiguration.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/opensqlsta.jar;C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/install/sharedlib/tc_sec_secstorefs.jar;C:/usr/sap/J2E/SYS/exe/uc/NTI386/mssjdbc/base.jar;C:/usr/sap/J2E/SYS/exe/uc/NTI386/mssjdbc/util.jar;C:/usr/sap/J2E/SYS/exe/uc/NTI386/mssjdbc/sqlserver.jar;C:/usr/sap/J2E/SYS/exe/uc/NTI386/mssjdbc/spy.jar" -sec J2E,jdbc/pool/J2E,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.properties,
GBC7621C/sapmnt/J2E/SYS/global/security/data/SecStore.key -dataDir C:/NW04s/51032258\JAVA_EXPORT\JDMP -job "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MSSQL\IMPORT.XML" -log jload.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DEVWP/MSSQL/jload.java.log' for more information.</html>
ERROR 2009-04-15 15:31:52
FCO-00011 The step importJavaDump with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .
Thanks,
Anil.> 15-Apr-2009 15:31:51 com.sap.inst.jload.Jload main
> SEVERE: couldn't connect to DB
> 15-Apr-2009 15:31:51 com.sap.inst.jload.Jload logStackTrace
> SEVERE: java.sql.SQLException: [NWMss][SQLServer JDBC Driver]Error establishing socket to host and port: GBC7621C:1433. Reason: Connection refused: connect
as you see yourself the jload is unable to connect to the database.
Check that your firewall is properly configured and that the SQL Server agent is running.
Markus
Maybe you are looking for
-
Hello there, I have got a electricity/phone pole near where we live in Battle. Someone crashed into it last Friday evening and EDF contractor has replaced it, but BT have not been to reconnect 3 phones (our next doors, their neighbour's and ours) yet
-
Hi, I have the oracle table stored name with first letter of fname and lname are upper case like below Billon, Kelly Bito, Hideo From the search page i have text box for user to enter Lname or Fname to search the user. As you know orcale is case se
-
We are using Cisco ACS 4.1 for Windows RADIUS server, Windows 2003 PKI, 3750 access switch and Windows XP SP 3 workstations. Problem is that users with user certificate can loging successful by 802.1x. When user logs in without user certificate (but
-
Dowloading HTML page with picture like the IE save as function
Hi everyone, I would like to download a HTML page entirely ( path, pictures... ) like the IE save as function. Is it possible ? thanx
-
Creating JavaHelp and wanting HTML not HTM for file names
I am using RoboHelp 7 to generate JAvaHelp. But the generated JavaHelp files are in .htm. I want the help files to have the extension .html. How do i change this in RoboHelp? Can anyone help?