Alterando o CHARACTER do Oracle

Nesse post vamos altera o CHARACTER  do banco de dados Oracle.   conn / as sysdba sho parameter CLUSTER_DATABASE sho parameter PARALLEL_SERVER 2. Execute the following commands in sqlplus connected as “/ AS SYSDBA”: conn / as sysdba SHUTDOWN IMMEDIATE; STARTUP MOUNT; ALTER SYSTEM ENABLE RESTRICTED SESSION; ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; ALTER SYSTEM SET AQ_TM_PROCESSES=0; ALTER DATABASE OPEN; ALTER DATABASE CHARACTER SET INTERNAL_USE WE8ISO8859P1; SHUTDOWN IMMEDIATE;     Cuidado..valide bem antes antes de fazer isso..

Read more

Erro ORA-25226 após import com impdp

As vezes realizamos o import de um sistema que possui queue, normalmente após o import ocorre o seguinte erro: ORA-25226 dequeue failed queue not enabled for dequeue, para solucionar esse erro é bem simples, apos o import habilite novamente as queues. segue o comando abaixo: select para verificar a QUEUE SQL> select OWNER,NAME,QUEUE_TABLE,ENQUEUE_ENABLED,DEQUEUE_ENABLED from dba_queues where NAME=’EVENT_QUEUE’; OWNER NAME —————————— —————————— QUEUE_TABLE ENQUEUE DEQUEUE —————————— ——- ——- STRMADMIN EVENT_QUEUE EVENT_QUEUE_TAB NO NO execute o comando com sys[…]

Read more

ORA-31623: a job is not attached to this session via the specified handle

O erro ORA-31623 ocorre algumas vezes na hora de executar um expdp, isso ocorre devido o parametro streams_pool_size está com o valor 0 Vamos corrigir o problema. [oraclezm@zmdb1~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Sun May 12 17:11:42 2019 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application[…]

Read more

RMAN-20020: database incarnation not set

Quando tentamos fazer a ressincronização do catálogo com o banco de dados de destino, se recebermos a menssagem RMAN-20020: database incarnation not set, então temos que redefinir o banco de dados para definir a encarnação para o atual.   Step 1 connect to  rman and connect to the target database with recovery catalog rman Recovery Manager: Release 11.2.0.4.0 – Production  Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.   connect target /[…]

Read more

AdminServer em Cluster?

Todos Sabemos que não é possível subir o Admin Server em Cluster, mas se ele for configurado corretamente, poderá ser iniciado iniciado em qualquer nó. O erro que mais ocorre quando tentamos subir o Admin Server em outro Nó do Cluster é: 1. weblogic.security.SecurityInitializationException: Authentication for user weblogic denied. 2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService 3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found 4. java.lang.IllegalStateException: Unable[…]

Read more

PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old

Quandos possuímos bancos na versão 12c e tentamos catalogar o banco em uma versão 11g , ocorrera o seguinte erro: PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old Esse erro ocorre devido ao catalogo do rman esta desatualizado. a resolução desse problema é bem simples [oracle@zmsolution1~]$ rman target / catalog rman/zuim@rman Recovery Manager: Release 12.2.0.1.0 – Production on Thu Apr 25 16:50:34 2019 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights[…]

Read more

Error occurred while waiting for ICM to go down

Em alguns momentos quando realizamos o procedimento de Cutover no EBS 12.2, podemos nos deparar com algum tipo de problema, um deles  é o erro abaixo: Waiting for ICM to go down… [UNEXPECTED]Error while trying to find the status of ICM [UNEXPECTED]Error occurred while waiting for ICM to go down [UNEXPECTED]Cutover phase completed with errors/warnings. Please check logfiles [STATEMENT] Please run adopscanlog utility, using the command Esse erro pode ocorrer se o gerenciador de concurrent estiver[…]

Read more

Instalando o Oracle RAC 12c no OL6 Usando VirtualBox 5

Neste artigo vamos instalar o Oracle RAC 12c  (12.1) no Oracle Linux 6 Usando VirtualBox 5, preferi iniciar pelo Oracle 12.1, para podermos realizar a migração para o Oracle 12.2 em um novo artigo. Para começar vamos baixar os instaladores do Oracle. Oracle Database 12c Release 1 (12.1.0.2.0) for Linux x86-64 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html Oracle Database 12c Release 1 Grid Infrastructure (12.1.0.2.0) for Linux x86-64 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/database12c-linux-download-2240591.html Criando a Máquina Virtual Antes de iniciar, crie uma pasta  com o[…]

Read more

Can’t locate Env.pm in @INC

O erro abaixo ocorreu quando eu tentava executar o rootcrs.pl -unlock no banco  oracle 12.2 com OL7 [root@zmsolution1install]# ./rootcrs.pl -unlock Can’t locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . . ./../../perl/lib) at crsinstall.pm line 286. BEGIN failed–compilation aborted at crsinstall.pm line 286. Compilation failed in require at ./rootcrs.pl line 165. BEGIN failed–compilation aborted at ./rootcrs.pl line 165. Para solucionar o problema executei uma busca com o comando locate para saber onde tinha o arquivo e após copiei para o[…]

Read more