tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Oracle Migration produces ORA-01219 error
@ 2002-04-29 18:03 Jeffrey_Hummel
  0 siblings, 0 replies; only message in thread
From: Jeffrey_Hummel @ 2002-04-29 18:03 UTC (permalink / raw)
  To: tru64-unix-managers

Original Question:
Has anybody ever resolved an Oracle Migration Assistant error ORA-01219?


Answer:
If you are in the process of upgrading to Oracle 8.1.7.x, make sure to
rename the bin and lib directories for the previous version before starting
the migration assistant or 8.1.7 for the first time.

In my case a well-intentioned operator (in another room) kicked off a
backup job that started the database (v8.0.6 - the program logs what is
backed up and the status) after the database had already been started by
the migration assistant.  This left two instances of Oracle executables
accessing the same datafiles and controlfiles simultaneously.  This lead
first to an Ora-600 by the 8.0.6 archive process and later updates to the
header structures of the datafiles by 8.0.6 forced 8.1.7 to report errors
ora-904 and ora-604.  The only solution is to restore from backup and try
again.

Two precautions:
1. empty the cron schedule for all accounts that call Oracle.  Do not rely
upon Cron's allow and deny security.  During one test we found that
although the security was correctly configured, the cron jobs continued to
be spawned.
2. rename the lib and bin directories or the Oracle home directory to
prevent well-intentioned accidents or old forgotten scripts from resulting
in two different versions of Oracle executables being loaded.


Many thanks go to the guidance I received from Raul Sossa, Andy Cohen, and
Martin Vasas.

Jeff


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-29 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29 18:03 Summary: Oracle Migration produces ORA-01219 error Jeffrey_Hummel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox