DBCA não encontra o banco de dados
by Gilberto C. Andrade on 07 abril 2010
Após fazer alguns exercícios de clonagem de banco(através do dbconsole, dbca e manualmente), procurei fazer uma limpeza dos mesmos. Para minha surpresa, o DBCA não lista algumas instâncias clonadas manualmente para que eu possa removê-las.
Isso ocorre porque o DBCA procura por instâncias através do arquivo oratab, encontrado no diretório /etc/oratab. Então, para que o mesmo identifique as que eu clonei, basta acrescentar neste arquivo as que estão faltando:
oracle@oracleibm:~> vi /etc/oratab # A colon, ':', is used as the field terminator. A new line terminates # the entry. Lines beginning with a pound sign, '#', are comments. # # Entries are of the form: # $ORACLE_SID:$ORACLE_HOME:: # # The first and second fields are the system identifier and home # directory of the database respectively. The third filed indicates # to the dbstart utility that the database should , "Y", or should not, # "N", be brought up at system boot time. # # Multiple entries with the same $ORACLE_SID are not allowed. # # producao:/opt/oracle/db/10.2.0.1.0/server:Y alfa:/opt/oracle/db/10.2.0.1.0/server:Y |