So I was upgrading 3 databases from 10.2.0.5 to 18.104.22.168. Two of them went just fine. Long story short for the last one, the upgrade was interrupted near the end (let me know if more details are necessary). Tried a couple of things, then just decided to restore because I have never manually finished upgrading a database before. It would not have been time efficient.
Restored, ran through the steps again to prepare for an upgrade, run the upgrade assistant script for the 3rd database. The first screen correctly states that the Oracle Home = 10.2.0.5, but after hitting next was told that the database needed to be mounted before the upgrade began. Database was in startup mode. So I clicked next again to see if I would get a different message. The next message I got read,
"The Upgrade Assistant filed in bringing up the database [name]. Oracle >Home /oracle/product/22.214.171.124/db_1 obtaining from the >file /var/opt/oracle/oratab was used to connect to the database. Either the >database is not running from Oracle Home /oracle/product/126.96.36.199/db_1 or the >correct Initialization Parameter file (pfile) was not found."
It then prompted me to give the path for the init file. But before that, I checked the oratab; it correctly stated 10.2.0.5 for that database. Went ahead with the giving the path to the init file, returned the same error without the option of choosing the init file. Tried bringing over a good copy of the pfile, changed the parameters I needed to change, deleted the spfile and created a new one from the pfile, then tried again with the same results.
So I am guessing that someone along the line during that interrupted upgrade, some reference that I don't know about was changed that is telling the Upgrade Assistant that the original database Oracle Home is in 188.8.131.52 instead of what the oratab and listener actually say, 10.2.0.5. Any insight to what I need to change here would be greatly appreciated as I do not want to do another restore without a plan of what I would do differently than the last time I did so.