Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1140 connectés 

  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  oracle [11gr2] importer un dumpfile et logfile avec un datapump import

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

oracle [11gr2] importer un dumpfile et logfile avec un datapump import

n°2232473
mekus
Posté le 02-07-2014 à 15:56:33  profilanswer
 

bonjour à tous,
je voudrai importer un dumpfile vers user(joresenergizer) que j'ai crée et à qui j'ai donner les droits et le grant.
 
voilà le script que j'ai fais : impdp joresenergizer/cnps directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log  
remap_schema=energizer:joresenergizer remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP:JORES_TB
 
Sauf que ceci n'importe pas toutes les tables. il n'ya qu'une table qui est crée .
 
ci_dessous le message de mes 2 inerfaces:
 
-interface1  
 
 
C:\Users\stagiaires>impdp joresenergizer/cnps directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log remap_schema=energizer:joresenergizer
remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP:JORES_TB
 
Import: Release 11.2.0.2.0 - Beta on Mer. Juil. 2 14:10:17 2014
 
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
 
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Beta
Master table "JORESENERGIZER"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "JORESENERGIZER"."SYS_IMPORT_FULL_01":  joresenergizer/******** directory=jorespump dumpfile=jores11.dmp LOGFILE=jores11.log remap_schem
a=energizer:joresenergizer remap_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP
:JORES_TB
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE:"JORESENERGIZER"."JASSURE" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."JASSURE" ("NUM_ASSU" VARCHAR2(13 CHAR) NOT NULL ENABLE, "NOM_ASSU" VARCHAR2(60 CHAR), "PRENOM_ASSU" VARCHAR2(60 CH
AR), "DATE_NAISS_ASSU" DATE, "NOM_JEUNE_FILLE_ASSU" VARCHAR2(25 CHAR), "SEXE_ASSU" VARCHAR2(1 CHAR), "CIVILITE_ASSU" VARCHAR2(5 CHAR), "TEL_ASSU"
 VARCHAR2(20 CHAR), "FAX_ASSU" VARCHAR2(20 CHAR), "EMAIL_ASSU" VARCHA
ORA-39083: Object type TABLE:"JORESENERGIZER"."TCOMPTE_ASSURE" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."TCOMPTE_ASSURE" ("NUMERO_DIPE" NUMBER(5,0) NOT NULL ENABLE, "NUMERO_CONTRIB" VARCHAR2(20 CHAR) DEFAULT NULL, "MOIS
_DIPE" NUMBER(2,0) NOT NULL ENABLE, "MATRICULE_EMPL" VARCHAR2(17 CHAR) NOT NULL ENABLE, "REGIME" NUMBER(1,0) NOT NULL ENABLE, "ANNEE" NUMBER(4,0)
 NOT NULL ENABLE, "MATRICULE_ASS" VARCHAR2(13 BYTE) DEFAULT NU
ORA-39083: Object type TABLE:"JORESENERGIZER"."JEMPLOYEUR" failed to create with error:
ORA-00439: feature not enabled: Basic Compression
Failing sql is:
CREATE TABLE "JORESENERGIZER"."JEMPLOYEUR" ("NUM_EMPLOYEUR" VARCHAR2(17 CHAR) NOT NULL ENABLE, "RAISON_SOCIALE" VARCHAR2(200 CHAR), "SIGLE" VARCH
AR2(30 CHAR), "ADRESSE_EMPLOYEUR" VARCHAR2(100 CHAR), "BOITE_POSTALE" VARCHAR2(10 CHAR), "TEL" VARCHAR2(30 CHAR), "FAX" VARCHAR2(20 CHAR), "EMAIL
" VARCHAR2(50 CHAR), "CODE_ARROND" VARCHAR2(6 CHAR), "CODE_PAYS" V
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "JORESENERGIZER"."JASSURE_DELETE2"          2.096 GB 8114504 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT DELETE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JSAP' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JSAP"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'JETAT' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "JETAT"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT ALTER ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT DELETE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'NDJENG' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "NDJENG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SHWKF' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SHWKF"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SHCODEXIA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SHCODEXIA"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ERIC_NGAH' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ERIC_NGAH"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'ADMIN' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "ADMIN"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'SED' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "SED"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT INSERT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'MAYANA' does not exist
Failing sql is:
GRANT UPDATE ON "JORESENERGIZER"."JASSURE_DELETE2" TO "MAYANA"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'BIANG' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "BIANG"
 
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'TIAYA' does not exist
Failing sql is:
GRANT SELECT ON "JORESENERGIZER"."JASSURE_DELETE2" TO "TIAYA"
 
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."CIRCUIT_DOSSIEREM_FK_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   NV VARCHAR2(1);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';  stmt
 varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."JEMPLOYEUR_LIEUNAISS_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   NV VARCHAR2(1);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';  stmt
 varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
ORA-39083: Object type INDEX_STATISTICS failed to create with error:
ORA-20000: INDEX "ERIC_NGAH"."FK_CODENA_JEMPLOYEUR_IDX" does not exist or insufficient privileges
Failing sql is:
DECLARE I_N VARCHAR2(60);   I_O VARCHAR2(60);   NV VARCHAR2(1);   c DBMS_METADATA.T_VAR_COLL;   df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';  stmt
 varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',
6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/TRIGGER
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "JORESENERGIZER"."SYS_IMPORT_FULL_01" completed with 28 error(s) at 14:12:50
 
 
C:\Users\stagiaires>  
 
 
 
-interface2
 
 
SQL*Plus: Release 11.2.0.2.0 Beta on Mer. Juil. 2 14:13:32 2014
 
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
 
SQL> conn joresenergizer
Enter password:
Connected.
SQL> select table_name from user_tables;
 
TABLE_NAME
------------------------------
JASSURE_DELETE2
 
SQL> select count (*) from jassure_delete2;
 
  COUNT(*)
----------
   8114504
 
SQL>
 
 
vous voyez donc que toutes les tables n'ont pas été importé.
 
Que faire pour toutes les importer?
aidez moi SVP
Merci

mood
Publicité
Posté le 02-07-2014 à 15:56:33  profilanswer
 

n°2232490
xuan-khanh
...
Posté le 02-07-2014 à 16:50:30  profilanswer
 

Soit tu refais le dump, soit tu refais la base car la compression n'est dispos que pour l'enterprise edition.

n°2232508
mekus
Posté le 02-07-2014 à 19:10:39  profilanswer
 

le dump je ne peux pas le refaire.
on m'a juste donné le fichier dump.
Que veut tu dire par refaire la base?

n°2232510
mekus
Posté le 02-07-2014 à 19:18:37  profilanswer
 

si je cree la BD , faut il aussi que je cree le tablespaces??

n°2232512
mekus
Posté le 02-07-2014 à 19:20:42  profilanswer
 

Parce que mo i je compte cree les tables, et apres faire un impdp.
sauf que je sais les options à ajouter à mon impdp pour pourvoir inserer les donnees dans les tables.
 
J'ai besoin d'une solution
 
merci

n°2232531
jlighty
Posté le 02-07-2014 à 21:37:27  profilanswer
 

Comme indiqué précédemment, soit tu relances l'export sans compression ou tu importes le dump sur une base Oracle Enterprise Edition.

n°2232962
mekus
Posté le 08-07-2014 à 15:11:21  profilanswer
 

j'ai télécharger Oracle Enterprise Édition 11gr2.
Alors, sachant que j'ai déjà installé Oracle Express Édition 11gr2 dans ma machine,
es_ce que je peux installer Oracle Enterprise Édition dans la machine que Oracle Express Édition(les 2 dans la même machine Windows)?
 Où dois je désinstaller Oracle Express Édition avant d'installer Oracle Enterprise Édition(1 dans une machine)?

n°2232968
mekus
Posté le 08-07-2014 à 15:58:00  profilanswer
 

En faite, j'ai des bases dans Oracle express Édition, je ne veux pas les perdre ou me retrouver entrain de les recréer à nouveau dans Oracle Entreprise Édition s'il faut que je désinstalle d'abord Oracle Express Édition car cela peux me faire perdre le temps;

n°2233002
mekus
Posté le 08-07-2014 à 19:22:26  profilanswer
 

En passant j'ai téléchargé Win32_11gR2_client.zip et Win32_11gR2_database.zip.
Lequel des deux installer pour résoudre mon problème???
 
 
Merci

n°2233041
xuan-khanh
...
Posté le 09-07-2014 à 00:46:22  profilanswer
 

Allez je me lance .....
 
 
RECONVERTIS TOI :o

mood
Publicité
Posté le 09-07-2014 à 00:46:22  profilanswer
 

n°2233252
mekus
Posté le 12-07-2014 à 10:07:30  profilanswer
 

j'ai installé oracle 11gr2 enterprise edition.
 
ci-dessous vous avez les réponses des interfaces lors de mon import.
 
interface 1: ceration de tablespace et repertoire
 
 
 
SQL*Plus: Release 11.2.0.1.0 Production on Ven. Juil. 11 16:55:52 2014
 
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
 
Entrez le nom utilisateur : jores_meka@sapelli
Entrez le mot de passe :
 
ConnectÚ Ó :
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
 
SQL> select tablespace_name from user_tablespaces;
 
TABLESPACE_NAME
------------------------------
SYSTEM
SYSAUX
TEMP
USERS
CNPS_ENERGIZER_TB
CNPS_PROXAPP_TB
CNPS_OLDSYSTEM_TB
PHOTOS
SHCODEXIA
SHWKF
CNPS_UNDO_TB
 
11 ligne(s) sÚlectionnÚe(s).
 
SQL>
SQL> create tablespace jores_tb datafile'E:Oracleoradatastagiairesjores_dbf'size
 1024M autoextend on next 100M maxsize 2048M;
create tablespace jores_tb datafile'E:Oracleoradatastagiairesjores_dbf'size 1024
M autoextend on next 100M maxsize 2048M
*
ERREUR Ó la ligne 1 :
ORA-01031: privilÞges insuffisants
 
 
SQL>
SQL> alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_
dbf' size 1024M autoextend on next 100M maxsize 2048M;
alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_dbf'
size 1024M autoextend on next 100M maxsize 2048M
*
ERREUR Ó la ligne 1 :
ORA-01031: privilÞges insuffisants
 
 
SQL>
SQL> alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_
dbf' size 1024M autoextend on next 100M maxsize 2048M;
alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_dbf'
size 1024M autoextend on next 100M maxsize 2048M
*
ERREUR Ó la ligne 1 :
ORA-01031: privilÞges insuffisants
 
 
SQL> select tablespace_name from user_tablespaces;
 
TABLESPACE_NAME
------------------------------
SYSTEM
SYSAUX
TEMP
USERS
CNPS_ENERGIZER_TB
CNPS_PROXAPP_TB
CNPS_OLDSYSTEM_TB
PHOTOS
SHCODEXIA
SHWKF
CNPS_UNDO_TB
 
11 ligne(s) sÚlectionnÚe(s).
 
SQL> conn system
Entrez le mot de passe :
ConnectÚ.
SQL>
SQL> create tablespace jores_tb datafile'E:Oracleoradatastagiairesjores_dbf'size
 1024M autoextend on next 100M maxsize 2048M;
 
Tablespace crÚÚ.
 
SQL>
SQL> alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_
dbf' size 1024M autoextend on next 100M maxsize 2048M;
 
Tablespace modifiÚ.
 
SQL>
SQL> alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_
dbf' size 1024M autoextend on next 100M maxsize 2048M;
alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_dbf'
size 1024M autoextend on next 100M maxsize 2048M
*
ERREUR Ó la ligne 1 :
ORA-01537: impossible d'ajouter le fichier
'E:/Oracle/oradata/stagiaires/jores_dbf' - il fait dÚjÓ partie de la base de
donnÚes
 
 
SQL> select tablespace_name from user_tablespaces;
 
TABLESPACE_NAME
------------------------------
SYSTEM
SYSAUX
UNDOTBS1
TEMP
USERS
EXAMPLE
JORES_TB
 
7 ligne(s) sÚlectionnÚe(s).
 
SQL>
SQL> --drop user joresenergizer ;
SQL>
SQL> create directory jores_tb as 'C:/Users/stagiaires/Documents/datadump/jores_
tb';
 
RÚpertoire crÚÚ.
 
SQL>
SQL> create user joresenergizer identified by cnps default tablespace jores_tb t
emporary tablespace TEMP;
 
Utilisateur crÚÚ.
 
SQL>
SQL> grant connect, resource to joresenergizer;
 
Autorisation de privilÞges (GRANT) acceptÚe.
 
SQL>
SQL> grant imp_full_database, exp_full_database to joresenergizer;
 
Autorisation de privilÞges (GRANT) acceptÚe.
 
SQL>
SQL> grant read, write on directory jores_tb to joresenergizer;
 
Autorisation de privilÞges (GRANT) acceptÚe.
 
SQL>
SQL>
 
 
interface 2: script import  
 
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
 
C:\Users\stagiaires>set oracle_sid=stagiaires
 
C:\Users\stagiaires> impdp system/cNPs2014 DIRECTORY=jores_tb  DUMPFILE=jores11.dmp SCHEMAS=joresenergizer REMAP_TABLESPACE= ENERGIZER_TB:jores_t
b, USERS:jores_tb, SYSTEM:jores_tb, SYSAUX:jores_tb
 
Import: Release 11.2.0.1.0 - Production on Ven. Juil. 11 17:35:20 2014
 
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
 
ConnectÚ Ó : Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: opÚration non valide
ORA-39070: Ouverture du fichier journal impossible
ORA-29283: opÚration non valide sur le fichier
ORA-06512: Ó "SYS.UTL_FILE", ligne 536
ORA-29283: opÚration non valide sur le fichier
 
 
 
C:\Users\stagiaires>impdp joresenergizer/ directory=jores_tb dumpfile=jores11.dmp LOGFILE=jores11.log remap_schema=energizer:joresenergizer remap
_tablespace=CNPS_ENERGIZER_TB:JORES_TB, SYSTEM:JORES_TB, SYSAUX:JORES_TB, UNDOTBS1:JORES_TB, USERS:JORES_TB, TEMP:JORES_TB
 
Import: Release 11.2.0.1.0 - Production on Ven. Juil. 11 17:38:51 2014
 
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
 
UDI-01005: l'opÚration a gÚnÚrÚ l'erreur ORACLE 1005
ORA-01005: aucun mot de passe indiquÚ ; connexion refusÚe
 
Nom utilisateur : joresenergizer
Mot de passe :
 
ConnectÚ Ó : Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: opÚration non valide
ORA-39070: Ouverture du fichier journal impossible
ORA-29283: opÚration non valide sur le fichier
ORA-06512: Ó "SYS.UTL_FILE", ligne 536
ORA-29283: opÚration non valide sur le fichier
 
 
 
C:\Users\stagiaires>
 
 
je suis toujours coinçé.
 
please help!!!!!

n°2233253
jlighty
Posté le 12-07-2014 à 11:12:49  profilanswer
 

Est ce que le directory jores_tb existe sur ton instance stagiaires  ?
Est ce que les tablespaces ont bien été créés sur ton instance stagiaire ?
NB: dans ta commande remap, je ne vois pas l'intérêt de remapper system, sysaux. De plus Undotbs est un tablespace de type undo...
NB2 : si tu es stagiaire, demande de l'aide à ton tuteur ou à un DBA de ton entreprise.


Message édité par jlighty le 12-07-2014 à 11:17:26
n°2233332
mekus
Posté le 14-07-2014 à 19:04:40  profilanswer
 

voici les commandes que j'ai fait pour creer mon tablespace = jores_tb  
 
create tablespace jores_tb datafile'E:/Oracle/oradata/stagiaires/jores_dbf'size 1024M autoextend on next 100M maxsize 2048M;
 
alter tablespace jores_tb add datafile 'E:/Oracutoextend on next 100M maxsize 2048M;
 
alter tablespace jores_tb add datafile 'E:/Oracle/oradata/stagiaires/jores_dbf' size 1024M autoextend on next 100M maxsize 2048M;
 
--drop user joresenergizer ;
 
create directory jores_tb as 'E:\Oracle\product\11.2.0\jores_tb';
 
create user joresenergizer identified by cnps default tablespace jores_tb temporary tablespace TEMP;
 
grant connect, resource to joresenergizer;
 
grant imp_full_database, exp_full_database to joresenergizer;
 
grant read, write on directory jores_tb to joresenergizer;
 
 
voilà le message d'erreur de mon interface.
 
 
 
C:\Users\stagiaires>impdp system/cNPs2014 DIRECTORY=jores_tb  DUMPFILE=jores11.dmp remap_SCHEMA=energizer:joresenergizer REMAP_TABLESPACE= CNPS_E
NERGIZER_TB:jores_tb
 
Import: Release 11.2.0.1.0 - Production on Lun. Juil. 14 16:46:31 2014
 
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
 
ConnectÚ Ó : Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Table ma¯tre "SYSTEM"."SYS_IMPORT_FULL_01" chargÚe/dÚchargÚe avec succÞs
DÚmarrage de "SYSTEM"."SYS_IMPORT_FULL_01" : system/******** DIRECTORY=jores_tb DUMPFILE=jores11.dmp remap_SCHEMA=energizer:joresenergizer REMAP_
TABLESPACE= CNPS_ENERGIZER_TB:jores_tb
Traitement du type d'objet TABLE_EXPORT/TABLE/TABLE
Traitement du type d'objet TABLE_EXPORT/TABLE/TABLE_DATA
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
ORA-39171: Le travail se heurte Ó une attente avec possibilitÚ de reprise.
ORA-01653: impossible d'Útendre la table JORESENERGIZER.JASSURE_DELETE2 de 8192 dans le tablespace JORES_TB
 
svp aidez moi!!!
le DBA de l'entreprise est en congé.
Donc je dois me battre seul pour faire cela!!!
merci

n°2233333
jlighty
Posté le 14-07-2014 à 20:21:37  profilanswer
 

Pourtant le message est clair !
Indice : regarde le datafile oradata/stagiaires/jores_dbf


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  SQL/NoSQL

  oracle [11gr2] importer un dumpfile et logfile avec un datapump import

 

Sujets relatifs
Phpmyadmin importer imageOracle - Requête SQL outer join
automatiser la synchronisation de 2 base de donnée mysql et oracleImport... où passent mes variables ?
Import .csv choix jeu de caractèresImporter des données d'une table importée à une autre table
Comment importer ColorDialog (windows.forms) dans WPF en VB.NET ?[LINUX/SGBD] Problème connexion base oracle avec un user linux dba
[oracle]Oracle Express Edition en français?.NET & Oracle - Compte expiré
Plus de sujets relatifs à : oracle [11gr2] importer un dumpfile et logfile avec un datapump import


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR