Erros: IMP-00032, IMP-00008, IMP-00058, IMP-00028, IMP-00017

Backup, Recover, Import, Export, Datapump, etc
Responder
ferboteon
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 4
Registrado em: Ter, 30 Dez 2008 1:06 pm
Localização: Bauru - SP

Informações do Ambiente:
* Versão do Oracle: Oracle9i
* Sistema Operacional: Windows 2003 Server

Durante a importação de um banco de dados ocorreram alguns erros alguém poderia me ajudar?

ERRO 1:

Selecionar tudo

IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file: 
  "T301_CODCFOP_1_O260" NUMBER(6, 0), "T301_CODCFOP_1_O261" NUMBER(6, 0), "T301_CODCFOP_1_O262" NUMBER(6, 0), "T301_CODCFOP_1_O263" NUMBER(6, 0), "T301_CODCFOP_1_O264" NUMBER(6, 0), "T301_CODCFOP_1_O265" NUMBER(6, 0), "T301_CODCFOP_1_O266" NUMBER(6, 0), "...
ERRO 2:

Selecionar tudo

. . importing table                      "SINCLOG"
IMP-00058: ORACLE error 1653 encountered
ORA-01653: unable to extend table SINC.SINCLOG by 1024 in tablespace SINC_DAT
IMP-00028: partial import of previous table rolled back: 1796277 rows rolled back
ERRO 3:

Selecionar tudo

IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "SINTAB15" ("NTAB_CODSUSP_15" NUMBER(2, 0) NOT NULL ENABLE, "N"
 "TAB_NOMSUSP_15" VARCHAR2(30))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 25"
 "5 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "SINC_DAT"
 "" LOGGING NOCOMPRESS"
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace SINC_DAT
Desde já agradeço
gilbertoca
Rank: DBA Sênior
Rank: DBA Sênior
Mensagens: 372
Registrado em: Ter, 24 Jan 2006 3:33 pm
Localização: Palmas - TO
Contato:

ferboteon escreveu:Informações do Ambiente:
* Versão do Oracle: Oracle9i
* Sistema Operacional: Windows 2003 Server

Durante a importação de um banco de dados ocorreram alguns erros alguém poderia me ajudar?
ferboteon escreveu: ERRO 1:
Você só mostrou os erros, mostre-nos como você chamou o comando imp.
ferboteon escreveu: ERRO 2:
Aumente a capacidade do parametro buffer. Pode ser tb dump corrupto.

É um dump full de todo o banco?
Ou você está transportando somente um tablespace?
Exp e Imp em mesmo release, encode e OS?

Ajude-nos a lhe ajudar!



Gilberto
ferboteon
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 4
Registrado em: Ter, 30 Dez 2008 1:06 pm
Localização: Bauru - SP

Este script era executado com sucesso uma vez por semana, semana passada parou.

Segue o script

Selecionar tudo

sqlplus system/farm@fubt @C:\Backup\Scripts\drop_user_fubt.sql
imp system/farm@fubt file=C:\Backup\DMP\exporta_fubp.dmp log=C:\Backup\logs\importa_fubt.log full=y
sqlplus system/farm@fubt @C:\Backup\Scripts\acerta_users_fubt.sql
drop_user_fubt.sql:

Selecionar tudo

DROP USER SINC CASCADE;
CREATE USER "SINC"  PROFILE "DEFAULT" IDENTIFIED BY "sinc" DEFAULT TABLESPACE "SINC_DAT" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
GRANT "CONNECT" TO "SINC";
GRANT "DBA" TO "SINC" WITH ADMIN OPTION;
ALTER USER "SINC" DEFAULT ROLE  ALL;
exit
acerta_users_fubt.sql:

Selecionar tudo

delete from sinc.sinc04 where sinc_coduser_4 <> 'ADM';
update sinc.sinc04 set sinc_senhcrp_4 = null where sinc_coduser_4 = 'ADM';
exit
ferboteon
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 4
Registrado em: Ter, 30 Dez 2008 1:06 pm
Localização: Bauru - SP

Aumentei a capacidade do buffer, mas os erros abaixo continuam:

É um dump full de todo o banco.

Selecionar tudo

IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file

Selecionar tudo

IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "SINTAB29" ("NTAB_TEMPERA_29" NUMBER(15, 6) NOT NULL ENABLE, ""
 "NTAB_MASSAES_29" NUMBER(15, 6) NOT NULL ENABLE, "NTAB_MASSA20_29" NUMBER(15"
 ", 6), "NTAB_FATREDU_29" NUMBER(15, 6), "NTAB_GRAINPM_29" NUMBER(15, 6))  PC"
 "TFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS"
 " 1 FREELIST GROUPS 1) TABLESPACE "SINC_DAT" LOGGING NOCOMPRESS"
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace SINC_DAT
gilbertoca
Rank: DBA Sênior
Rank: DBA Sênior
Mensagens: 372
Registrado em: Ter, 24 Jan 2006 3:33 pm
Localização: Palmas - TO
Contato:

Selecionar tudo

ORA-01658:	unable to create INITIAL extent for segment in tablespace string
Cause:	Failed to find sufficient contiguous space to allocate INITIAL extent for segment being created.
Action:	Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller value for INITIAL 
Pode ser:

-falta de espaço no tablespace
-autoextend desativado
-disco cheio

Você pode tomar as seguintes medidadas

Gilberto
ferboteon
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 4
Registrado em: Ter, 30 Dez 2008 1:06 pm
Localização: Bauru - SP

Foi criado um datafile novo com extensão automática e mesmo assim o problema persisite.

Selecionar tudo

Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing SYSTEM's objects into SYSTEM
. importing SINC's objects into SINC
. . importing table                      "ADCREQI"          0 rows imported
. . importing table                      "ADCRNEC"      50058 rows imported
. . importing table                      "ADCRNEI"     622041 rows imported
. . importing table                      "ADCRNEP"      48605 rows imported
. . importing table                      "ADCRNES"          0 rows imported
. . importing table                       "ADCSOL"       1816 rows imported
. . importing table                       "ESPUSO"         59 rows imported
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file: 
  "T301_CODCFOP_1_O260" NUMBER(6, 0), "T301_CODCFOP_1_O261" NUMBER(6, 0), "T301_CODCFOP_1_O262" NUMBER(6, 0), "T301_CODCFOP_1_O263" NUMBER(6, 0), "T301_CODCFOP_1_O264" NUMBER(6, 0), "T301_CODCFOP_1_O265" NUMBER(6, 0), "T301_CODCFOP_1_O266" NUMBER(6, 0), "...
. . importing table                       "ESTANT"        386 rows imported
. . importing table                      "RECSCBI"      22899 rows imported
. . importing table                       "RECSER"       2815 rows imported
. . importing table                       "RECTRF"          0 rows imported
. . importing table                       "RECTXT"          0 rows imported
IMP-00032: SQL statement exceeded buffer length
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file: 
  :892, :893, :894, :895, :896, :897, :898, :899, :900, :901, :902, :903, :904, :905, :906, :907, :908, :909, :910, :911, :912, :913, :914, :915, :916, :917, :918, :919, :920, :921, :922, :923, :924, :925, :926, :927, :928, :929, :930, :931, :932, :933, :...
IMP-00008: unrecognized statement in the export file: 
  µ
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
  
IMP-00008: unrecognized statement in the export file: 
IMP-00008: unrecognized statement in the export file: 
  
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file: 
  w
. . importing table                       "SCBLOG"      13317 rows imported
. . importing table                       "SCBLOP"      97711 rows imported
. . importing table                       "SCBMOV"      32194 rows imported
. . importing table                       "SCBPRE"      82017 rows imported
. . importing table                       "SCBSAL"          0 rows imported
. . importing table                      "SINCLOG"
IMP-00058: ORACLE error 1653 encountered
ORA-01653: unable to extend table SINC.SINCLOG by 1024 in tablespace SINC_DAT
IMP-00028: partial import of previous table rolled back: 1735745 rows rolled back
. . importing table                       "SINEML"      17069 rows imported
. . importing table                     "SINTAB26"          0 rows imported
. . importing table                     "SINTAB27"          0 rows imported
. . importing table                     "SINTAB28"          0 rows imported
IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "SINTAB29" ("NTAB_TEMPERA_29" NUMBER(15, 6) NOT NULL ENABLE, ""
 "NTAB_MASSAES_29" NUMBER(15, 6) NOT NULL ENABLE, "NTAB_MASSA20_29" NUMBER(15"
 ", 6), "NTAB_FATREDU_29" NUMBER(15, 6), "NTAB_GRAINPM_29" NUMBER(15, 6))  PC"
 "TFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS"
 " 1 FREELIST GROUPS 1) TABLESPACE "SINC_DAT" LOGGING NOCOMPRESS"
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace SINC_DAT
IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "SINTAB30" ("NTAB_UNIMEDI_30" VARCHAR2(2) NOT NULL ENABLE, "NT"
 "AB_DESCUNI_30" VARCHAR2(15), "NTAB_COMPCOM_30" VARCHAR2(18), "NTAB_NAOFRAC_"
 "30" NUMBER(1, 0))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(IN"
 "ITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "SINC_DAT" LOGGING NO"
 "COMPRESS"
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace SINC_DAT
IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "SINTAB31" ("NTAB_EMPRESA_31" NUMBER(3, 0) NOT NULL ENABLE, "N"
 "TAB_ALIQUOT_31" NUMBER(5, 2), "NTAB_TIPODES_31" NUMBER(3, 0), "NTAB_CODDARF"
 "_31" NUMBER(4, 0), "NTAB_TIPOVEN_31" NUMBER(1, 0), "NTAB_DIASVEN_31" NUMBER"
 "(2, 0), "NTAB_DIASMES_31" NUMBER(2, 0), "NTAB_CONTDES_31" NUMBER(*,0), "NTA"
 "B_TIPODOC_31" NUMBER(3, 0))  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 "
 "STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "SINC_DAT" "
 "LOGGING NOCOMPRESS"
. . importing table                           "V2"         10 rows imported
Import terminated successfully with warnings.
gilbertoca
Rank: DBA Sênior
Rank: DBA Sênior
Mensagens: 372
Registrado em: Ter, 24 Jan 2006 3:33 pm
Localização: Palmas - TO
Contato:

ferboteon,
existe certas coisas que só dba pode lhe dizer, desde que o mesmo conheça o banco, o ambiente, o hardware, os usuários, etc. do local de trabalho.

Eu não sou responsável por essa banco, estou aqui apenas para tentar
ajudar alguns colegas com minha experiência.

Mas a forma que você está trabalhando não lhe levará a nada. Essa de tentar e ver se passa o erro, não é admissível em um ambiente de produção.

Por isso sugiro que você se aprofunde um pouco mais nos conceitos e nos utilitários utilizados para transferir dados de um banco para outro, ou para mudar/transportar dados de um banco para outro, um tablespace para outro no mesmo banco e assim vai, existe inumeras situações. Você sequer nos informou da sua!

Before Using Import

Gilberto
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 7 visitantes