Close Menu
  • Home
  • Databases
    • Oracle
      • ASM
      • Data Guard
      • RAC
  • Performance
  • Tools
  • Troubleshooting
  • Python
  • Shell Script
Search

Oracle RAC 12.2 no VMware Workstation — Post 3: Instalação do Grid Infrastructure

2026-04-05 Oracle By Henrique

Oracle RAC 12.2 no VMware Workstation — Post 1: Configuração do VMware e Openfiler

2026-04-05 Oracle By Henrique

Oracle RAC 12.2 no VMware Workstation – Post 2: Configuração do Oracle Linux e iSCSI

2026-04-05 Oracle By Henrique
YouTube LinkedIn RSS
  • Sobre
  • Contato
  • Legal
    • Aviso Legal
    • Política de Cookies
    • Política de Privacidade
    • Termos de Uso
  • RSS
  • Português
    • Inglês
Execute StepExecute Step
YouTube LinkedIn RSS
  • Home
  • Databases
    • Oracle
      • ASM
      • Data Guard
      • RAC
  • Performance
  • Tools
  • Troubleshooting
  • Python
  • Shell Script
Execute StepExecute Step
Home » OPATCHAUTO-72126 — Diretório de Destino Já Existe no Out-of-Place Patching
Oracle Oracle RAC RAC

OPATCHAUTO-72126 — Diretório de Destino Já Existe no Out-of-Place Patching

HenriqueBy Henrique2026-03-26Updated:2026-03-282 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email Telegram WhatsApp

This post is also available in: English (Inglês)

Ao executar o opatchauto com a opção out-of-place, o processo falha imediatamente:

OPATCHAUTO-72126: Cannot execute out of place patching.
OPATCHAUTO-72126: Clone home path specified in mapping file already exists on host.
OPATCHAUTO-72126: Please correct clone path mapping file and re-run out of place patching operation.

opatchauto failed with error code 42

O erro indica que o diretório de destino definido no clone.properties já existe no servidor.


Por Que Acontece

No out-of-place patching, o opatchauto cria uma nova Oracle Home clonando a atual e aplicando o patch nela. O caminho da nova home é definido no arquivo clone.properties:

/u01/app/19.21.0.0/grid=/u01/app/19.23.0.0/grid
/u01/app/oracle/product/19.0.0.0/dbhome_1=/u01/app/oracle/product/19.23.0.0/dbhome_1

Se o diretório do lado direito (destino) já existe — seja de uma tentativa anterior que falhou, de um teste antigo ou de uma home que foi removida do inventário mas não do filesystem — o opatchauto recusa executar para evitar sobrescrever dados.


Solução

1. Verificar se a home de destino está no inventário

grep "19.23.0.0" /u01/app/oraInventory/ContentsXML/inventory.xml
  • Se aparecer sem REMOVED="T" → a home está ativa. Não apague. Verifique se escolheu o caminho correto no clone.properties.
  • Se aparecer com REMOVED="T" → já foi desinstalada do inventário, seguro remover o diretório.
  • Se não aparecer → é resíduo de filesystem, seguro remover.

2. Remover o diretório de destino

ls -la /u01/app/oracle/product/19.23.0.0/dbhome_1/

rm -rf /u01/app/oracle/product/19.23.0.0/dbhome_1

⚠ Atenção: Confirme que nenhum banco de dados está rodando a partir dessa home antes de apagar. Verifique com cat /etc/oratab | grep 19.23 e ps -ef | grep pmon.

3. Re-executar o opatchauto

sudo $ORACLE_HOME/OPatch/opatchauto apply ${PATCH_TOP} -outofplace -silent ./clone.properties

Checklist Rápido

ls -la /u01/app/oracle/product/19.23.0.0/dbhome_1/

grep "19.23.0.0" /u01/app/oraInventory/ContentsXML/inventory.xml

cat /etc/oratab | grep 19.23
ps -ef | grep pmon

rm -rf /u01/app/oracle/product/19.23.0.0/dbhome_1

sudo $ORACLE_HOME/OPatch/opatchauto apply ${PATCH_TOP} -outofplace -silent ./clone.properties

grid-infrastructure grid-infrastructure oracle oracle patching patching troubleshooting troubleshooting
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
Previous ArticlePRCA-1057 — Password File do ASM Não Encontrado pelo CRS
Next Article OPatch Error 73 – LsInventorySession failed: RawInventory gets null OracleHomeInfo

Related Posts

Oracle

ORA-01031 — Privilégio Insuficiente ao Criar Coluna IDENTITY

2026-04-03
Read More
Oracle

ORA-12547 — TNS:lost contact ao conectar com sqlplus

2026-04-03
Read More
Oracle

Resetando Sequences no Oracle: RESTART e o Método Clássico

2026-03-31
Read More
Add A Comment
Leave A Reply Cancel Reply

Demo
Follow Me
  • Email
  • GitHub
  • LinkedIn
  • RSS
  • YouTube

INS-06006 – Passwordless SSH Connectivity Not Set Up

2026-02-2614 Views

Limpeza da biblioteca de software OEM: Purge seguro e controle de crescimento de swlib

2026-02-215 Views

ORA-29548 – Como corrigir o erro “Java System Class Reported” no Oracle Database

2026-03-053 Views
Demo
Tags
alter-sequence asm chrony compatible-asm cv-assume-distid database-vault datapatch disk-group dvsys enterprise manager grid-infrastructure how-to identity-column ins-08101 inventory java lab ntp oem oem-13c opatchauto opatchauto-72083 ora-01400 ora-15221 ora-29548 oracle oracle-rac oracle-sequence patch de dados patching prvg-01017 rhel-8 runcluvfy software-library storage troubleshooting
Execute Step
YouTube LinkedIn RSS
  • Home
  • Sobre
  • Contato
  • RSS
  • Português
    • English (Inglês)
© 2026 ExecuteStep. Designed by ThemeSphere.

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.